2 # Dummy command so that make thinks it has done something
5 include ../../config-host.mak
6 include $(SRC_PATH)/rules.mak
8 VPATH=$(SRC_PATH)/pc-bios/optionrom
10 CFLAGS = -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
11 CFLAGS += -I$(SRC_PATH)
12 CFLAGS += $(call cc-option, -fno-stack-protector,"")
14 build-all: multiboot.bin
17 $(call quiet-command,$(LD) -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@")
20 $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@," Building $(TARGET_DIR)$@")
23 $(call quiet-command,$(SHELL) $(SRC_PATH)/pc-bios/optionrom/signrom.sh $< $@," Signing $(TARGET_DIR)$@")
26 $(RM) *.o *.img *.bin *~