Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190624' into staging
[qemu/ar7.git] / pc-bios / spapr-rtas / Makefile
blobf26dd428b79e6676c1b55f28659f170fca3f5e18
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 %.img: %.o
18 $(call quiet-command,$(CC) -nostdlib -o $@ $<,"Building","$(TARGET_DIR)$@")
20 %.bin: %.img
21 $(call quiet-command,$(OBJCOPY) -O binary -j .text $< $@,"Building","$(TARGET_DIR)$@")
23 clean:
24 rm -f *.o *.d *.img *.bin *~