From cb726c166d9c6d17f5232ba3aea650b5a8411ce4 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Tue, 24 Jul 2007 14:06:13 +0000 Subject: Patch correctly kexec, make sure utils is built using HOSTCC --- package/kexec/kexec-patch.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 package/kexec/kexec-patch.sh (limited to 'package/kexec/kexec-patch.sh') 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 + -- cgit v1.2.3