From patchwork Mon Aug 1 13:51:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Foley X-Patchwork-Id: 1026042 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p71DnpRQ002796 for ; Mon, 1 Aug 2011 13:53:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750828Ab1HANxt (ORCPT ); Mon, 1 Aug 2011 09:53:49 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:53063 "EHLO vms173001pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703Ab1HANxt (ORCPT ); Mon, 1 Aug 2011 09:53:49 -0400 Received: from [192.168.1.14] ([unknown] [173.66.22.130]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LP900NF559C48C2@vms173001.mailsrvcs.net>; Mon, 01 Aug 2011 08:53:46 -0500 (CDT) Date: Mon, 01 Aug 2011 09:51:24 -0400 (EDT) From: Peter Foley To: Michal Marek Cc: Peter Foley , Arnaud Lacombe , Linux Kernel Mailing List , Linux Kbuild Mailing List , rdunlap@xenotime.net Subject: [PATCH v2] kconfig.h fix extraneous dependencies In-reply-to: <4E3670BF.6000709@suse.cz> Message-id: References: <4E3670BF.6000709@suse.cz> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 01 Aug 2011 13:53:50 +0000 (UTC) The introduction of include/linux/kconfig.h created 3 extraneous dependencies: include/config/.h include/config/h.h include/config/foo.h Fix this by excluding kconfig.h from fixdep calculations. Signed-off-by: Peter Foley --- -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 291228e..4789a6b 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -345,6 +345,7 @@ static void parse_dep_file(void *map, size_t len) memcpy(s, m, p-m); s[p-m] = 0; if (strrcmp(s, "include/generated/autoconf.h") && strrcmp(s, "arch/um/include/uml-config.h") && + strrcmp(s, "include/linux/kconfig.h") && strrcmp(s, ".ver")) { /* * Do not list the source file as dependency, so that