diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-12-12 13:07:29 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-12 23:41:03 +0200 |
commit | 29002d9e104913998265cfff95bb49f4b4a966e2 (patch) | |
tree | 57c9c69e457ec4a2cc0a56e5a1b123c0fd31381f | |
parent | c84a2b1aa5ccdddad03d25f58be5c94eba0d9db4 (diff) |
pci: prepare makefiles for pci code reorganization
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>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | Makefile.target | 1 | ||||
-rw-r--r-- | Makefile.user | 1 | ||||
l--------- | hw/pci/hw | 1 |
4 files changed, 4 insertions, 0 deletions
@@ -146,6 +146,7 @@ audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS += $(FMOD_CFLAGS) QEMU_CFLAGS+=$(CURL_CFLAGS) QEMU_CFLAGS += -I$(SRC_PATH)/include +QEMU_CFLAGS+=-I$(SRC_PATH)/hw/pci -I$(SRC_PATH)/hw ui/cocoa.o: ui/cocoa.m diff --git a/Makefile.target b/Makefile.target index 927347bac2..fe2cc0d8b0 100644 --- a/Makefile.target +++ b/Makefile.target @@ -12,6 +12,7 @@ endif QEMU_CFLAGS += -I.. -I$(SRC_PATH)/target-$(TARGET_BASE_ARCH) -DNEED_CPU_H QEMU_CFLAGS+=-I$(SRC_PATH)/include +QEMU_CFLAGS+=-I$(SRC_PATH)/hw/pci -I$(SRC_PATH)/hw ifdef CONFIG_USER_ONLY # user emulator name diff --git a/Makefile.user b/Makefile.user index 9302d33245..045ecd3bea 100644 --- a/Makefile.user +++ b/Makefile.user @@ -11,6 +11,7 @@ $(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 diff --git a/hw/pci/hw b/hw/pci/hw new file mode 120000 index 0000000000..945c9b46d6 --- /dev/null +++ b/hw/pci/hw @@ -0,0 +1 @@ +.
\ No newline at end of file |