From: Avi Kivity <avi@xxxxxxxxxx> Instead of listing all directories explicitly, include all autodepend files. Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html