[oe-commits] Roger Monk : ti-codecs-omap3530: Add latest codec server (v.1.01)

git version control git at git.openembedded.org
Tue Jun 29 14:48:11 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e17c4225387fc46e6687c4e19d04d169d801d280
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e17c4225387fc46e6687c4e19d04d169d801d280

Author: Roger Monk <r-monk at ti.com>
Date:   Tue Jun 29 15:28:00 2010 +0100

ti-codecs-omap3530: Add latest codec server (v.1.01)

* Codecs Server Package added from DVSDK 3.01.00.10

Signed-off-by: Roger Monk <r-monk at ti.com>
Signed-off-by: Koen Kooi <k-kooi at ti.com>

---

 recipes/ti/ti-codecs-omap3530_1.01.00.bb |   89 ++++++++++++++++++++++++++++++
 1 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/recipes/ti/ti-codecs-omap3530_1.01.00.bb b/recipes/ti/ti-codecs-omap3530_1.01.00.bb
new file mode 100644
index 0000000..57bc7c4
--- /dev/null
+++ b/recipes/ti/ti-codecs-omap3530_1.01.00.bb
@@ -0,0 +1,89 @@
+DESCRIPTION = "TI Codecs (and Server Combo) for OMAP3530"
+HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/dvsdk/dvsdk_3_01/3_01_00_10/index_FDS.html"
+SECTION = "multimedia"
+LICENSE = "TI"
+
+# TODO :: Move to common .inc (omap3 and omapl ready)
+
+PV = "1_01_00"
+
+SRC_URI[omap3codecsbin.md5sum] = "b9483c218fddb2eaca000cf68382862a"
+SRC_URI[omap3codecsbin.sha256sum] = "ae4e786d9c343b0953dd5d411b597a5d0bf5894bc1f69be3be6e0fc7980152b2"
+
+PE = "1"
+PR = "r2"
+
+require ti-paths.inc
+require ti-staging.inc
+require ti-eula-unpack.inc
+
+PROVIDES += "ti-codecs-omap3530-server"
+RREPLACES_${PN} = "ti-cs1-omap3530"
+
+S = "${WORKDIR}/dvsdk/dvsdk_3_01_00_10/cs1omap3530_1_01_00"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/dvsdk/dvsdk_3_01/3_01_00_10/exports/cs1omap3530_setupLinux_1_01_00-prebuilt-dvsdk3.01.00.10.bin;name=omap3codecsbin"
+
+BINFILE = "cs1omap3530_setupLinux_1_01_00-prebuilt-dvsdk3.01.00.10.bin"
+TI_BIN_UNPK_CMDS = "Y:Y: qY:workdir"
+
+DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-linuxutils"
+
+#generic codec
+DSPSUFFIX_omap3 = "x64P"
+
+do_prepsources() {
+
+	make \
+             CE_INSTALL_DIR=${CE_INSTALL_DIR} \
+             FC_INSTALL_DIR=${FC_INSTALL_DIR} \
+             LINK_INSTALL_DIR=${LINK_INSTALL_DIR} \
+             CMEM_INSTALL_DIR=${CMEM_INSTALL_DIR} \
+             LPM_INSTALL_DIR=${LPM_INSTALL_DIR} \
+             BIOS_INSTALL_DIR=${BIOS_INSTALL_DIR} \
+             CODEGEN_INSTALL_DIR=${CODEGEN_INSTALL_DIR} \
+             XDC_INSTALL_DIR=${XDC_INSTALL_DIR} \
+             CODEC_INSTALL_DIR="${S}" \
+             XDCARGS="prod" \
+             clean
+}
+
+addtask prepsources after do_configure before do_compile
+
+do_compile() {
+
+	make \
+             CE_INSTALL_DIR=${CE_INSTALL_DIR} \
+             FC_INSTALL_DIR=${FC_INSTALL_DIR} \
+             LINK_INSTALL_DIR=${LINK_INSTALL_DIR} \
+             CMEM_INSTALL_DIR=${CMEM_INSTALL_DIR} \
+             LPM_INSTALL_DIR=${LPM_INSTALL_DIR} \
+             BIOS_INSTALL_DIR=${BIOS_INSTALL_DIR} \
+             CODEGEN_INSTALL_DIR=${CODEGEN_INSTALL_DIR} \
+             XDC_INSTALL_DIR=${XDC_INSTALL_DIR} \
+             CODEC_INSTALL_DIR="${S}" \
+             XDCARGS="prod" \
+             all
+}
+
+do_install() {
+
+    install -d ${D}/${installdir}/ti-codecs-server
+    cd ${S}
+
+    # Install the DSP Server Binary 
+    for file in `find . -name *.${DSPSUFFIX}`; do
+        cp ${file} ${D}/${installdir}/ti-codecs-server
+    done
+
+    # Install docs (codec qualiTI test reports, server config datasheet, etc)
+    for file in `find . -name *.html`; do
+        cp ${file} ${D}/${installdir}/ti-codecs-server
+    done
+
+    install -d ${D}${CODEC_INSTALL_DIR_RECIPE}
+    cp -pPrf ${S}/* ${D}${CODEC_INSTALL_DIR_RECIPE}
+}
+
+PACKAGES += "ti-codecs-omap3530-server"
+FILES_ti-codecs-omap3530-server = "${installdir}/ti-codecs-server/*"





More information about the Openembedded-commits mailing list