openmoko-toolchain-scripts: bugfix ${S}, change directory.
authorJohn Lee <john_lee@openmoko.org>
Wed, 14 May 2008 10:37:49 +0000 (10:37 +0000)
committerJohn Lee <john_lee@openmoko.org>
Thu, 18 Dec 2008 15:05:55 +0000 (23:05 +0800)
* fix ${S}
* set PACKAGE_ARCH to "all"
* move to openmoko-tools.  one less directory.

packages/openmoko-tools/openmoko-toolchain-scripts_svn.bb [moved from packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb with 53% similarity]

@@ -2,18 +2,21 @@ DESCRIPTION = "Convenient scripts to be used with openmoko toolchain."
 
 PV = "0.0+svnr${SRCREV}"
 PE = "1"
+PR = "r1"
 
 SRC_URI = "svn://svn.openmoko.org/trunk/src/host;module=toolchain-scripts;proto=http"
 
 S = "${WORKDIR}/toolchain-scripts"
 
-FILES_${PN} = "/bin /scripts /* \
-"
-
 do_install () {
-       install -d ${D}/doc
-       cp -dr ${S}/* ${D}
-       find ${D} -name ".svn" | xargs rm -rf
-       rm -r ${D}/patches
-       cd ${D} ; mv COPYING COPYING.MIT LICENSE README doc ; mv setup-env bin 
+        install -d ${D}/${prefix}
+        cp -dr ${S}/* ${D}/${prefix}
+        find ${D} -name ".svn" | xargs rm -rf
+        rm -rf ${D}/${prefix}/patches
 }
+
+PACKAGE_ARCH = "all"
+
+FILES_${PN} = "/*"
+
+inherit sdk