nslu2-linksys-kernel: subsumed into unslung-kernel
authorRod Whitby <rod@whitby.id.au>
Tue, 23 Jan 2007 06:43:40 +0000 (06:43 +0000)
committerRod Whitby <rod@whitby.id.au>
Tue, 23 Jan 2007 06:43:40 +0000 (06:43 +0000)
12 files changed:
packages/linux/nslu2-linksys-kernel-2.4.22/nslu2/.mtn2git_empty [deleted file]
packages/linux/nslu2-linksys-kernel_2.4.22.bb [deleted file]
packages/linux/unslung-kernel/config-fixes.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/config-fixes.patch with 100% similarity]
packages/linux/unslung-kernel/double_cpdo.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/double_cpdo.patch with 100% similarity]
packages/linux/unslung-kernel/gcc-registerparanoia.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/gcc-registerparanoia.patch with 100% similarity]
packages/linux/unslung-kernel/gcc3-userfuncs.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/gcc3-userfuncs.patch with 100% similarity]
packages/linux/unslung-kernel/linux-2.4.24-attribute-used.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/linux-2.4.24-attribute-used.patch with 100% similarity]
packages/linux/unslung-kernel/nofpu.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/nofpu.patch with 100% similarity]
packages/linux/unslung-kernel/nslu2/.mtn2git_empty [moved from packages/linux/nslu2-linksys-kernel-2.4.22/.mtn2git_empty with 100% similarity]
packages/linux/unslung-kernel/nslu2/defconfig [moved from packages/linux/nslu2-linksys-kernel-2.4.22/nslu2/defconfig with 100% similarity]
packages/linux/unslung-kernel/short_loadbytes.patch [moved from packages/linux/nslu2-linksys-kernel-2.4.22/short_loadbytes.patch with 100% similarity]
packages/linux/unslung-kernel_2.4.22.l2.3r63.bb

diff --git a/packages/linux/nslu2-linksys-kernel-2.4.22/nslu2/.mtn2git_empty b/packages/linux/nslu2-linksys-kernel-2.4.22/nslu2/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/linux/nslu2-linksys-kernel_2.4.22.bb b/packages/linux/nslu2-linksys-kernel_2.4.22.bb
deleted file mode 100644 (file)
index 7132d41..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-SECTION = "kernel"
-DESCRIPTION = "Linux kernel for the Linksys NSLU2 device"
-LICENSE = "GPL"
-PR = "r2"
-
-SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2 \
-          http://nslu.sf.net/downloads/xfs-2.4.22-all-i386.bz2;patch=1 \
-          http://nslu.sf.net/downloads/2.4.22-xfs-nslu2.patch.bz2;patch=1 \
-          file://config-fixes.patch;patch=1 \
-          file://nofpu.patch;patch=1 \
-          file://short_loadbytes.patch;patch=1 \
-          file://gcc3-userfuncs.patch;patch=1 \
-          file://gcc-registerparanoia.patch;patch=1 \
-          file://linux-2.4.24-attribute-used.patch;patch=1 \
-          file://double_cpdo.patch;patch=1 \
-           file://defconfig"
-S = "${WORKDIR}/linux-2.4.22"
-
-COMPATIBLE_HOST = 'arm.*-linux'
-COMPATIBLE_MACHINE = "nslu2"
-
-inherit kernel
-
-ARCH = "arm"
-KERNEL_IMAGETYPE = "zImage"
-KERNEL_SUFFIX ?= "nslu2-linksys"
-CMDLINE_CONSOLE ?= "ttyS0,115200"
-CMDLINE_ROOT = "root=/dev/ram0 initrd=0x01000000,10M mem=32M@0x00000000"
-CMDLINE = "${CMDLINE_CONSOLE} ${CMDLINE_ROOT}"
-
-do_configure_prepend() {
-       install -m 0644 ${WORKDIR}/defconfig ${S}/.config
-       echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
-       rm -rf ${S}/include/asm-arm/arch ${S}/include/asm-arm/proc \
-              ${S}/include/asm-arm/.proc ${S}/include/asm-arm/.arch
-}
-
-do_deploy() {
-        install -d ${DEPLOY_DIR_IMAGE}
-        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_SUFFIX}
-}
-
-do_deploy[dirs] = "${S}"
-
-addtask deploy before do_build after do_compile
index 6a22591..531f389 100644 (file)
@@ -1,30 +1,61 @@
 SECTION = "kernel"
+DESCRIPTION = "Vendor-compatible Linux kernel for the Linksys NSLU2 device"
+LICENSE = "GPL"
+PR = "r17"
+
+COMPATIBLE_HOST = 'arm.*-linux'
 COMPATIBLE_MACHINE = "nslu2"
 
-require nslu2-linksys-kernel_2.4.22.bb
+UNSLUNG_KERNEL_EXTRA_SRC_URI ?= ""
 
-DESCRIPTION = "Unslung kernel for the Linksys NSLU2 device"
-PR = "r17"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2 \
+          http://nslu.sf.net/downloads/xfs-2.4.22-all-i386.bz2;patch=1 \
+          http://nslu.sf.net/downloads/2.4.22-xfs-nslu2.patch.bz2;patch=1 \
+          file://config-fixes.patch;patch=1 \
+          file://nofpu.patch;patch=1 \
+          file://short_loadbytes.patch;patch=1 \
+          file://gcc3-userfuncs.patch;patch=1 \
+          file://gcc-registerparanoia.patch;patch=1 \
+          file://linux-2.4.24-attribute-used.patch;patch=1 \
+          file://double_cpdo.patch;patch=1 \
+          file://linux-kernel-R25_to_R29.patch;patch=1 \
+          file://linux-kernel-R29_to_R63.patch;patch=1 \
+          file://flash-is-now-hdd.patch;patch=1 \
+          file://gl811e.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://pl2303_mdmctl.patch;patch=1 \
+          file://netconsole.patch;patch=1 \
+          file://ppp_mppe_no_fp_in_kernel.patch;patch=1 \
+           file://defconfig \
+          ${UNSLUNG_KERNEL_EXTRA_SRC_URI}"
+S = "${WORKDIR}/linux-2.4.22"
 
-KERNEL_SUFFIX = "unslung"
+inherit kernel
 
+ARCH = "arm"
+KERNEL_IMAGETYPE = "zImage"
+KERNEL_SUFFIX = "unslung"
+CMDLINE_CONSOLE ?= "ttyS0,115200"
 CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 rw init=/linuxrc mem=32M@0x00000000"
+CMDLINE = "${CMDLINE_CONSOLE} ${CMDLINE_ROOT}"
+
+do_configure_prepend() {
+       install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+       echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
+       rm -rf ${S}/include/asm-arm/arch ${S}/include/asm-arm/proc \
+              ${S}/include/asm-arm/.proc ${S}/include/asm-arm/.arch
+}
+
+do_deploy() {
+        install -d ${DEPLOY_DIR_IMAGE}
+        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_SUFFIX}
+}
+
+do_deploy[dirs] = "${S}"
 
-UNSLUNG_KERNEL_EXTRA_SRC_URI ?=
-
-SRC_URI += "file://linux-kernel-R25_to_R29.patch;patch=1 \
-           file://linux-kernel-R29_to_R63.patch;patch=1 \
-           file://flash-is-now-hdd.patch;patch=1 \
-           file://gl811e.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://pl2303_mdmctl.patch;patch=1 \
-           file://netconsole.patch;patch=1 \
-           file://ppp_mppe_no_fp_in_kernel.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)}"
+addtask deploy before do_build after do_compile