diff options
-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}" |