sync with latest
[sdk/emulator/qemu.git] / Makefile.hw
1 # Makefile for qemu target independent devices.
2
3 include ../config-host.mak
4 include ../config-all-devices.mak
5 include config.mak
6 include $(SRC_PATH)/rules.mak
7
8 .PHONY: all
9
10 $(call set-vpath, $(SRC_PATH))
11
12 QEMU_CFLAGS+=-I..
13 QEMU_CFLAGS += -I$(SRC_PATH)/include
14
15 include $(SRC_PATH)/Makefile.objs
16
17 all: $(hw-obj-y)
18 # Dummy command so that make thinks it has done something
19         @true
20
21 clean:
22         rm -f $(addsuffix *.o, $(sort $(dir $(hw-obj-y))))
23         rm -f $(addsuffix *.d, $(sort $(dir $(hw-obj-y))))