diff options
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross.inc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index cb99b06c5b..6e44778cd3 100644 --- a/meta/recipes-devtools/gdb/gdb-cross.inc +++ b/meta/recipes-devtools/gdb/gdb-cross.inc | |||
@@ -1,8 +1,17 @@ | |||
1 | require gdb-common.inc | 1 | require gdb-common.inc |
2 | 2 | ||
3 | DEPENDS = "expat-native ncurses-native readline-native" | 3 | DEPENDS = "expat-native ncurses-native readline-native python-native" |
4 | 4 | ||
5 | EXTRA_OECONF += "--without-python" | 5 | inherit pythonnative |
6 | |||
7 | EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python" | ||
8 | |||
9 | do_compile_prepend() { | ||
10 | export BUILD_SYS="${BUILD_SYS}" | ||
11 | export HOST_SYS="${HOST_SYS}" | ||
12 | export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" | ||
13 | export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}" | ||
14 | } | ||
6 | 15 | ||
7 | #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'" | 16 | #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'" |
8 | 17 | ||