diff options
Diffstat (limited to 'meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb')
| -rw-r--r-- | meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb new file mode 100644 index 00000000..fab4fbd2 --- /dev/null +++ b/meta-ti-bsp/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | DESCRIPTION = "TI gdb-server to be used with c6xgdb." | ||
| 2 | LICENSE = "BSD" | ||
| 3 | LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495" | ||
| 4 | |||
| 5 | DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native" | ||
| 6 | |||
| 7 | PR = "${INC_PR}.0" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git/gdbserver-c6x/src" | ||
| 10 | |||
| 11 | PLATFORM = "" | ||
| 12 | PLATFORM:dra7xx = "DRA7xx_PLATFORM" | ||
| 13 | |||
| 14 | EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" | ||
| 15 | |||
| 16 | export XDAIS_DIR = "${XDAIS_INSTALL_DIR}" | ||
| 17 | export FC_DIR = "${FC_INSTALL_DIR}" | ||
| 18 | export TI_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" | ||
| 19 | export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" | ||
| 20 | export XDC_DIR = "${XDC_INSTALL_DIR}" | ||
| 21 | |||
| 22 | # The following is to prevent an unused configure.ac from erroneously | ||
| 23 | # triggering the QA check for gettext. | ||
| 24 | EXTRA_OECONF = "--disable-nls" | ||
| 25 | do_configure() { | ||
| 26 | : | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install() { | ||
| 30 | install -d ${D}${datadir}/ti/gdbc6x/include | ||
| 31 | install -d ${D}${datadir}/ti/gdbc6x/lib | ||
| 32 | cp -f ../include/* ${D}${datadir}/ti/gdbc6x/include | ||
| 33 | cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib | ||
| 34 | } | ||
| 35 | |||
| 36 | COMPATIBLE_MACHINE = "dra7xx" | ||
| 37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 38 | |||
| 39 | FILES:${PN}-dev += "\ | ||
| 40 | ${datadir}/ti/gdbc6x \ | ||
| 41 | " | ||
| 42 | |||
| 43 | include gdbc6x.inc | ||
| 44 | |||
| 45 | require recipes-ti/includes/ti-paths.inc | ||
| 46 | |||
| 47 | ALLOW_EMPTY:${PN} = "1" | ||
| 48 | |||
| 49 | PARALLEL_MAKE = "" | ||
