diff options
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 12 |
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)" | |||
5 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 5 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
6 | BPN = "gdb" | 6 | BPN = "gdb" |
7 | 7 | ||
8 | DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-readline nativesdk-python \ | 8 | DEPENDS = "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 | ||
11 | RDEPENDS_${PN} += "nativesdk-python-core nativesdk-python-lang nativesdk-python-re \ | ||
12 | nativesdk-python-codecs nativesdk-python-netclient" | ||
13 | |||
14 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 11 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
15 | 12 | ||
16 | EXTRA_OECONF_append = " --with-python=${WORKDIR}/python" | 13 | # Overrides PACKAGECONFIG variables in gdb-common.inc |
14 | PACKAGECONFIG ??= "python readline" | ||
15 | PACKAGECONFIG[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" | ||
18 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" | ||
17 | 19 | ||
18 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" | 20 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" |
19 | 21 | ||