summaryrefslogtreecommitdiff
path: root/recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb')
-rw-r--r--recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb40
1 files changed, 17 insertions, 23 deletions
diff --git a/recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb b/recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb
index 76ebb46818..3a9efdd60d 100644
--- a/recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb
+++ b/recipes/dvsdk/ti-codec-combo-omap3530_3.16.1.bb
@@ -1,5 +1,4 @@
-DESCRIPTION = "OMAP3530 TSPA codec combo 3.16.01"
-
+require ti-codec.inc
require ti-codec-combo-omap3530.inc
SRC_URI = "http://software-dl.ti.com/sdo/sdo_apps_public_sw/omap3530_dvsdk_combos_tspa/omap3530_dvsdk_combos_tspa-3_16_01-Linux-x86.bin"
@@ -10,24 +9,15 @@ TARFILE = "omap3530_dvsdk_combos_tspa/omap3530_dvsdk_combos_tspa_3_16_01.tar.gz"
S = "${WORKDIR}/omap3530_dvsdk_combos_tspa_3_16_01"
-DEPENDS="ti-codec-engine"
+DEPENDS="ti-codec-engine ti-dsplink-module"
-CE_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine"
-FC_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/cetools"
-LINK_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/cetools"
-CMEM_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/cetools"
-LPM_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/cetools"
-BIOS_INSTALL_DIR="${STAGING_DIR_NATIVE}/ti-dspbios-native"
-CODEGEN_INSTALL_DIR="${STAGING_DIR_NATIVE}/ti-cgt6x-native"
-XDC_INSTALL_DIR="${STAGING_DIR_NATIVE}/ti-xdctools-native"
+CODEC_INSTALL_DIR = "${S}"
-export ${CODEGEN_INSTALL_DIR}
+export CODEGEN_INSTALL_DIR
# Yes, the xdc stuff still breaks with a '.' in PWD
PV = "3161"
-PR = "r12"
-installdir = "${datadir}/ti"
-
+PR = "r17"
do_compile() {
make CE_INSTALL_DIR=${CE_INSTALL_DIR} \
FC_INSTALL_DIR=${FC_INSTALL_DIR} \
@@ -36,7 +26,18 @@ do_compile() {
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=${CODEC_INSTALL_DIR} \
+ XDC_INSTALL_DIR=${XDC_INSTALL_DIR} clean
+
+ 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} \
+ CODEC_INSTALL_DIR=${CODEC_INSTALL_DIR} \
+ XDC_INSTALL_DIR=${XDC_INSTALL_DIR}
}
do_install () {
@@ -47,11 +48,4 @@ do_install () {
done
}
-do_stage() {
- install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/${PN}
- cp -pPrf ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILES_${PN} = "${installdir}/codec-combo/*"