summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross.inc')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
new file mode 100644
index 0000000000..6e44778cd3
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -0,0 +1,26 @@
1require gdb-common.inc
2
3DEPENDS = "expat-native ncurses-native readline-native python-native"
4
5inherit pythonnative
6
7EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
8
9do_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}
15
16#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
17
18GDBPROPREFIX = ""
19
20PN = "gdb-cross-${TARGET_ARCH}"
21BPN = "gdb"
22
23inherit cross
24inherit gettext
25
26datadir .= "/gdb-${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"