summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-03-25 22:33:20 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-03 15:51:35 +0100
commit1c1e85113fc1de3f9790fba3ef782c5644fd6858 (patch)
tree6f058779b9993262727cc0f7dd93b123e1b8c0e9
parent370a50a27be5ff2aefdd9e306dde6a4b89bcdcda (diff)
downloadpoky-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.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