mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 03:49:32 +02:00
Fix multiarch DISTRO_FEATURE
Make get_gcc_multiarch_setting more elegant. Use a dictionnary to store the config options and replace bb.data.getVar with d.getVar. Remove i686 from the architecture list because it doesn't seem to be a valid TARGET_ARCH any more in OE. Configure gdb (gdb and gdb-cross) with --enable-64-bit-bfd if multiarch DISTRO_FEATURE is present (From OE-Core rev: 0b42b2fc118bef8ce0d1473b146673182f5d1f78) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f340e3937f
commit
a4b7188efd
@@ -41,6 +41,7 @@ EXPAT = "--without-expat"
|
||||
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
|
||||
--with-curses --disable-multilib --with-system-readline --disable-sim \
|
||||
${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \
|
||||
${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
|
||||
"
|
||||
|
||||
GDBPROPREFIX = "--program-prefix=''"
|
||||
|
||||
Reference in New Issue
Block a user