diff options
author | Jonathan Liu <net147@gmail.com> | 2016-03-25 22:33:20 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-03 15:51:35 +0100 |
commit | 1c1e85113fc1de3f9790fba3ef782c5644fd6858 (patch) | |
tree | 6f058779b9993262727cc0f7dd93b123e1b8c0e9 | |
parent | 370a50a27be5ff2aefdd9e306dde6a4b89bcdcda (diff) | |
download | poky-1c1e85113fc1de3f9790fba3ef782c5644fd6858.tar.gz |
gdb-cross-canadian: use PACKAGECONFIG for python and readline
(From OE-Core rev: c5478ed623f9b21d758f49745409a8eaae36baf5)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 | ||