summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-11 09:12:33 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-11 09:12:33 +0000
commitf341777c4bf277731c4ff8b776f09ad38ed4f00b (patch)
treed4bd87ced41aa4c67bdc50a83bd50f67b58a0d6e
parent0c51bf951cdee42392c6cb565b7a82d9975a0d72 (diff)
parent1af32f8a798caba849145cba080006ff7d2e6376 (diff)
merge of '608b2b53305bf9caac347482f81437fb57e6205b'
and '762688ff3c4f669a807e2559bb786cc82118b7bb'
-rw-r--r--packages/ezx/ezx-gen-blob/.mtn2git_empty0
-rw-r--r--packages/ezx/ezx-gen-blob/gen-blobbin0 -> 58368 bytes
-rw-r--r--packages/ezx/ezx-gen-blob_20080707.bb32
3 files changed, 32 insertions, 0 deletions
diff --git a/packages/ezx/ezx-gen-blob/.mtn2git_empty b/packages/ezx/ezx-gen-blob/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ezx/ezx-gen-blob/.mtn2git_empty
diff --git a/packages/ezx/ezx-gen-blob/gen-blob b/packages/ezx/ezx-gen-blob/gen-blob
new file mode 100644
index 0000000000..1131a211ca
--- /dev/null
+++ b/packages/ezx/ezx-gen-blob/gen-blob
Binary files differ
diff --git a/packages/ezx/ezx-gen-blob_20080707.bb b/packages/ezx/ezx-gen-blob_20080707.bb
new file mode 100644
index 0000000000..50fcd8b105
--- /dev/null
+++ b/packages/ezx/ezx-gen-blob_20080707.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Generic Blob [Bootloader] for the Motorola EZX platform"
+SECTION = "bootloaders"
+AUTHOR = "Daniel Riberio"
+HOMEPAGE = "http://people.openezx.org/wyrm/gen-blob"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PROVIDES = "virtual/bootloader"
+
+SRC_URI = "file://gen-blob"
+S = "${WORKDIR}"
+
+do_deploy() {
+ dd if=${WORKDIR}/gen-blob bs=1k seek=2 conv=sync of=${WORKDIR}/gen-blob-a1200
+
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0644 gen-blob ${DEPLOY_DIR_IMAGE}/gen-blob-for-1stgen.${SRCDATE}
+ install -m 0644 gen-blob-a1200 ${DEPLOY_DIR_IMAGE}/gen-blob-for-2ndgen.${SRCDATE}
+}
+
+do_install() {
+ dd if=${WORKDIR}/gen-blob bs=1k seek=2 conv=sync of=${WORKDIR}/gen-blob-a1200
+
+ install -d ${D}/${datadir}/openezx
+ install -m 0644 gen-blob ${D}${datadir}/openezx/gen-blob-for-1stgen.${SRCDATE}
+ install -m 0644 gen-blob-a1200 ${D}${datadir}/openezx/gen-blob-for-2ndgen.${SRCDATE}
+}
+
+addtask deploy before do_build after do_compile
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+FILES_${PN} = "${datadir}"
+