linux-ezx: remove old kernel, update 2.6.21 and add script to generate SRC_URI from...
[openembedded.git] / packages / linux / linux-ezx-2.6.21 / update_patches.sh
1 #!/bin/sh
2 set -e
3
4 # Helper script to update patches and speedup filling the SRC_URI section of our .bb
5 # Run it while in packages/linux/linux-ezx-2.6.x/
6
7 [ -d patches ] && mtn drop -R patches
8 rm -rf patches
9
10 svn --quiet co http://svn.openezx.org/trunk/src/kernel-2.6/patches/ patches
11 find patches -type f -print0 
12 mtn add patches patches/*
13
14 cat patches/series | grep ^[0-9A-Za-z] | sed -e 's/.*/\tfile:\/\/patches\/\0;patch=1 \\/'
15 ls -1 patches/defconfig-* | sed -e 's/.*/\tfile:\/\/\0 \\/'
16