Commit ff45e99dcd31e1810a9892ce28190bff262e4e12

Authored by Alexey Dobriyan
Committed by Linus Torvalds
1 parent 66f9f59a5b

[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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

scripts/extract-ikconfig
... ... @@ -4,6 +4,7 @@
4 4 # $arg1 is [b]zImage filename
5 5  
6 6 binoffset="./scripts/binoffset"
  7 +test -e $binoffset || cc -o $binoffset ./scripts/binoffset.c || exit 1
7 8  
8 9 IKCFG_ST="0x49 0x4b 0x43 0x46 0x47 0x5f 0x53 0x54"
9 10 IKCFG_ED="0x49 0x4b 0x43 0x46 0x47 0x5f 0x45 0x44"