mirror of
https://git.proxmox.com/git/qemu
synced 2025-06-14 20:08:58 +00:00

To make it easier to move code around without breaking build at intermedite steps, tweak makefiles to look in pci/ and hw/ for include files, automatically. This will be reverted at the end of the reorganization. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
26 lines
514 B
Makefile
26 lines
514 B
Makefile
# Makefile for qemu target independent user files.
|
|
|
|
include ../config-host.mak
|
|
include $(SRC_PATH)/rules.mak
|
|
-include config.mak
|
|
|
|
.PHONY: all
|
|
|
|
$(call set-vpath, $(SRC_PATH))
|
|
|
|
QEMU_CFLAGS+=-I..
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
|
QEMU_CFLAGS += -DCONFIG_USER_ONLY
|
|
QEMU_CFLAGS+=-I$(SRC_PATH)/hw/pci -I$(SRC_PATH)/hw
|
|
|
|
include $(SRC_PATH)/Makefile.objs
|
|
|
|
all: $(user-obj-y)
|
|
# Dummy command so that make thinks it has done something
|
|
@true
|
|
|
|
clean:
|
|
for d in . trace; do \
|
|
rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
|
|
done
|