diff options
author | Michael-Luke Jones <mlj28@cam.ac.uk> | 2006-09-22 14:27:20 +0000 |
---|---|---|
committer | Michael-Luke Jones <mlj28@cam.ac.uk> | 2006-09-22 14:27:20 +0000 |
commit | 78d125278b2af4fbf2f02ee1ee4ae6a2ed84015b (patch) | |
tree | d64da1d9b62cd0615730e3dd3d63c68251dfcc66 /packages/linux/ixp4xx-kernel-svnpatch.inc | |
parent | af4d18186452dd98c27dc6ac933a157d3d63acd0 (diff) |
ixp4xx-kernel-2.6.18: pull patches automatically from SVN
* Improved previous system so patch tree is pulled automagically
* Specific SVN revision can be specified
* Patches applied using quilt
Diffstat (limited to 'packages/linux/ixp4xx-kernel-svnpatch.inc')
-rw-r--r-- | packages/linux/ixp4xx-kernel-svnpatch.inc | 10 |
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 +} + |