Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require gdb-common.inc |
| 2 | |
| 3 | DEPENDS = "expat-native ncurses-native readline-native python-native" |
| 4 | |
| 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 | } |
| 15 | |
| 16 | #EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'" |
| 17 | |
| 18 | GDBPROPREFIX = "" |
| 19 | |
| 20 | PN = "gdb-cross-${TARGET_ARCH}" |
| 21 | BPN = "gdb" |
| 22 | |
| 23 | inherit cross |
| 24 | inherit gettext |
| 25 | |
| 26 | datadir .= "/gdb-${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |