2009-05-19 17:17:58 +02:00
|
|
|
# Makefile for qemu target independent devices.
|
|
|
|
|
|
|
|
include ../config-host.mak
|
2009-10-07 02:41:02 +02:00
|
|
|
include ../config-all-devices.mak
|
2009-07-27 16:12:50 +02:00
|
|
|
include config.mak
|
2009-05-19 17:17:58 +02:00
|
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
2012-05-29 11:10:55 +02:00
|
|
|
$(call set-vpath, $(SRC_PATH))
|
2009-05-19 17:17:58 +02:00
|
|
|
|
2011-07-28 12:10:30 +02:00
|
|
|
QEMU_CFLAGS+=-I..
|
2011-12-04 00:10:08 +01:00
|
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
2009-05-19 17:17:58 +02:00
|
|
|
|
2010-01-06 20:24:05 +01:00
|
|
|
include $(SRC_PATH)/Makefile.objs
|
2009-05-19 17:17:58 +02:00
|
|
|
|
2010-01-06 20:24:05 +01:00
|
|
|
all: $(hw-obj-y)
|
2009-05-25 19:54:53 +02:00
|
|
|
# Dummy command so that make thinks it has done something
|
|
|
|
@true
|
2009-05-19 17:17:58 +02:00
|
|
|
|
|
|
|
clean:
|
2012-05-29 11:49:34 +02:00
|
|
|
rm -f $(addsuffix /*.o, $(dir $(sort $(hw-obj-y))))
|
|
|
|
rm -f $(addsuffix /*.d, $(dir $(sort $(hw-obj-y))))
|
2009-05-19 17:17:58 +02:00
|
|
|
|
|
|
|
# Include automatically generated dependency files
|
2012-05-29 11:49:34 +02:00
|
|
|
-include $(patsubst %.o, %.d, $(hw-obj-y))
|