[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LNX.2.00.1108010945280.3043@linux>
Date: Mon, 01 Aug 2011 09:51:24 -0400 (EDT)
From: Peter Foley <pefoley2@...izon.net>
To: Michal Marek <mmarek@...e.cz>
Cc: Peter Foley <pefoley2@...izon.net>,
Arnaud Lacombe <lacombar@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Kbuild Mailing List <linux-kbuild@...r.kernel.org>,
rdunlap@...otime.net
Subject: [PATCH v2] kconfig.h fix extraneous dependencies
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@...izon.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists