login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
1
Re: [PATCH] fix dependency generation
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Roman Zippel <zippel@...>
Cc: Jan Beulich <jbeulich@...>, <linux-kernel@...>
Subject:
Re: [PATCH] fix dependency generation
Date: Sunday, April 1, 2007 - 2:45 pm
On Sat, Mar 31, 2007 at 06:11:36PM +0200, Roman Zippel wrote:
quoted text
> Hi, > > On Sat, 31 Mar 2007, Sam Ravnborg wrote: > > > The problem is that tristate symbol represent three values. > > =n => CONFIG_SYMBOL is undefined > > =y => CONFIG_SYMBOL is defined > > =m => COMFIG_SYMBOL_MODULE is defined > > > > The function split_config does not take into account the > > different values and 'fixing' this in fixdep is wrong. > > Because fixdep does not know if the variable is a tristate symbol or not > > so it can either blindly remove _MODULE (your patch) > > or each time it encounters _MODULE check for a symbol with and > > without _MODULE. > > What really matters is that CONFIG_SYMBOL changed, one could optimize for > the COMFIG_SYMBOL_MODULE case, but I don't think it's worth it, especially > ... > > > The better fix is to teach the split_config function that > > for tristate symbols two files shall be created in the include/config > > hirachy. So for apm this gets: > > include/config/apm.h > > include/config/apm/module.h > > if it requires thousands of new inodes for a feature which should be > rarely used. > > > This will make kconfig behave correct the day that someone add a config > > symbol with a _MODULE suffix. > > I'd rather reserve that namespace, if it allows for the simpler version to > just map all symbols to the basic config symbol name.
OK, I have forwarded Jan's patch for inclusion (the bug-fix part). Sam
quoted text
> > bye, Roman
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] fix dependency generation
, Jan Beulich
, (Thu Mar 29, 5:27 am)
Re: [PATCH] fix dependency generation
, Sam Ravnborg
, (Sat Mar 31, 2:42 am)
Re: [PATCH] fix dependency generation
, Roman Zippel
, (Sat Mar 31, 12:11 pm)
Re: [PATCH] fix dependency generation
, Sam Ravnborg
, (Sun Apr 1, 2:45 pm)
Re: [PATCH] fix dependency generation
, Sam Ravnborg
, (Fri Mar 30, 11:08 am)
Re: [PATCH] fix dependency generation
, Jan Beulich
, (Fri Mar 30, 11:43 am)
Re: [PATCH] fix dependency generation
, Jeff Dike
, (Fri Mar 30, 1:14 pm)
Re: [PATCH] fix dependency generation
, Randy Dunlap
, (Thu Mar 29, 11:39 am)
Re: [PATCH] fix dependency generation
, Jan Beulich
, (Thu Mar 29, 12:06 pm)
Re: [PATCH] fix dependency generation
, Randy Dunlap
, (Thu Mar 29, 12:38 pm)
Re: [PATCH] fix dependency generation
, Jan Beulich
, (Fri Mar 30, 5:14 am)
Re: [PATCH] fix dependency generation
, Randy Dunlap
, (Fri Mar 30, 11:17 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
Andi Kleen
[PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu
Andi Kleen
[PATCH] [0/45] x86 2.6.24 patches review I
Stoyan Gaydarov
From 2.4 to 2.6 to 2.7?
git
:
linux-netdev
:
Jarek Poplawski
Re: HTB accuracy for high speed
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 13/37] dccp: Deprecate Ack Ratio sysctl
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
8 users
and
859 guests
online.
Online users
sellinvestmeve
howtobuyacheap
flexprotexrjz
garagefloorcov
Kedar Sovani
affiliatehepx
freewebarticles
whitenmyteetho
Syndicate