summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-cross.inc
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/gdb/gdb-cross.inc
parent5005cab723bc488bcf3f982a6401ecf49bdb9ca3 (diff)
downloadpoky-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/gdb/gdb-cross.inc')
-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 @@
1require gdb-common.inc 1require gdb-common.inc
2 2
3DEPENDS = "expat-native ncurses-native readline-native python-native" 3DEPENDS = "expat-native ncurses-native"
4 4
5inherit pythonnative 5inherit pythonnative
6 6
7EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python" 7# Overrides PACKAGECONFIG variables in gdb-common.inc
8PACKAGECONFIG ??= "python readline"
9PACKAGECONFIG[python] = "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python,--without-python,python-native"
10PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
8 11
9do_compile_prepend() { 12do_compile_prepend() {
10 export BUILD_SYS="${BUILD_SYS}" 13 export BUILD_SYS="${BUILD_SYS}"