block/io: bdrv_co_do_copy_on_readv: lazy allocation
[qemu/kevin.git] / pc-bios / spapr-rtas / Makefile
blob4b9bb1230658852d2bfa7b2fd5f104791127d24b
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/spapr-rtas)
10 .PHONY : all clean build-all
12 #CFLAGS += -I$(SRC_PATH)
13 #QEMU_CFLAGS = $(CFLAGS)
15 build-all: spapr-rtas.bin
17 %.o: %.S
18 $(call quiet-command,$(CCAS) -mbig -c -o $@ $<,"CCAS","$(TARGET_DIR)$@")
20 %.img: %.o
21 $(call quiet-command,$(CC) -nostdlib -mbig -o $@ $<,"Building","$(TARGET_DIR)$@")
23 %.bin: %.img
24 $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"Building","$(TARGET_DIR)$@")
26 clean:
27 rm -f *.o *.d *.img *.bin *~