linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Foley <pefoley2@verizon.net>
To: Michal Marek <mmarek@suse.cz>
Cc: Peter Foley <pefoley2@verizon.net>,
	Arnaud Lacombe <lacombar@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Kbuild Mailing List <linux-kbuild@vger.kernel.org>,
	rdunlap@xenotime.net
Subject: [PATCH v2] kconfig.h fix extraneous dependencies
Date: Mon, 01 Aug 2011 09:51:24 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.1108010945280.3043@linux> (raw)
In-Reply-To: <4E3670BF.6000709@suse.cz>

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 <pefoley2@verizon.net>
---
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

  reply	other threads:[~2011-08-01 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  0:36 [PATCH RFC] kconfig.h fix extraneous dependencies Peter Foley
2011-08-01  0:53 ` Arnaud Lacombe
2011-08-01  1:16   ` Peter Foley
2011-08-01  9:24     ` Michal Marek
2011-08-01 13:51       ` Peter Foley [this message]
2011-09-09  9:46         ` [PATCH v2] " Michal Marek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1108010945280.3043@linux \
    --to=pefoley2@verizon.net \
    --cc=lacombar@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=rdunlap@xenotime.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).