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