[oe-commits] Roger Monk : codec-engine: fix typo

GIT User account git at amethyst.openembedded.net
Fri Feb 20 17:52:36 UTC 2009


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

Author: Roger Monk <r-monk at ti.com>
Date:   Fri Feb 20 17:07:13 2009 +0000

codec-engine: fix typo
ti-dmai: make postinst only run in online mode

---

 packages/dsplink/ti-codec-engine_2.21.bb |    4 ++--
 packages/dsplink/ti-dmai_1.20.bb         |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/packages/dsplink/ti-codec-engine_2.21.bb b/packages/dsplink/ti-codec-engine_2.21.bb
index 805715b..c2055c1 100644
--- a/packages/dsplink/ti-codec-engine_2.21.bb
+++ b/packages/dsplink/ti-codec-engine_2.21.bb
@@ -8,7 +8,7 @@ RDEPENDS = "update-modules"
 inherit module
 
 # tconf from xdctools dislikes '.' in pwd :/
-PR = "r14"
+PR = "r15"
 PV = "221"
 
 # Get CE tarball from TI website, place in sources and calculate
@@ -219,7 +219,7 @@ PACKAGES =+ "ti-lpm-module ti-cmem-module ti-sdma-module ti-codec-engine-apps"
 
 FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko"
 FILES_ti-cmem-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/cmemk.ko"
-FILES_ti-sdma-moduke = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/sdmak.ko"
+FILES_ti-sdma-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/sdmak.ko"
 FILES_ti-codec-engine-apps = "${datadir}/ti-codec-engine/*"
 
 pkg_postinst_ti-lpm-module () {
diff --git a/packages/dsplink/ti-dmai_1.20.bb b/packages/dsplink/ti-dmai_1.20.bb
index 60a427c..0131407 100644
--- a/packages/dsplink/ti-dmai_1.20.bb
+++ b/packages/dsplink/ti-dmai_1.20.bb
@@ -76,7 +76,10 @@ RRECOMMENDS_${PN} = "ti-dmai-apps"
 FILES_ti-dmai-apps = "${datadir}/ti-dmai/*"
 
 pkg_postinst_ti-dmai-apps () {
-	ln -sf /usr/share/ti-codec-combos/* $D/usr/share/ti-dmai/apps
+        if [ -n "$D" ]; then
+                exit 1
+        fi
+	ln -sf /usr/share/ti-codec-combos/* /usr/share/ti-dmai/apps
 }
 
 INHIBIT_PACKAGE_STRIP = "1"





More information about the Openembedded-commits mailing list