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
Denys Dmytriyenko 37ef6ae6fe meta-ti: move BIOS,XDC,XDAIS, CGT,DSP libs and components to meta-ti-extras
Legacy platforms AM3/4/5/J6 build components for multimedia acceleration and
other DSP showcasing using SYS/BIOS, XDC, XDAIS, CodeGen Tools and different
DSP libraries. Move all of them to meta-ti-extras.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2022-02-22 12:01:39 -06:00

50 lines
1.2 KiB
BlitzBasic

DESCRIPTION = "GNU debugger for TI C6X DSP."
SECTION = "devel"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f"
DEPENDS = "ncurses bison-native texinfo flex-native gettext"
COMPATIBLE_MACHINE = "dra7xx"
PR = "${INC_PR}.1"
SRC_URI:append = " \
file://init \
file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \
"
S = "${WORKDIR}/git/gdbc6x"
inherit update-rc.d
inherit gettext
CFLAGS += "-fcommon"
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 ${WORKDIR}/init ${D}${sysconfdir}/init.d/gdbserverproxy
}
RDEPENDS:${PN} = "gdbserverproxy-module-drv bash"
include gdbc6x.inc
INITSCRIPT_NAME = "gdbserverproxy"
INITSCRIPT_PARAMS = "defaults 95"
PARALLEL_MAKE = ""