summaryrefslogtreecommitdiff
path: root/recipes/nonworking/linux
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/nonworking/linux
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/nonworking/linux')
-rw-r--r--recipes/nonworking/linux/linux-mtx-1_2.4.24.bb63
1 files changed, 63 insertions, 0 deletions
diff --git a/recipes/nonworking/linux/linux-mtx-1_2.4.24.bb b/recipes/nonworking/linux/linux-mtx-1_2.4.24.bb
new file mode 100644
index 0000000000..81c51ce6a4
--- /dev/null
+++ b/recipes/nonworking/linux/linux-mtx-1_2.4.24.bb
@@ -0,0 +1,63 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for MTX-1 (MeshCube)"
+LICENSE = "GPL"
+KV = "${PV}"
+RDEPENDS = "mtd-utils"
+PR ="r2"
+
+SRC_URI = "cvs://cvs:cvs@ftp.linux-mips.org/home/cvs;module=linux;tag=linux_2_4_24_pre2 \
+ 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-zboot-2.4.24.patch;patch=1 \
+ file://05-zboot-cflags.diff;patch=1 \
+ file://06-zboot-mtx.diff;patch=1 \
+ file://07-zimage-flash-bin.patch;patch=1 \
+ file://08-usb-nonpci-2.4.24.patch;patch=1 \
+ file://09-iw-max-spy-32.diff;patch=1 \
+ file://10-mtx-pci-slots.diff;patch=1 \
+ file://11-mtx-extraversion.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-vlan.diff;patch=1 \
+ file://15-mtd-proc-partition-rw.diff;patch=1 \
+ file://defconfig-mtx-1"
+
+S = "${WORKDIR}/linux"
+
+inherit module-base kernel
+
+PACKAGE_ARCH = "mtx-1"
+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-${KV}; then
+ echo "*** flashing kernel ***"
+ flashcp -v /tmp/zImage.flash-${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}.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