From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH kvm-unit-tests v2 02/14] Improve autodepend includes Date: Wed, 15 Dec 2010 18:09:31 +0200 Message-ID: <1292429383-15326-3-git-send-email-avi@redhat.com> References: <1292429383-15326-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42306 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751250Ab0LOQKG (ORCPT ); Wed, 15 Dec 2010 11:10:06 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBFGA5LE032487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 15 Dec 2010 11:10:05 -0500 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oBFGA4v1015653 for ; Wed, 15 Dec 2010 11:10:05 -0500 In-Reply-To: <1292429383-15326-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Instead of listing all directories explicitly, include all autodepend files. Signed-off-by: Avi Kivity --- Makefile | 2 +- config-x86-common.mak | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) 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 -- 1.7.1