summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dsplink/codec-engine_2.10.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/dsplink/codec-engine_2.10.bb b/packages/dsplink/codec-engine_2.10.bb
new file mode 100644
index 0000000000..34e8768311
--- /dev/null
+++ b/packages/dsplink/codec-engine_2.10.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Codec Engine for TI ARM/DSP processors"
+
+DEPENDS = "virtual/kernel perl-native"
+RDEPENDS = "update-modules"
+
+inherit module
+
+PR = "r0"
+PV = "2.10"
+
+# Get CE tarball from TI website, place in sources and calculate
+# md5sum
+# 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_10.tar.gz \
+"
+
+S = "${WORKDIR}/codec_engine_2_10/codec-engine"
+
+pkg_postinst_${PN}-module () {
+ if [ -n "$D" ]; then
+ exit 1
+ fi
+ depmod -a
+ update-modules || true
+}
+
+pkg_postrm_${PN}-module () {
+ update-modules || true
+}
+
+PACKAGES =+ "${PN}-module"
+FILES_${PN}-module = "${sysconfdir} /lib/modules"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+