aboutsummaryrefslogtreecommitdiff
path: root/Makefile.hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-29 11:10:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-06-07 09:21:17 +0200
commitbe1029ec30d2eee9e0eb56190d1ed2ed9a400bdf (patch)
tree27aca4c0330ae190959617e77f83c1e146e4a8f0 /Makefile.hw
parent3d5a3f9a7fded758e37da15471d50de4b0f7e4a5 (diff)
build: convert libhw to nested Makefile.objs
After this patch, the libhw* directories will have a hierarchy that mimics the source tree. This is useful because we do have a couple of files there that are in the top source directory. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile.hw')
-rw-r--r--Makefile.hw6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 33f1ab0183..155a0c3432 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -7,7 +7,7 @@ include $(SRC_PATH)/rules.mak
.PHONY: all
-$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
+$(call set-vpath, $(SRC_PATH))
QEMU_CFLAGS+=-I..
QEMU_CFLAGS += -I$(SRC_PATH)/include
@@ -19,7 +19,7 @@ all: $(hw-obj-y)
@true
clean:
- rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
+ rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ */*/*.d
# Include automatically generated dependency files
--include $(wildcard *.d */*.d)
+-include $(wildcard *.d */*.d */*/*.d)