From 1435ddb89c303c38ff23ff977dfb81953f32eb96 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 11 Jul 2012 16:40:21 +0200 Subject: 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 Signed-off-by: Blue Swirl --- Makefile.hw | 3 --- 1 file changed, 3 deletions(-) (limited to 'Makefile.hw') 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)) -- cgit v1.2.1