summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index ae97759b6e..6e42af1bab 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -5,15 +5,17 @@ SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)"
5PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" 5PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
6BPN = "gdb" 6BPN = "gdb"
7 7
8DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-readline nativesdk-python \ 8DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext \
9 virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc" 9 virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc"
10 10
11RDEPENDS_${PN} += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
12 nativesdk-python-codecs nativesdk-python-netclient"
13
14GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" 11GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
15 12
16EXTRA_OECONF_append = " --with-python=${WORKDIR}/python" 13# Overrides PACKAGECONFIG variables in gdb-common.inc
14PACKAGECONFIG ??= "python readline"
15PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python, \
16 nativesdk-python-core nativesdk-python-lang nativesdk-python-re \
17 nativesdk-python-codecs nativesdk-python-netclient"
18PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
17 19
18SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" 20SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb"
19 21