2009-05-19 23:17:58 +08:00
|
|
|
# Makefile for qemu target independent devices.
|
|
|
|
|
|
|
|
include ../config-host.mak
|
2009-10-07 08:41:02 +08:00
|
|
|
include ../config-all-devices.mak
|
2009-07-27 22:12:50 +08:00
|
|
|
include config.mak
|
2009-05-19 23:17:58 +08:00
|
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
2009-12-21 17:06:55 +08:00
|
|
|
$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2011-07-28 18:10:30 +08:00
|
|
|
QEMU_CFLAGS+=-I..
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2010-01-07 03:24:05 +08:00
|
|
|
include $(SRC_PATH)/Makefile.objs
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2010-01-07 03:24:05 +08:00
|
|
|
all: $(hw-obj-y)
|
2009-05-26 01:54:53 +08:00
|
|
|
# Dummy command so that make thinks it has done something
|
|
|
|
@true
|
2009-05-19 23:17:58 +08:00
|
|
|
|
|
|
|
clean:
|
2010-05-15 19:03:30 +08:00
|
|
|
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
|
2009-05-19 23:17:58 +08:00
|
|
|
|
|
|
|
# Include automatically generated dependency files
|
|
|
|
-include $(wildcard *.d */*.d)
|