login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
1
Re: [PATCH] fix dependency generation
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Sam Ravnborg
Subject:
Re: [PATCH] fix dependency generation
Date: Sunday, April 1, 2007 - 11:45 am
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, 2:27 am)
Re: [PATCH] fix dependency generation
, Randy Dunlap
, (Thu Mar 29, 8:39 am)
Re: [PATCH] fix dependency generation
, Jan Beulich
, (Thu Mar 29, 9:06 am)
Re: [PATCH] fix dependency generation
, Randy Dunlap
, (Thu Mar 29, 9:38 am)
Re: [PATCH] fix dependency generation
, Jan Beulich
, (Fri Mar 30, 2:14 am)
Re: [PATCH] fix dependency generation
, Sam Ravnborg
, (Fri Mar 30, 8:08 am)
Re: [PATCH] fix dependency generation
, Randy Dunlap
, (Fri Mar 30, 8:17 am)
Re: [PATCH] fix dependency generation
, Jan Beulich
, (Fri Mar 30, 8:43 am)
Re: [PATCH] fix dependency generation
, Jeff Dike
, (Fri Mar 30, 10:14 am)
Re: [PATCH] fix dependency generation
, Sam Ravnborg
, (Fri Mar 30, 11:42 pm)
Re: [PATCH] fix dependency generation
, Roman Zippel
, (Sat Mar 31, 9:11 am)
Re: [PATCH] fix dependency generation
, Sam Ravnborg
, (Sun Apr 1, 11:45 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate