summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel-svnpatch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/ixp4xx-kernel-svnpatch.inc')
-rw-r--r--packages/linux/ixp4xx-kernel-svnpatch.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/linux/ixp4xx-kernel-svnpatch.inc b/packages/linux/ixp4xx-kernel-svnpatch.inc
new file mode 100644
index 0000000000..ab122ca67f
--- /dev/null
+++ b/packages/linux/ixp4xx-kernel-svnpatch.inc
@@ -0,0 +1,10 @@
+addtask svnpatch before do_configure after do_patch
+
+do_svnpatch() {
+ svn co http://svn.nslu2-linux.org/svnroot/kernel/branches/ixp_npe/patches/${PV} --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
+}
+