[oe-commits] [openembedded-core] 02/28: gdb-cross: use PACKAGECONFIG for python and readline
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 26 08:04:11 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit ba71108e51f530987b20129dc2406dcf6049da1b
Author: Jonathan Liu <net147 at gmail.com>
AuthorDate: Fri Mar 25 22:33:26 2016 +1100
gdb-cross: use PACKAGECONFIG for python and readline
Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/gdb/gdb-cross.inc | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 6e44778..2468d23 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}"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list