]> xenbits.xensource.com Git - seabios.git/commitdiff
Prevent build failure by not splitting line in the middle of arguments to checkrom...
authorSander Eikelenboom <linux@eikelenboom.it>
Thu, 9 Jan 2014 19:18:43 +0000 (20:18 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 10 Jan 2014 18:07:52 +0000 (13:07 -0500)
File "./scripts/checkrom.py", line 24, in main
    objinfo, finalsize, rawfile, outfile = sys.argv[1:]
ValueError: need more than 3 values to unpack

Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it>
Makefile

index 414c90a841d46963d84b5bea905c7420fdd8e11c..de913290f4c6c92a5fb7de336e6f0d9a46d0dc3a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -182,8 +182,7 @@ $(OUT)bios.bin.prep: $(OUT)rom.o scripts/checkrom.py
        $(Q)rm -f $(OUT)bios.bin $(OUT)Csm16.bin $(OUT)bios.bin.elf
        $(Q)$(OBJDUMP) -thr $< > $<.objdump
        $(Q)$(OBJCOPY) -O binary $< $(OUT)bios.bin.raw
-       $(Q)$(PYTHON) ./scripts/checkrom.py $<.objdump $(CONFIG_ROM_SIZE) \
-               $(OUT)bios.bin.raw $(OUT)bios.bin.prep
+       $(Q)$(PYTHON) ./scripts/checkrom.py $<.objdump $(CONFIG_ROM_SIZE) $(OUT)bios.bin.raw $(OUT)bios.bin.prep
 
 $(OUT)bios.bin: $(OUT)bios.bin.prep
        @echo "  Creating $@"