summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb
new file mode 100644
index 0000000000..f54a23de18
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Common files for the OpenMoko distribution"
+SECTION = "openmoko/base"
+PV = "0.0+svn${SRCDATE}"
+PR = "r3"
+
+inherit openmoko2
+
+SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=pixmaps;proto=http"
+S = "${WORKDIR}"
+
+dirs = "pixmaps"
+
+do_install() {
+ find ${WORKDIR} -name ".svn" | xargs rm -rf
+ install -d ${D}${datadir}
+ for i in ${dirs}; do
+ cp -fpPR ${S}/$i ${D}${datadir}
+ done
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} = "${datadir}"