summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-07-08 05:45:42 +0000
committerRod Whitby <rod@whitby.id.au>2007-07-08 05:45:42 +0000
commitb823b9ffae735b9bd98a7bec82da8f53963cd23e (patch)
tree0ef9fe5df58c04857d76fb39608aa373859b4f50
parent8066c2125eb20ba1cf3634873f2a4e72591c8005 (diff)
fsg3-kernel: Default kernel for Freecom FSG-3, with build defaults in fsgbe.conf to match vendor binary modules.
-rw-r--r--conf/machine/fsg3be.conf7
-rw-r--r--packages/linux/fsg3-kernel_2.6.18.bb22
2 files changed, 26 insertions, 3 deletions
diff --git a/conf/machine/fsg3be.conf b/conf/machine/fsg3be.conf
index 4081c68a7d..a909a0f43c 100644
--- a/conf/machine/fsg3be.conf
+++ b/conf/machine/fsg3be.conf
@@ -10,13 +10,14 @@ MACHINE_ARCH = "ixp4xxbe"
OVERRIDES = "local:${MACHINE}:ixp4xxbe:ixp4xx:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
-require conf/machine/include/ixp4xx.conf
-
# Match the vendor's latest kernel
-PREFERRED_VERSION_ixp4xx-kernel = "2.6.18"
+PREFERRED_PROVIDER_virtual/kernel ?= "fsg3-kernel"
+PREFERRED_VERSION_fsg3-kernel = "2.6.18"
KERNEL_CCSUFFIX = "-3.4.4+csl-arm-2005q3"
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-3.4.4+csl-arm-2005q3 = "gcc-cross-kernel-3.4.4"
PREFERRED_VERSION_virtual/${TARGET_PREFIX}gcc-3.4.4+csl-arm-2005q3 = "csl-arm-2005q3"
+require conf/machine/include/ixp4xx.conf
+
# No room for jffs2 - the rootfs needs to be installed directly to disk
IMAGE_FSTYPES = "tar.gz"
diff --git a/packages/linux/fsg3-kernel_2.6.18.bb b/packages/linux/fsg3-kernel_2.6.18.bb
new file mode 100644
index 0000000000..2e9991f548
--- /dev/null
+++ b/packages/linux/fsg3-kernel_2.6.18.bb
@@ -0,0 +1,22 @@
+# Kernel for Freecom FSG-3
+#
+# 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 = "898"
+#
+# The directory containing the patches to be applied is
+# specified below
+IXP4XX_KERNEL_PATCH_DIR = "2.6.18-fsg3"
+#
+# 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