mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
* Drop add-missing-ldflags.patch, its already applied to gdb 14 * Add dependency on mpfr for cross/cross-canadian/target recipe * Remove gcc-only complier restriction, clang can compile it just fine * Notable changes are here [1] [2] [1] https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=refs/heads/gdb-14-branch [2] https://www.sourceware.org/gdb/download/ANNOUNCEMENT (From OE-Core rev: 2a0f7255a740ffbfe5a7858ef01a3ba6cadca383) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
973 B
PHP
32 lines
973 B
PHP
require gdb-common.inc
|
|
|
|
DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-native"
|
|
|
|
inherit python3native pkgconfig
|
|
|
|
# Overrides PACKAGECONFIG variables in gdb-common.inc
|
|
PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
|
|
PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
|
|
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
|
|
PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-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}"
|