From 18338970d6b0f87856fa6c7a6b31c93d00adeb70 Mon Sep 17 00:00:00 2001 From: Rod Whitby Date: Sun, 4 Feb 2007 20:58:12 +0000 Subject: [PATCH] ixp4xx-kernel: Updated to 2.6.20 --- packages/linux/ixp4xx-kernel_2.6.19.bb | 15 ++++++++++++++- ...6.19+2.6.20-rc6.bb => ixp4xx-kernel_2.6.20.bb} | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) rename packages/linux/{ixp4xx-kernel_2.6.19+2.6.20-rc6.bb => ixp4xx-kernel_2.6.20.bb} (63%) diff --git a/packages/linux/ixp4xx-kernel_2.6.19.bb b/packages/linux/ixp4xx-kernel_2.6.19.bb index 3be13fd971..6841c93d00 100644 --- a/packages/linux/ixp4xx-kernel_2.6.19.bb +++ b/packages/linux/ixp4xx-kernel_2.6.19.bb @@ -6,7 +6,7 @@ # http://trac.nslu2-linux.org/kernel/ # # The revision that is pulled from SVN is specified below -IXP4XX_KERNEL_SVN_REV = "681" +IXP4XX_KERNEL_SVN_REV = "682" # # The directory containing the patches to be applied is # specified below @@ -23,3 +23,16 @@ require ixp4xx-kernel-svnpatch.inc SRC_URI += "file://defconfig" SRC_URI += "file://series" + +# Remove the specific cmdline hacking patches if we are not building for nslu2. +addtask remove_cmdline_hacks before do_patch after do_unpack +do_remove_cmdline_hacks() { + +# if [ "${MACHINE}" != "nslu2" ] ; then + sed -e '/88-nas100d-dflt-cmdline.patch/d' \ + -e '/88-nslu2-dflt-cmdline.patch/d' \ + '${WORKDIR}/series' > '${WORKDIR}/series.new' + mv '${WORKDIR}/series.new' '${WORKDIR}/series' +# fi + +} diff --git a/packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc6.bb b/packages/linux/ixp4xx-kernel_2.6.20.bb similarity index 63% rename from packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc6.bb rename to packages/linux/ixp4xx-kernel_2.6.20.bb index 5ab6d5c6e7..0cc6b387f7 100644 --- a/packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc6.bb +++ b/packages/linux/ixp4xx-kernel_2.6.20.bb @@ -6,7 +6,7 @@ # http://trac.nslu2-linux.org/kernel/ # # The revision that is pulled from SVN is specified below -IXP4XX_KERNEL_SVN_REV = "681" +IXP4XX_KERNEL_SVN_REV = "682" # # The directory containing the patches to be applied is # specified below @@ -23,3 +23,16 @@ require ixp4xx-kernel-svnpatch.inc SRC_URI += "file://defconfig" SRC_URI += "file://series" + +# Remove the specific cmdline hacking patches if we are not building for nslu2. +addtask remove_cmdline_hacks before do_patch after do_unpack +do_remove_cmdline_hacks() { + + if [ "${MACHINE}" != "nslu2" ] ; then + sed -e '/88-nas100d-dflt-cmdline.patch/d' \ + -e '/88-nslu2-dflt-cmdline.patch/d' \ + '${WORKDIR}/series' > '${WORKDIR}/series.new' + mv '${WORKDIR}/series.new' '${WORKDIR}/series' + fi + +} -- 2.39.5