diff options
Diffstat (limited to 'linux/linux-mtx-1_2.4.27.oe')
-rw-r--r-- | linux/linux-mtx-1_2.4.27.oe | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/linux/linux-mtx-1_2.4.27.oe b/linux/linux-mtx-1_2.4.27.oe index 52ba6eea97..855e97e578 100644 --- a/linux/linux-mtx-1_2.4.27.oe +++ b/linux/linux-mtx-1_2.4.27.oe @@ -2,19 +2,29 @@ DESCRIPTION = "Linux kernel for MTX-1 (MeshCube)" MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" LICENSE = "GPL" KV = "${PV}" +PR = "r1" 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 \ +SRC_URI = "cvs://cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4_27 \ + file://01-mtd-2004-01-27.diff;patch=1 \ + file://02-mtd-mtx-1-map.diff;patch=1 \ + file://03-mtd-erase-compiler-bug.diff;patch=1 \ + file://04-mtx-1-board-reset.diff;patch=1 \ + file://05-mtx-1-pci-irq.diff;patch=1 \ + file://06-zboot-2.4.26.patch;patch=1 \ + file://07-zboot-zimage-flash-bin.diff;patch=1 \ + file://08-usb-nonpci-2.4.24.patch;patch=1 \ + file://09-au1000-eth-vlan.diff;patch=1 \ + file://10-iw-max-spy-32.diff;patch=1 \ + file://11-mtd-proc-partition-rw.diff;patch=1 \ + file://12-openswan-2.2.0-nat-t.diff;patch=1 \ + file://13-openswan-2.2.0.patch;patch=1 \ + file://14-au1000-eth-link-beat.diff;patch=1 \ file://defconfig-mtx-1" S = "${WORKDIR}/linux" -BROKEN = "1" inherit kernel ARCH = "mips" @@ -23,16 +33,16 @@ KERNEL_IMAGETYPE = "zImage.flash" KERNEL_IMAGEDEST = "tmp" do_configure_prepend() { - install -m 0644 ${WORKDIR}/defconfig-mtx-1 ${S}/.config + 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 + if test -e /tmp/zImage.flash-${KV}; then echo "*** flashing kernel ***" - flashcp -v /tmp/zImage.flash.bin-${KV} /dev/mtd/2 + flashcp -v /tmp/zImage.flash-${KV} /dev/mtd/2 echo "*** done. please reboot ***" fi fi @@ -42,10 +52,11 @@ 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 + install -m 0644 arch/mips/zboot/images/mtx-1.flash.bin ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.flash.bin + install -m 0644 arch/mips/zboot/images/mtx-1.flash.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.flash.srec + install -m 0644 arch/mips/zboot/images/mtx-1.srec ${DEPLOY_DIR}/images/${MACHINE}-${KV}-${DATETIME}.ram.srec } do_deploy[dirs] = "${S}" -addtask deploy before do_build after do_compile
\ No newline at end of file +addtask deploy before do_build after do_compile |