27 lines
603 B
PHP
Raw Permalink Normal View History

2024-09-09 08:52:07 +00:00
require gdb-common.inc
2024-09-09 08:57:42 +00:00
DEPENDS = "expat-native ncurses-native readline-native python-native"
inherit pythonnative
EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
do_compile_prepend() {
export BUILD_SYS="${BUILD_SYS}"
export HOST_SYS="${HOST_SYS}"
export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
}
2024-09-09 08:52:07 +00:00
#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
GDBPROPREFIX = ""
2024-09-09 08:57:42 +00:00
PN = "gdb-cross-${TARGET_ARCH}"
BPN = "gdb"
2024-09-09 08:52:07 +00:00
inherit cross
inherit gettext
2024-09-09 08:57:42 +00:00
datadir .= "/gdb-${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}"