1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-27 14:28:05 +00:00

gdbc6x: Add version 1.1.0

* The gdbc6x utility provides remote gdb capabilities for C6x DSP
  cores.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Jacob Stiffler
2015-05-19 18:51:22 +00:00
committed by Denys Dmytriyenko
parent b4181e7346
commit fb67ece977
2 changed files with 92 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
DESCRIPTION = "GNU debugger for TI C6X DSP."
SECTION = "devel"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=bf0fe2872eb3dfeebb2cbe38206fe81f"
DEPENDS = "ncurses bison texinfo flex gettext"
PR = "${INC_PR}.0"
SRC_URI_append = " \
file://init \
"
S = "${WORKDIR}/git/gdbc6x"
inherit update-rc.d
inherit gettext
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"
include gdbc6x.inc
INITSCRIPT_NAME = "gdbserverproxy"
INITSCRIPT_PARAMS = "defaults 95"
PARALLEL_MAKE = ""