summaryrefslogtreecommitdiff
path: root/packages/dsplink/codec-engine_2.21.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dsplink/codec-engine_2.21.bb')
-rw-r--r--packages/dsplink/codec-engine_2.21.bb47
1 files changed, 5 insertions, 42 deletions
diff --git a/packages/dsplink/codec-engine_2.21.bb b/packages/dsplink/codec-engine_2.21.bb
index f84ea10c1a..c8ec81e795 100644
--- a/packages/dsplink/codec-engine_2.21.bb
+++ b/packages/dsplink/codec-engine_2.21.bb
@@ -1,6 +1,4 @@
require dsplink.inc
-require lpm.inc
-require cmemk.inc
DESCRIPTION = "Codec Engine for TI ARM/DSP processors"
@@ -18,9 +16,11 @@ PV = "221"
# Look for tarball at https://www-a.ti.com/downloads/sds_support/targetcontent/CE/index.html
SRC_URI = "http://install.tarball.in.source.dir/codec_engine_2_21.tar.gz \
+ file://cmemk-class-device-27.diff \
file://Makefile.dsplink \
file://Makefile-dsplink-kbuild \
- file://Makefile-dsplink-gpp \
+ file://Makefile-dsplink-gpp \
+ file://Makefile-dsplink-dsp \
"
S = "${WORKDIR}/codec_engine_2_21"
@@ -45,7 +45,7 @@ do_compile_append() {
# Fix paths to arm crosstools, c6x codegen and x86 gcc
# Also disable uclibc and x86 builds
- sed -i -e s:/db/toolsrc/library/tools/vendors/cs/arm/arm-2007q3:${CROSS_DIR}:g \
+ sed -i -e s:/db/toolsrc/library/tools/vendors/cs/arm/arm-2007q3:${CROSS_DIR}:g \
-e s:/db/toolsrc/library/tools/vendors/ti/c6x/6.0.16/Linux:${TITOOLSDIR}/${TICGTOOLSDIR}:g \
-e s:/db/toolsrc/library/tools/vendors/opensource/gcc/4.1.0/Linux/gcc-4.1.0-glibc-2.3.6/i686-unknown-linux-gnu:/usr:g \
-e s:arm-none-linux-gnueabi-:${TARGET_PREFIX}:g \
@@ -69,50 +69,13 @@ do_compile_append() {
}
-do_install() {
- install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
- cp ${S}/cetools/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
- cp ${S}/cetools/packages/ti/bios/power/${DSPPOWERSOC}/lpm/*.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp || true
-}
-
-do_stage() {
+do_stage_append() {
install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecengine
cp -pPr ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecengine/
}
INHIBIT_PACKAGE_STRIP = "1"
-PACKAGES =+ "ti-cmemk-module"
-FILES_ti-cmemk-module = "${sysconfdir} /lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/cmemk.ko"
-
-pkg_postinst_ti-cmemk-module () {
- if [ -n "$D" ]; then
- exit 1
- fi
- depmod -a
- update-modules || true
-}
-
-pkg_postrm_ti-cmemk-module () {
- update-modules || true
-}
-
-PACKAGES =+ "ti-lpm-module"
-FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko"
-
-pkg_postinst_ti-lpm-module () {
- if [ -n "$D" ]; then
- exit 1
- fi
- depmod -a
- update-modules || true
-}
-
-pkg_postrm_ti-lpm-module () {
- update-modules || true
-}
-
-
FILES_${PN} = "${base_sbindir}"
PACKAGE_ARCH = "${MACHINE_ARCH}"