From 111f86089107b5ad0964e4c83f5560ed088addef Mon Sep 17 00:00:00 2001 From: John Bowler Date: Fri, 1 Jul 2005 20:41:54 +0000 Subject: Fix unslung image build by putting the kernel version number into the package (.bb) PV value --- packages/linux/unslung-kernel_2.3r25.bb | 34 ------------------------ packages/linux/unslung-kernel_2.3r29.bb | 35 ------------------------- packages/linux/unslung-kernel_2.4.22.l2.3r25.bb | 34 ++++++++++++++++++++++++ packages/linux/unslung-kernel_2.4.22.l2.3r29.bb | 35 +++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 69 deletions(-) delete mode 100644 packages/linux/unslung-kernel_2.3r25.bb delete mode 100644 packages/linux/unslung-kernel_2.3r29.bb create mode 100644 packages/linux/unslung-kernel_2.4.22.l2.3r25.bb create mode 100644 packages/linux/unslung-kernel_2.4.22.l2.3r29.bb (limited to 'packages') diff --git a/packages/linux/unslung-kernel_2.3r25.bb b/packages/linux/unslung-kernel_2.3r25.bb deleted file mode 100644 index 99bf69abf8..0000000000 --- a/packages/linux/unslung-kernel_2.3r25.bb +++ /dev/null @@ -1,34 +0,0 @@ -SECTION = "kernel" - -include nslu2-linksys-kernel_2.4.22.bb - -DESCRIPTION = "Unslung kernel for the Linksys NSLU2 device" -MAINTAINER = "NSLU2 Linux " -PR = "r19" - -KERNEL_SUFFIX = "unslung" - -CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rw init=/linuxrc mem=32M@0x00000000" - -UNSLUNG_KERNEL_EXTRA_SRC_URI ?= - -SRC_URI += "file://limit1gb.patch;patch=1 \ - file://gl811e.patch;patch=1 \ - file://ext3flash-on-disk1.patch;patch=1 \ - file://usbnet.patch;patch=1 \ - file://missing-usb-ioctls.patch;patch=1 \ - file://anonymiser.patch;patch=1 \ - file://ppp_mppe.patch;patch=1 \ - file://nfs-blocksize.patch;patch=1 \ - file://pl2303.patch;patch=1 \ - ${UNSLUNG_KERNEL_EXTRA_SRC_URI}" - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel', '${FILE_DIRNAME}/nslu2-linksys-kernel-2.4.22', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" - -python () { - # Don't build unslung kernel unless we're targeting an nslu2 - mach = bb.data.getVar("MACHINE", d, 1) - dist = bb.data.getVar("DISTRO", d, 1) - if mach != 'nslu2' or dist != 'unslung': - raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2") -} diff --git a/packages/linux/unslung-kernel_2.3r29.bb b/packages/linux/unslung-kernel_2.3r29.bb deleted file mode 100644 index 604dbd21ba..0000000000 --- a/packages/linux/unslung-kernel_2.3r29.bb +++ /dev/null @@ -1,35 +0,0 @@ -SECTION = "kernel" - -include nslu2-linksys-kernel_2.4.22.bb - -DESCRIPTION = "Unslung kernel for the Linksys NSLU2 device" -MAINTAINER = "NSLU2 Linux " -PR = "r2" - -KERNEL_SUFFIX = "unslung" - -CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rw init=/linuxrc mem=32M@0x00000000" - -UNSLUNG_KERNEL_EXTRA_SRC_URI ?= - -SRC_URI += "file://limit1gb.patch;patch=1 \ - file://gl811e.patch;patch=1 \ - file://ext3flash-on-disk1.patch;patch=1 \ - file://usbnet.patch;patch=1 \ - file://missing-usb-ioctls.patch;patch=1 \ - file://anonymiser.patch;patch=1 \ - file://ppp_mppe.patch;patch=1 \ - file://nfs-blocksize.patch;patch=1 \ - file://pl2303.patch;patch=1 \ - file://linux-kernel-R25_to_R29.patch;patch=1 \ - ${UNSLUNG_KERNEL_EXTRA_SRC_URI}" - -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel', '${FILE_DIRNAME}/nslu2-linksys-kernel-2.4.22', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" - -python () { - # Don't build unslung kernel unless we're targeting an nslu2 - mach = bb.data.getVar("MACHINE", d, 1) - dist = bb.data.getVar("DISTRO", d, 1) - if mach != 'nslu2' or dist != 'unslung': - raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2") -} diff --git a/packages/linux/unslung-kernel_2.4.22.l2.3r25.bb b/packages/linux/unslung-kernel_2.4.22.l2.3r25.bb new file mode 100644 index 0000000000..99bf69abf8 --- /dev/null +++ b/packages/linux/unslung-kernel_2.4.22.l2.3r25.bb @@ -0,0 +1,34 @@ +SECTION = "kernel" + +include nslu2-linksys-kernel_2.4.22.bb + +DESCRIPTION = "Unslung kernel for the Linksys NSLU2 device" +MAINTAINER = "NSLU2 Linux " +PR = "r19" + +KERNEL_SUFFIX = "unslung" + +CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rw init=/linuxrc mem=32M@0x00000000" + +UNSLUNG_KERNEL_EXTRA_SRC_URI ?= + +SRC_URI += "file://limit1gb.patch;patch=1 \ + file://gl811e.patch;patch=1 \ + file://ext3flash-on-disk1.patch;patch=1 \ + file://usbnet.patch;patch=1 \ + file://missing-usb-ioctls.patch;patch=1 \ + file://anonymiser.patch;patch=1 \ + file://ppp_mppe.patch;patch=1 \ + file://nfs-blocksize.patch;patch=1 \ + file://pl2303.patch;patch=1 \ + ${UNSLUNG_KERNEL_EXTRA_SRC_URI}" + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel', '${FILE_DIRNAME}/nslu2-linksys-kernel-2.4.22', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + +python () { + # Don't build unslung kernel unless we're targeting an nslu2 + mach = bb.data.getVar("MACHINE", d, 1) + dist = bb.data.getVar("DISTRO", d, 1) + if mach != 'nslu2' or dist != 'unslung': + raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2") +} diff --git a/packages/linux/unslung-kernel_2.4.22.l2.3r29.bb b/packages/linux/unslung-kernel_2.4.22.l2.3r29.bb new file mode 100644 index 0000000000..604dbd21ba --- /dev/null +++ b/packages/linux/unslung-kernel_2.4.22.l2.3r29.bb @@ -0,0 +1,35 @@ +SECTION = "kernel" + +include nslu2-linksys-kernel_2.4.22.bb + +DESCRIPTION = "Unslung kernel for the Linksys NSLU2 device" +MAINTAINER = "NSLU2 Linux " +PR = "r2" + +KERNEL_SUFFIX = "unslung" + +CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rw init=/linuxrc mem=32M@0x00000000" + +UNSLUNG_KERNEL_EXTRA_SRC_URI ?= + +SRC_URI += "file://limit1gb.patch;patch=1 \ + file://gl811e.patch;patch=1 \ + file://ext3flash-on-disk1.patch;patch=1 \ + file://usbnet.patch;patch=1 \ + file://missing-usb-ioctls.patch;patch=1 \ + file://anonymiser.patch;patch=1 \ + file://ppp_mppe.patch;patch=1 \ + file://nfs-blocksize.patch;patch=1 \ + file://pl2303.patch;patch=1 \ + file://linux-kernel-R25_to_R29.patch;patch=1 \ + ${UNSLUNG_KERNEL_EXTRA_SRC_URI}" + +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel', '${FILE_DIRNAME}/nslu2-linksys-kernel-2.4.22', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + +python () { + # Don't build unslung kernel unless we're targeting an nslu2 + mach = bb.data.getVar("MACHINE", d, 1) + dist = bb.data.getVar("DISTRO", d, 1) + if mach != 'nslu2' or dist != 'unslung': + raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2") +} -- cgit v1.2.3