* [PATCH] fixdep fails to use all components in config entry
@ 2002-06-06 19:39 Sam Ravnborg
2002-06-06 20:02 ` Kai Germaschewski
0 siblings, 1 reply; 2+ messages in thread
From: Sam Ravnborg @ 2002-06-06 19:39 UTC (permalink / raw)
To: Kai Germaschewski; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
Hi Kai.
fixdep, when adding dependencies to config entires fails to take into account
the last part of a config entry, if it contains more than one underscore.
Example:
CONFIG_PROC_FS generates
$(wildcard include/config/proc.h)
but should generate
$(wildcard include/config/proc/fs.h)
Attached patch fixes this.
Sam
[-- Attachment #2: fixdep-fullpath.patch --]
[-- Type: text/plain, Size: 300 bytes --]
--- scripts/fixdep.c.orig Thu Jun 6 21:31:52 2002
+++ scripts/fixdep.c Thu Jun 6 21:31:29 2002
@@ -239,7 +239,7 @@
if (memcmp(p, "CONFIG_", 7))
continue;
for (q = p + 7; q < map + len; q++) {
- if (!(isalnum(*q)))
+ if (!(isalnum(*q) || *q == '_'))
goto found;
}
continue;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fixdep fails to use all components in config entry
2002-06-06 19:39 [PATCH] fixdep fails to use all components in config entry Sam Ravnborg
@ 2002-06-06 20:02 ` Kai Germaschewski
0 siblings, 0 replies; 2+ messages in thread
From: Kai Germaschewski @ 2002-06-06 20:02 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: linux-kernel
On Thu, 6 Jun 2002, Sam Ravnborg wrote:
> fixdep, when adding dependencies to config entires fails to take into account
> the last part of a config entry, if it contains more than one underscore.
Doh, you're right. Applied ;-)
--Kai
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-06 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-06 19:39 [PATCH] fixdep fails to use all components in config entry Sam Ravnborg
2002-06-06 20:02 ` Kai Germaschewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®