summaryrefslogtreecommitdiffstats
path: root/package/kexec/kexec-patch.sh
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:06:13 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:06:13 +0000
commitcb726c166d9c6d17f5232ba3aea650b5a8411ce4 (patch)
tree69b991d43f55484b6307784e5b68e00a51594814 /package/kexec/kexec-patch.sh
parent29cc530407abd7b4ead9faba33da84d789ba94b7 (diff)
downloadbuildroot-novena-cb726c166d9c6d17f5232ba3aea650b5a8411ce4.tar.gz
buildroot-novena-cb726c166d9c6d17f5232ba3aea650b5a8411ce4.zip
Patch correctly kexec, make sure utils is built using HOSTCC
Diffstat (limited to 'package/kexec/kexec-patch.sh')
-rwxr-xr-xpackage/kexec/kexec-patch.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kexec/kexec-patch.sh b/package/kexec/kexec-patch.sh
new file mode 100755
index 000000000..4889705fc
--- /dev/null
+++ b/package/kexec/kexec-patch.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+SRCDIR=$1
+PATCHDIR=$2
+PATCHLIST=${PATCHDIR}/$3
+
+do_patch()
+{
+ cd ${SRCDIR}
+ for f in `cat ${PATCHLIST}` ; do
+ echo ${PATCHDIR}/$f
+ cat ${PATCHDIR}/$f | patch -p2
+ done
+}
+
+do_patch
+