Fix the size of the property fields.
[qemu/navara.git] / pc-bios / optionrom / Makefile
blob7ddc242c8191cb0d19b404c9eeb5e4f66d1179ea
1 all: build-all
2 # Dummy command so that make thinks it has done something
3 @true
5 include ../../config-host.mak
6 include $(SRC_PATH)/rules.mak
8 VPATH=$(SRC_PATH)/pc-bios/optionrom
10 CPPFLAGS = -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
11 CPPFLAGS += -I$(SRC_PATH)
12 CPPFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector,"")
14 build-all: multiboot.bin
16 %.img: %.o
17 $(call quiet-command,$(LD) -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@")
19 %.raw: %.img
20 $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@," Building $(TARGET_DIR)$@")
22 %.bin: %.raw
23 $(call quiet-command,$(SRC_PATH)/pc-bios/optionrom/signrom.sh $< $@," Signing $(TARGET_DIR)$@")
25 clean:
26 $(RM) *.o *.img *.bin *~