summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-01-09 08:41:36 +0000
committerRod Whitby <rod@whitby.id.au>2007-01-09 08:41:36 +0000
commite53297287a5bb9e25f42b50703e81257c25d018f (patch)
tree6a54021d06994525d33761fcd4f3fe77b6bb6811
parent70e1bf1a453e4d7968b4a4481cf7e203aa793f95 (diff)
ixp4xx-kernel: Updated to 2.6.20-rc4, and made default for SlugOS. Includes latest 0.3.1 version of open source ixp npe driver.
-rw-r--r--conf/distro/include/slugos.inc4
-rw-r--r--packages/linux/ixp4xx-kernel.inc3
-rw-r--r--packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc4.bb22
3 files changed, 27 insertions, 2 deletions
diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc
index b255e85488..7ca663a4d6 100644
--- a/conf/distro/include/slugos.inc
+++ b/conf/distro/include/slugos.inc
@@ -36,7 +36,7 @@
#DISTRO_TYPE
# The following may be overridden to make sub-versions
-SLUGOS_VERSION = "4.1"
+SLUGOS_VERSION = "4.2"
DISTRO_REVISION ?= ""
DISTRO_VERSION ?= "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}"
# For release (only):
@@ -171,7 +171,7 @@ PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627"
# Select the correct versions of the kernel and modules (these are the
# defaults, override in the conf/distro top-level distro file).
PREFERRED_PROVIDER_virtual/kernel ?= "ixp4xx-kernel"
-PREFERRED_VERSION_ixp4xx-kernel ?= "2.6.19"
+PREFERRED_VERSION_ixp4xx-kernel ?= "2.6.19+2.6.20-rc4"
# Select the smallest provider of x11 libraries
PREFERRED_PROVIDER_virtual/libx11 ?= "diet-x11"
diff --git a/packages/linux/ixp4xx-kernel.inc b/packages/linux/ixp4xx-kernel.inc
index a45a690955..099bfca2d3 100644
--- a/packages/linux/ixp4xx-kernel.inc
+++ b/packages/linux/ixp4xx-kernel.inc
@@ -72,6 +72,9 @@ python () {
# pre patches actually require the *preceding* kernel version the code
# fixes that up appropriately.
pv = bb.data.getVar("PV",d,1).split('-')
+ if pv[0].count('+'):
+ prev = pv[0].split('+')
+ pv[0] = prev[1];
kernel = pv[0].split('.')
base = pv[0]
name = [base]
diff --git a/packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc4.bb b/packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc4.bb
new file mode 100644
index 0000000000..d7d4de3b63
--- /dev/null
+++ b/packages/linux/ixp4xx-kernel_2.6.19+2.6.20-rc4.bb
@@ -0,0 +1,22 @@
+# Kernel for IXP4xx
+#
+# This bitbake file pulls patches and the defconfig straight
+# from the NSLU2-Linux SVN repository. Information about this
+# repository can be found at:
+# http://trac.nslu2-linux.org/kernel/
+#
+# The revision that is pulled from SVN is specified below
+IXP4XX_KERNEL_SVN_REV = "659"
+#
+# The directory containing the patches to be applied is
+# specified below
+IXP4XX_KERNEL_PATCH_DIR = "2.6.20"
+#
+# Increment the number below (i.e. the digits after PR) when
+# the changes in SVN between revisions include changes in the
+# patches applied to the kernel, rather than simply defconfig
+# changes
+PR = "r1.${IXP4XX_KERNEL_SVN_REV}"
+
+require ixp4xx-kernel.inc
+require ixp4xx-kernel-svnpatch.inc