1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00
Files
meta-ti/meta-ti-extras/recipes-devtools/gdbc6x/gdbc6x_git.bb
Andrew Davis 010c6a4336 meta-ti/all: Merge omap-a15.inc into am57xx.inc
As am57xx.inc is now the only user of omap-a15.inc, merge the content of
omap-a15.inc into am57xx.inc and remove omap-a15.inc. As we no longer have
this common include, also remove "omap-a15" and use "am57xx" in its place.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-12-19 09:57:39 -06:00

54 lines
1.3 KiB
BlitzBasic

SUMMARY = "GNU debugger for TI C6X DSP."
SECTION = "devel"
LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f"
DEPENDS = "ncurses bison-native texinfo flex-native gettext"
COMPATIBLE_MACHINE = "am57xx"
PR = "${INC_PR}.1"
SRC_URI:append = " \
file://init \
file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \
"
S:append = "/gdbc6x"
inherit update-rc.d
inherit gettext
CFLAGS += "-fcommon -fpermissive -std=gnu11"
do_configure () {
cd ${S}
./configure --program-suffix=c6x --target=tic6x-elf-tirtos --host=${HOST_SYS} --prefix=${S}/install_gdb
}
do_install () {
make install
# Custom install to prevent conflict with standard GDB.
install -d ${D}${bindir}
install -d ${D}${includedir}
install -m 755 ${S}/install_gdb/bin/gdbc6x ${D}${bindir}
cp -rf ${S}/install_gdb/include/* ${D}${includedir}
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/gdbserverproxy
}
RDEPENDS:${PN} = "gdbserverproxy-module-drv bash"
include gdbc6x.inc
INITSCRIPT_NAME = "gdbserverproxy"
INITSCRIPT_PARAMS = "defaults 95"
PARALLEL_MAKE = ""
# Disable the "buildpaths" check while we figure out how we are
# going to address this issue.
INSANE_SKIP:${PN} += "buildpaths"