ixp4xx-kernel: Updates from blaster8
authorOyvind Repvik <nail@nslu2-linux.org>
Sat, 14 Oct 2006 10:51:13 +0000 (10:51 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Sat, 14 Oct 2006 10:51:13 +0000 (10:51 +0000)
packages/linux/ixp4xx-kernel-svnpatch.inc
packages/linux/ixp4xx-kernel_2.6.18.bb
packages/linux/ixp4xx-kernel_2.6.19-rc2.bb [new file with mode: 0644]

index 573888f..30d7eee 100644 (file)
@@ -1,12 +1,11 @@
 addtask svnpatch before do_configure after do_patch
 
-IXP4XX_KERNEL_SVN_REPO ?= http://svn.nslu2-linux.org/svnroot/kernel/trunk
+IXP4XX_KERNEL_SVN_REPO = http://svn.nslu2-linux.org/svnroot/kernel/trunk
 
 do_svnpatch() {
-       svn co ${IXP4XX_KERNEL_SVN_REPO}/patches/${PV} --revision ${IXP4XX_KERNEL_SVN_REV} ${WORKDIR}/patches-${PV}
+       svn co ${IXP4XX_KERNEL_SVN_REPO}/patches/${IXP4XX_KERNEL_PATCH_DIR} --revision ${IXP4XX_KERNEL_SVN_REV} ${WORKDIR}/patches-${PV}
        cp ${WORKDIR}/patches-${PV}/defconfig ${WORKDIR}/defconfig
        rm -rf ${S}/patches
        cd ${S} && ln -s ${WORKDIR}/patches-${PV} ${S}/patches
-       cd ${S} && ${STAGING_BINDIR}/quilt push -av
+       cd ${S} && rm -rf .pc && ${STAGING_BINDIR}/quilt push -av
 }
-
index 963658f..611ff8c 100644 (file)
@@ -6,7 +6,11 @@
 # http://trac.nslu2-linux.org/kernel/
 #
 # The revision that is pulled from SVN is specified below
-IXP4XX_KERNEL_SVN_REV = "446"
+IXP4XX_KERNEL_SVN_REV = "473"
+#
+# The directory containing the patches to be applied is
+# specified below
+IXP4XX_KERNEL_PATCH_DIR = "2.6.18"
 #
 # Increment the number below (i.e. the digits after PR) when
 # the changes in SVN between revisions include changes in the
diff --git a/packages/linux/ixp4xx-kernel_2.6.19-rc2.bb b/packages/linux/ixp4xx-kernel_2.6.19-rc2.bb
new file mode 100644 (file)
index 0000000..9ed2aa7
--- /dev/null
@@ -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 = "473"
+#
+# The directory containing the patches to be applied is
+# specified below
+IXP4XX_KERNEL_PATCH_DIR = "2.6.19"
+#
+# 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