diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-07-11 16:40:21 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-28 09:16:09 +0000 |
commit | 1435ddb89c303c38ff23ff977dfb81953f32eb96 (patch) | |
tree | fb3b59c067473a697f6c0bfdd0c4a9fe70283e61 /Makefile.hw | |
parent | cdc976b040f2760103ce2fb49f4d504093a7163f (diff) |
build: get dependency file directories from object file names
After commit dcff25f2cd8c11a9368cc2369aeb0319c32d9e26, Dependency file
are taken from the directories that have a Makefile.objs file. This is
not enough, since files can be included from other directories.
So, pick them from directories that have an object file in them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.hw')
-rw-r--r-- | Makefile.hw | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile.hw b/Makefile.hw index 28fe100fbe..59f5b48350 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -21,6 +21,3 @@ all: $(hw-obj-y) clean: rm -f $(addsuffix *.o, $(sort $(dir $(hw-obj-y)))) rm -f $(addsuffix *.d, $(sort $(dir $(hw-obj-y)))) - -# Include automatically generated dependency files --include $(patsubst %.o, %.d, $(hw-obj-y)) |