summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"