diff options
author | Philip Balister <philip@balister.org> | 2009-02-13 14:12:54 -0500 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2009-02-13 14:12:54 -0500 |
commit | 18992093169e9ebd2a61989b853986a77199be35 (patch) | |
tree | d08928e78b95ea9dcbd7a4f5a193b18e197e8a8d /packages/ezx | |
parent | 36001a65d7eb5f4432b999d24c29501834a3b431 (diff) | |
parent | 97b340db7c7b9ee3ed53e02eaa63c9873f4e1610 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/ezx')
-rw-r--r-- | packages/ezx/ezx-gen-blob_svn.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/ezx/ezx-gen-blob_svn.bb b/packages/ezx/ezx-gen-blob_svn.bb new file mode 100644 index 0000000000..fb0def2c20 --- /dev/null +++ b/packages/ezx/ezx-gen-blob_svn.bb @@ -0,0 +1,37 @@ +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" +PV = "0.1.0+${SRCREV}" +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + +inherit autotools + +SRC_URI = "svn://svn.openezx.org/trunk/src/blob/;module=gen-blob;proto=http" +S = "${WORKDIR}/gen-blob" + +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}" |