diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-24 14:06:13 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-24 14:06:13 +0000 |
commit | cb726c166d9c6d17f5232ba3aea650b5a8411ce4 (patch) | |
tree | 69b991d43f55484b6307784e5b68e00a51594814 /package/kexec/kexec-patch.sh | |
parent | 29cc530407abd7b4ead9faba33da84d789ba94b7 (diff) | |
download | buildroot-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-x | package/kexec/kexec-patch.sh | 16 |
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 + |