summaryrefslogtreecommitdiff
path: root/packages/dsplink
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-03 14:10:13 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-03 14:10:13 +0000
commita1a099963e810d25281334cdb947c6586d581e29 (patch)
tree22b7adc452a45afb30ce2f150e54fbca83f6a67a /packages/dsplink
parent7702c1e86d1be2e7480b7db56c4fce2a873ca750 (diff)
codec-engine: add skeleton for 2.10, we only need cmem.ko from it
Diffstat (limited to 'packages/dsplink')
-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}"
+