aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-03-25 22:33:26 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:55:47 +0100
commit04344ebbc45fdbc3274d6a84ac37f1c86a5247a9 (patch)
tree44679c11e5a1858aaf6a974fba722c1d5cf14b1a /meta/recipes-devtools
parent5005cab723bc488bcf3f982a6401ecf49bdb9ca3 (diff)
downloadopenembedded-core-contrib-04344ebbc45fdbc3274d6a84ac37f1c86a5247a9.tar.gz
gdb-cross: use PACKAGECONFIG for python and readline
(From OE-Core rev: 41673bb53108cd4d0f0f37c8c675256c80173135) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 6e44778cd3..2468d23037 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -1,10 +1,13 @@
require gdb-common.inc
-DEPENDS = "expat-native ncurses-native readline-native python-native"
+DEPENDS = "expat-native ncurses-native"
inherit pythonnative
-EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
+# Overrides PACKAGECONFIG variables in gdb-common.inc
+PACKAGECONFIG ??= "python readline"
+PACKAGECONFIG[python] = "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python,--without-python,python-native"
+PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
do_compile_prepend() {
export BUILD_SYS="${BUILD_SYS}"