kvm_stat: move groups and events into well defined objects
[qemu/qemu-dev-zwu.git] / pc-bios / optionrom / Makefile
blobda1a8b849380a10d8e8fb5b1dcca9c5f4c28d3d3
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 $(call set-vpath, $(SRC_PATH)/pc-bios/optionrom)
10 .PHONY : all clean build-all
12 CFLAGS := -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin
13 CFLAGS += -I$(SRC_PATH)
14 CFLAGS += $(call cc-option, $(CFLAGS), -fno-stack-protector)
15 QEMU_CFLAGS = $(CFLAGS)
17 build-all: multiboot.bin linuxboot.bin
19 build-all: extboot.bin vapic.bin
21 %.img: %.o
22 $(call quiet-command,$(LD) -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@")
24 %.raw: %.img
25 $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@," Building $(TARGET_DIR)$@")
27 %.bin: %.raw
28 $(call quiet-command,$(SHELL) $(SRC_PATH)/scripts/signrom.sh $< $@," Signing $(TARGET_DIR)$@")
30 clean:
31 rm -f *.o *.d *.raw *.img *.bin *~