[oe] [PATCH v2] ti-dofftools: doff converter tool

Víctor M. Jáquez L. vjaquez at igalia.com
Tue Apr 27 17:50:03 UTC 2010


From: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>

Add the recipie for the doff converter tool.

Changelog since v1:
* Add a newline at the end of the file

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez at igalia.com>
---
 recipes/ti/ti-dofftools_git.bb |   28 ++++++++++++++++++++++++++++
 recipes/ti/ti-paths.inc        |    2 ++
 2 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-dofftools_git.bb

diff --git a/recipes/ti/ti-dofftools_git.bb b/recipes/ti/ti-dofftools_git.bb
new file mode 100644
index 0000000..f9a541e
--- /dev/null
+++ b/recipes/ti/ti-dofftools_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "TI DSP/BIOS DOFF tools"
+HOMEPAGE = "http://dev.omapzoom.org/?p=tidspbridge/userspace-dspbridge.git;a=summary"
+SECTION = "devel"
+LICENSE = "TI"
+
+require ti-paths.inc
+require ti-staging.inc
+
+PR = "r1"
+
+SRCREV = "31c7e2c9"
+SRC_URI = "git://dev.omapzoom.org/pub/scm/tidspbridge/userspace-dspbridge.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+do_unpack2() {
+    cd ${S}
+    tar -xvf source/dsp/bdsptools/bridge-tools.tar
+}
+
+do_install() {
+    install -d ${D}${DOFFTOOLS_INSTALL_DIR_RECIPE}/bin
+    for i in DLLcreate DLLdump; do
+        cp -a ${S}/ti/dspbridge/dsp/doffbuild/bin/$i ${D}${DOFFTOOLS_INSTALL_DIR_RECIPE}/bin
+    done;
+}
+
+addtask unpack2 after do_unpack before do_patch
diff --git a/recipes/ti/ti-paths.inc b/recipes/ti/ti-paths.inc
index d3d1b98..40de3bd 100644
--- a/recipes/ti/ti-paths.inc
+++ b/recipes/ti/ti-paths.inc
@@ -17,6 +17,7 @@ export LPM_INSTALL_DIR_RECIPE        = "${installdir}/ti-local-power-manager-tre
 export DMAI_INSTALL_DIR_RECIPE       = "${installdir}/ti-dmai-tree"
 export CODEC_INSTALL_DIR_RECIPE      = "${installdir}/ti-codecs-tree"
 export DSPLIB_INSTALL_DIR_RECIPE     = "${installdir}/ti-dsplib-tree"
+export DOFFTOOLS_INSTALL_DIR_RECIPE  = "${installdir}/ti-dofftools-tree"
 
 # This is where the tools will end up in staging provided PACKAGE_ARCH = ${MACHINE_ARCH} is set
 export CODEGEN_INSTALL_DIR    = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${CODEGEN_INSTALL_DIR_RECIPE}"
@@ -35,6 +36,7 @@ export LPM_INSTALL_DIR        = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${LPM_INS
 export DMAI_INSTALL_DIR       = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${DMAI_INSTALL_DIR_RECIPE}"
 export CODEC_INSTALL_DIR      = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${CODEC_INSTALL_DIR_RECIPE}"
 export DSPLIB_INSTALL_DIR     = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${DSPLIB_INSTALL_DIR_RECIPE}"
+export DOFFTOOLS_INSTALL_DIR  = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${DOFFTOOLS_INSTALL_DIR_RECIPE}"
 
 DSPSUFFIX_omapl137 = "x674"
 DSPSUFFIX_omapl138 = "x674"
-- 
1.7.0.2





More information about the Openembedded-devel mailing list