From: Avi Kivity <[email protected]>

Instead of listing all directories explicitly, include all autodepend files.

Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>

diff --git a/Makefile b/Makefile
index 9b0256d..85ebd37 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ $(libcflat): $(cflatobjs)
 %.o: %.S
        $(CC) $(CFLAGS) -c -nostdlib -o $@ $<
 
--include .*.d
+-include .*.d */.*.d */*/.*.d
 
 install:
        mkdir -p $(DESTDIR)
diff --git a/config-x86-common.mak b/config-x86-common.mak
index c5508b3..d22df17 100644
--- a/config-x86-common.mak
+++ b/config-x86-common.mak
@@ -81,4 +81,3 @@ arch_clean:
        $(RM) $(TEST_DIR)/*.o $(TEST_DIR)/*.flat $(TEST_DIR)/*.elf \
        $(TEST_DIR)/.*.d $(TEST_DIR)/lib/.*.d $(TEST_DIR)/lib/*.o
 
--include $(TEST_DIR)/.*.d lib/.*.d lib/x86/.*.d
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to