mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 10:13:03 +01:00
Firstly, just include xz support in all gdb configurations to simplify config. Most systems would already have the shared library so this isn't a big problem for a larger debugging tool. The PACKAGECONFIG duplication is also confusing. The only PACKAGECONFIG which needs special handking is the python one due to the differing modules needed in the nativesdk case. Remove all the other duplicate entries which should work through our usual class extension code. (From OE-Core rev: d6eefdd66171c2bcdeeebc8a9b583c5383c80bf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
647 B
PHP
28 lines
647 B
PHP
require gdb-common.inc
|
|
|
|
DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-native"
|
|
|
|
inherit python3native pkgconfig
|
|
|
|
PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
|
|
|
|
do_compile:prepend() {
|
|
export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
|
|
export STAGING_INCDIR="${STAGING_INCDIR_NATIVE}"
|
|
}
|
|
|
|
#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
|
|
|
|
GDBPROPREFIX = ""
|
|
|
|
PN = "gdb-cross-${TARGET_ARCH}"
|
|
BPN = "gdb"
|
|
|
|
# Ignore how TARGET_ARCH is computed.
|
|
TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}"
|
|
|
|
inherit cross
|
|
inherit gettext
|
|
|
|
datadir .= "/gdb-${TARGET_SYS}${TARGET_VENDOR}-${TARGET_OS}"
|