diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-05-29 11:49:34 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-06-07 09:21:17 +0200 |
commit | c353f261946ddbd814b333ae2440712b486977fd (patch) | |
tree | b280e3712059404d5383e714ad99d8bba6ffaf3f /Makefile.hw | |
parent | be1029ec30d2eee9e0eb56190d1ed2ed9a400bdf (diff) | |
download | qemu-c353f261946ddbd814b333ae2440712b486977fd.zip qemu-c353f261946ddbd814b333ae2440712b486977fd.tar.gz qemu-c353f261946ddbd814b333ae2440712b486977fd.tar.bz2 |
build: move per-target hw/ objects to nested Makefile.objs
This completes the move to nested Makefiles for virtio and a few
other files that were not part of obj-TARGET-y, but still were
compiled separately for each target.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile.hw')
-rw-r--r-- | Makefile.hw | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.hw b/Makefile.hw index 155a0c3..2bcbaff 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -19,7 +19,8 @@ all: $(hw-obj-y) @true clean: - rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ */*/*.d + rm -f $(addsuffix /*.o, $(dir $(sort $(hw-obj-y)))) + rm -f $(addsuffix /*.d, $(dir $(sort $(hw-obj-y)))) # Include automatically generated dependency files --include $(wildcard *.d */*.d */*/*.d) +-include $(patsubst %.o, %.d, $(hw-obj-y)) |