ti-codec-engine, ti-dsplink-module: convert to new style staging
authorKoen Kooi <k-kooi@ti.com>
Wed, 27 Jan 2010 16:50:35 +0000 (17:50 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:15 +0000 (19:43 +0200)
* bundle complete trees into -sdk packages
* blacklist said -sdk package in the angstrom package uploader

Signed-off-by: Koen Kooi <k-kooi@ti.com>
contrib/angstrom/upload-packages.sh
recipes/ti/ti-codec-engine.inc
recipes/ti/ti-codec-engine_2.25.01.06.bb
recipes/ti/ti-dsplink-module.inc
recipes/ti/ti-dsplink-module_1.64.bb
recipes/ti/ti-staging.inc

index 20c1187..0225875 100644 (file)
@@ -32,6 +32,7 @@ cat files-remote files-local | sort | uniq -u >files-uniq
 cat files-uniq files-local | sort | uniq -d > files-trans
 
 rm -f upload-queue/bigbuck* 
+rm -f upload-queue/ti*-sdk*
 
 # Copy over non-duplicate files
 echo "Starting rsync..."
index bb94664..3134d6b 100644 (file)
@@ -110,15 +110,13 @@ do_install() {
                fi
                }
        done
-}
-
 
-# We can't use CE_INSTALL_DIR directly since we redefined it earlier on
-do_stage() {
-    install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${CE_INSTALL_DIR_RECIPE}
-    cp -pPrf ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}${CE_INSTALL_DIR_RECIPE}
+    # Stage the complete tree as well
+    install -d ${D}${CE_INSTALL_DIR_RECIPE}
+    cp -pPrf ${S}/* ${D}${CE_INSTALL_DIR_RECIPE}
 }
 
+require ti-staging.inc
 
 RDEPENDS_ti-codec-engine-apps = "ti-cmem-module"
 RDEPENDS_append_dm6446   = " ti-dsplink-module"
@@ -126,7 +124,6 @@ RDEPENDS_append_omap3    = " ti-dsplink-module"
 RDEPENDS_append_omapl138 = " ti-dsplink-module"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-INHIBIT_PACKAGE_STRIP = "1"
 PACKAGES += "ti-codec-engine-apps"
 FILES_ti-codec-engine-apps = "${installdir}/codec-engine-apps/*"
 INSANE_SKIP_ti-codec-engine-apps = True
index ddf18ff..47a1bfa 100644 (file)
@@ -8,6 +8,7 @@ DEFAULT_PREFERENCE_dm6467 = "1"
 
 # tconf from xdctools dislikes '.' in pwd :/
 PV = "2_25_01_06"
+PR = "r1"
 
 # Full-CE
 #SRC_URI[cetarball.md5sum] = "729ede0fd24210d3c5439511fa859d51"
index a6ce573..e62174f 100644 (file)
@@ -152,14 +152,13 @@ do_install () {
     # DSPLINK test app module un/load scripts
     install ${WORKDIR}/loadmodules-ti-dsplink-apps.sh ${D}/${installdir}/dsplink/apps
     install ${WORKDIR}/unloadmodules-ti-dsplink-apps.sh ${D}/${installdir}/dsplink/apps
+    
+    # install the complete tree as well
+    install -d ${D}${LINK_INSTALL_DIR_RECIPE}
+    cp -pPrf ${S}/* ${D}${LINK_INSTALL_DIR_RECIPE}
 }
 
-do_stage () {
-    install -d ${LINK_INSTALL_DIR}
-    cp -pPrf ${S}/* ${LINK_INSTALL_DIR}
-}
-
-INHIBIT_PACKAGE_STRIP = "1"
+require ti-staging.inc
 
 PACKAGES += " ti-dsplink-apps" 
 FILES_ti-dsplink-apps = "${installdir}/dsplink/*"
index 6b10b93..0fa92d9 100644 (file)
@@ -10,6 +10,8 @@ SRC_URI[dsplinktarball.sha256sum] = "32b6fbae2b61f5f71ab3eae9d2f5ad6b75d682ad8bd
 # tconf from xdctools dislikes '.' in pwd :/
 PE = "1"
 PV = "1_64"
+PR_append = "a"
+
 S = "${WORKDIR}/dsplink_linux_${PV}"
 
 # Cheat a bit with includes
index 4e0ddfa..726c0d4 100644 (file)
@@ -2,3 +2,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 BASEPKG_HOST_SYS = "${MULTIMACH_HOST_SYS}"
 INHIBIT_PACKAGE_STRIP = "1"
 
+PACKAGES =+ "${PN}-sdk"
+FILES_${PN}-sdk = "${installdir}/*-tree"
+INSANE_SKIP_${PN}-sdk = "True"
+