From: Alexey Dobriyan Date: Fri, 24 Mar 2006 11:15:56 +0000 (-0800) Subject: [PATCH] extract-ikconfig: be sure binoffset exists before extracting X-Git-Tag: v2.6.17-rc1~935 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff45e99dcd31e1810a9892ce28190bff262e4e12;p=linux-2.6 [PATCH] extract-ikconfig: be sure binoffset exists before extracting Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/extract-ikconfig b/scripts/extract-ikconfig index ef6140dc2d..be2e579774 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"