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
|
|
|
|
|
2009-12-21 12:06:55 +03:00
|
|
|
$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
|
2009-05-19 19:17:58 +04:00
|
|
|
|
2011-07-28 14:10:30 +04:00
|
|
|
QEMU_CFLAGS+=-I..
|
2011-08-03 19:55:00 +04:00
|
|
|
QEMU_CFLAGS += $(GLIB_CFLAGS)
|
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:
|
2010-05-15 15:03:30 +04:00
|
|
|
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
|
2009-05-19 19:17:58 +04:00
|
|
|
|
|
|
|
# Include automatically generated dependency files
|
|
|
|
-include $(wildcard *.d */*.d)
|