From 0d6b9cc7420dd2d531b48508f0d4083d1c6a632a Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 27 Jan 2012 19:44:53 +0100 Subject: signrom: Rewrite as python script Now that we have a hard dependency on python anyway, we can replace the slow shell script to calculate the option ROM checksum with a fast AND portable python version. Tested both with python 2.7 and 3.1. Signed-off-by: Jan Kiszka --- pc-bios/optionrom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pc-bios/optionrom/Makefile') diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile index f6b402713b..57d8bd0d6c 100644 --- a/pc-bios/optionrom/Makefile +++ b/pc-bios/optionrom/Makefile @@ -26,7 +26,7 @@ build-all: multiboot.bin linuxboot.bin kvmvapic.bin $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@," Building $(TARGET_DIR)$@") %.bin: %.raw - $(call quiet-command,$(SHELL) $(SRC_PATH)/scripts/signrom.sh $< $@," Signing $(TARGET_DIR)$@") + $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/signrom.py $< $@," Signing $(TARGET_DIR)$@") clean: rm -f *.o *.d *.raw *.img *.bin *~ -- cgit v1.2.3