diff options
author | Jonathan Liu <net147@gmail.com> | 2016-03-25 22:33:26 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-28 15:55:47 +0100 |
commit | 04344ebbc45fdbc3274d6a84ac37f1c86a5247a9 (patch) | |
tree | 44679c11e5a1858aaf6a974fba722c1d5cf14b1a /meta/recipes-devtools/gdb | |
parent | 5005cab723bc488bcf3f982a6401ecf49bdb9ca3 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross.inc | 7 |
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 @@ | |||
1 | require gdb-common.inc | 1 | require gdb-common.inc |
2 | 2 | ||
3 | DEPENDS = "expat-native ncurses-native readline-native python-native" | 3 | DEPENDS = "expat-native ncurses-native" |
4 | 4 | ||
5 | inherit pythonnative | 5 | inherit pythonnative |
6 | 6 | ||
7 | EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python" | 7 | # Overrides PACKAGECONFIG variables in gdb-common.inc |
8 | PACKAGECONFIG ??= "python readline" | ||
9 | PACKAGECONFIG[python] = "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python,--without-python,python-native" | ||
10 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native" | ||
8 | 11 | ||
9 | do_compile_prepend() { | 12 | do_compile_prepend() { |
10 | export BUILD_SYS="${BUILD_SYS}" | 13 | export BUILD_SYS="${BUILD_SYS}" |