summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-03-24 12:15:56 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 16:33:21 +0100
commitff45e99dcd31e1810a9892ce28190bff262e4e12 (patch)
tree81d1e76fa63acd316e82b448a4c3878238fb822c /scripts
parent[PATCH] extract-ikconfig: use mktemp(1) (diff)
downloadlinux-ff45e99dcd31e1810a9892ce28190bff262e4e12.tar.xz
linux-ff45e99dcd31e1810a9892ce28190bff262e4e12.zip
[PATCH] extract-ikconfig: be sure binoffset exists before extracting
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/extract-ikconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig
index ef6140dc2ded..be2e57977419 100755
--- a/scripts/extract-ikconfig
+++ b/scripts/extract-ikconfig
@@ -4,6 +4,7 @@
# $arg1 is [b]zImage filename
binoffset="./scripts/binoffset"
+test -e $binoffset || cc -o $binoffset ./scripts/binoffset.c || exit 1
IKCFG_ST="0x49 0x4b 0x43 0x46 0x47 0x5f 0x53 0x54"
IKCFG_ED="0x49 0x4b 0x43 0x46 0x47 0x5f 0x45 0x44"