Statistics
| Branch: | Revision:

root / Makefile.hw @ 1435ddb8

History | View | Annotate | Download (490 Bytes)

1 1ad2134f Paul Brook
# Makefile for qemu target independent devices.
2 1ad2134f Paul Brook
3 1ad2134f Paul Brook
include ../config-host.mak
4 1f3d3c8f Juan Quintela
include ../config-all-devices.mak
5 f36fc7a1 Juan Quintela
include config.mak
6 1ad2134f Paul Brook
include $(SRC_PATH)/rules.mak
7 1ad2134f Paul Brook
8 1ad2134f Paul Brook
.PHONY: all
9 1ad2134f Paul Brook
10 be1029ec Paolo Bonzini
$(call set-vpath, $(SRC_PATH))
11 1ad2134f Paul Brook
12 cbbab922 Paolo Bonzini
QEMU_CFLAGS+=-I..
13 2f28d2ff Anthony Liguori
QEMU_CFLAGS += -I$(SRC_PATH)/include
14 1ad2134f Paul Brook
15 0e8c9214 Andreas Färber
include $(SRC_PATH)/Makefile.objs
16 1ad2134f Paul Brook
17 0e8c9214 Andreas Färber
all: $(hw-obj-y)
18 c2fb2637 Paul Brook
# Dummy command so that make thinks it has done something
19 c2fb2637 Paul Brook
	@true
20 1ad2134f Paul Brook
21 1ad2134f Paul Brook
clean:
22 30fd45ad Peter Maydell
	rm -f $(addsuffix *.o, $(sort $(dir $(hw-obj-y))))
23 30fd45ad Peter Maydell
	rm -f $(addsuffix *.d, $(sort $(dir $(hw-obj-y))))