diff options
author | Bruno Randolf <br1@subnet.at> | 2004-10-15 15:27:54 +0000 |
---|---|---|
committer | Bruno Randolf <br1@subnet.at> | 2004-10-15 15:27:54 +0000 |
commit | 53744b0ffd779b7923a4edf4f8665e18726fafc6 (patch) | |
tree | f606755505d253118ca598e3e5cf627f0d5b4556 /linux | |
parent | df40b0bc2a4e8c0e23a23a300fa8d410621136fb (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into null.(none):/data/mtx/oe/oe.write/packages
2004/10/15 17:27:21+02:00 (none)!br1
mtx-1 and nylon updates
2004/10/15 17:25:12+02:00 (none)!br1
autoload hostap_pci on mtx-1
BKrev: 416fec7akNTy9S4XNbGWyEzJ1NRUZw
Diffstat (limited to 'linux')
-rw-r--r-- | linux/linux-mtx-1_2.4.24.oe | 16 | ||||
-rw-r--r-- | linux/linux-mtx-1_2.4.27.oe | 51 |
2 files changed, 60 insertions, 7 deletions
diff --git a/linux/linux-mtx-1_2.4.24.oe b/linux/linux-mtx-1_2.4.24.oe index 612635c105..14148393e8 100644 --- a/linux/linux-mtx-1_2.4.24.oe +++ b/linux/linux-mtx-1_2.4.24.oe @@ -2,11 +2,11 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for MTX-1 (MeshCube)" MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" LICENSE = "GPL" -KV = "2.4.24" -PV = "${KV}" +KV = "${PV}" PACKAGE_ARCH = "mtx-1" RDEPENDS = "mtd" +CVSDATE = "20041016" SRC_URI = "cvs://anoncvs:anoncvs@meshcube.org/data/cvs;module=kernel/linux" S = "${WORKDIR}/linux" @@ -15,7 +15,7 @@ inherit kernel ARCH = "mips" KERNEL_OUTPUT = "arch/mips/zboot/images/mtx-1.flash.bin" -KERNEL_IMAGETYPE = "zImage.flash.bin" +KERNEL_IMAGETYPE = "zImage.flash" KERNEL_IMAGEDEST = "tmp" do_configure_prepend() { @@ -26,9 +26,11 @@ pkg_postinst_kernel() { if test "x$D" != "x"; then exit 1 else - echo "*** flashing kernel ***" - flashcp -v /tmp/zImage.flash.bin-${KV} /dev/mtd/2 - echo "*** done. please reboot ***" + if test -e /tmp/zImage.flash.bin-${KV}; then + echo "*** flashing kernel ***" + flashcp -v /tmp/zImage.flash.bin-${KV} /dev/mtd/2 + echo "*** done. please reboot ***" + fi fi } @@ -36,7 +38,7 @@ FILES_kernel += " /tmp" do_deploy() { install -d ${DEPLOY_DIR}/images - install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${KERNEL_IMAGETYPE}-${DATETIME} + install -m 0644 arch/mips/zboot/images/mtx-1.flash.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.srec } do_deploy[dirs] = "${S}" diff --git a/linux/linux-mtx-1_2.4.27.oe b/linux/linux-mtx-1_2.4.27.oe index e69de29bb2..52ba6eea97 100644 --- a/linux/linux-mtx-1_2.4.27.oe +++ b/linux/linux-mtx-1_2.4.27.oe @@ -0,0 +1,51 @@ +DESCRIPTION = "Linux kernel for MTX-1 (MeshCube)" +MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" +LICENSE = "GPL" +KV = "${PV}" +PACKAGE_ARCH = "mtx-1" +RDEPENDS = "mtd" + +SRC_URI = "cvs://cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4 \ + ftp://ftp.linux-mips.org/pub/linux/mips/people/ppopov/2.4/zboot-2.4.26.patch;patch=1 \ + ftp://ftp.linux-mips.org/pub/linux/mips/people/ppopov/2.4/usb-nonpci-2.4.24.patch;patch=1 \ + file://mtx-1-board-reset.diff;patch=1 \ + file://zimage-flash-bin.patch;patch=1 \ + file://defconfig-mtx-1" + +S = "${WORKDIR}/linux" + +BROKEN = "1" +inherit kernel + +ARCH = "mips" +KERNEL_OUTPUT = "arch/mips/zboot/images/mtx-1.flash.bin" +KERNEL_IMAGETYPE = "zImage.flash" +KERNEL_IMAGEDEST = "tmp" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig-mtx-1 ${S}/.config +} + +pkg_postinst_kernel() { +if test "x$D" != "x"; then + exit 1 +else + if test -e /tmp/zImage.flash.bin-${KV}; then + echo "*** flashing kernel ***" + flashcp -v /tmp/zImage.flash.bin-${KV} /dev/mtd/2 + echo "*** done. please reboot ***" + fi +fi +} + +FILES_kernel += " /tmp" + +do_deploy() { + install -d ${DEPLOY_DIR}/images + install -m 0644 arch/mips/zboot/images/mtx-1.flash.bin ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.bin + install -m 0644 arch/mips/zboot/images/mtx-1.flash.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.srec +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile
\ No newline at end of file |