[SeaBIOS] [[PATCH] ] Prevent build failure by not splitting line in the middle of arguments to checkrom.py script

Sander Eikelenboom linux at eikelenboom.it
Thu Jan 9 20:18:43 CET 2014


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 at eikelenboom.it>
---
 Makefile |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index cb15217..8efc902 100644
--- 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 $@"
-- 
1.7.10.4




More information about the SeaBIOS mailing list