diff options
author | Jonathan Liu <net147@gmail.com> | 2016-03-25 22:33:26 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-26 22:49:35 +0000 |
commit | 41673bb53108cd4d0f0f37c8c675256c80173135 (patch) | |
tree | eafb5d42f6bdfc00fd625c0247055ba6abcce563 | |
parent | e4f6156ffdc840e99b546369493aaf37c4856b3b (diff) | |
download | openembedded-core-41673bb53108cd4d0f0f37c8c675256c80173135.tar.gz openembedded-core-41673bb53108cd4d0f0f37c8c675256c80173135.tar.bz2 openembedded-core-41673bb53108cd4d0f0f37c8c675256c80173135.zip |
gdb-cross: use PACKAGECONFIG for python and readline
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.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 @@ 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}" |