fsg3-kernel: Default kernel for Freecom FSG-3, with build defaults in fsgbe.conf...
authorRod Whitby <rod@whitby.id.au>
Sun, 8 Jul 2007 05:45:42 +0000 (05:45 +0000)
committerRod Whitby <rod@whitby.id.au>
Sun, 8 Jul 2007 05:45:42 +0000 (05:45 +0000)
conf/machine/fsg3be.conf
packages/linux/fsg3-kernel_2.6.18.bb [new file with mode: 0644]

index 4081c68..a909a0f 100644 (file)
@@ -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 (file)
index 0000000..2e9991f
--- /dev/null
@@ -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