summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-common.inc
diff options
context:
space:
mode:
authorJulian Pidancet <julian.pidancet@gmail.com>2011-12-01 00:01:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-30 23:36:08 +0000
commita4b7188efdbae86087d907f0503d8f2a25247594 (patch)
tree685f6f7dbf3267201327137183b9f60a30b7b415 /meta/recipes-devtools/gdb/gdb-common.inc
parentf340e3937fd5ac3963de6c6b29d56dd92d962864 (diff)
downloadpoky-a4b7188efdbae86087d907f0503d8f2a25247594.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-common.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index e01b57cc87..d728139f62 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -41,6 +41,7 @@ EXPAT = "--without-expat"
41EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ 41EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
42 --with-curses --disable-multilib --with-system-readline --disable-sim \ 42 --with-curses --disable-multilib --with-system-readline --disable-sim \
43 ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \ 43 ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \
44 ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
44 " 45 "
45 46
46GDBPROPREFIX = "--program-prefix=''" 47GDBPROPREFIX = "--program-prefix=''"