summaryrefslogtreecommitdiffstats
path: root/toolchain/patch-kernel.sh
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-13 17:10:40 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-13 17:10:40 +0000
commit417c4acc4a75023237687193249f06e542e4e8b1 (patch)
tree344abf8a640554411bc71b98891bbc70e0ee20b7 /toolchain/patch-kernel.sh
parentd683677b2a335f04db7948c3e69a3a4a0f4d6e31 (diff)
downloadbuildroot-novena-417c4acc4a75023237687193249f06e542e4e8b1.tar.gz
buildroot-novena-417c4acc4a75023237687193249f06e542e4e8b1.zip
make patch-kernel create lists of applied patches, very handy indeed
Diffstat (limited to 'toolchain/patch-kernel.sh')
-rwxr-xr-xtoolchain/patch-kernel.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/patch-kernel.sh b/toolchain/patch-kernel.sh
index b6722cecd..5a29c6773 100755
--- a/toolchain/patch-kernel.sh
+++ b/toolchain/patch-kernel.sh
@@ -37,6 +37,7 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
esac
echo ""
echo "Applying ${i} using ${type}: "
+ echo ${i} | cat >> ${targetdir}/.applied_patches_list
${uncomp} ${patchdir}/${i} | patch -p1 -E -d ${targetdir}
if [ $? != 0 ] ; then
echo "Patch failed! Please fix $i!"