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
|
|
|
|
|
2012-05-29 17:10:55 +08:00
|
|
|
$(call set-vpath, $(SRC_PATH))
|
2009-05-19 23:17:58 +08:00
|
|
|
|
2011-07-28 18:10:30 +08:00
|
|
|
QEMU_CFLAGS+=-I..
|
2011-12-04 07:10:08 +08:00
|
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
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:
|
2012-06-19 22:55:38 +08:00
|
|
|
rm -f $(addsuffix *.o, $(sort $(dir $(hw-obj-y))))
|
|
|
|
rm -f $(addsuffix *.d, $(sort $(dir $(hw-obj-y))))
|