| Age | Commit message (Collapse) | Author |
|
When doing its recursive dependency check, scripts/kconfig/conf uses the flag
SYMBOL_CHECK_DONE to avoid rechecking a symbol it has already checked.
However, that flag is only set at the top level, so if a symbol is first
encountered as a dependency of another symbol it will be rechecked every time
it is encountered until it's encountered at the top level.
This patch adjusts the flag setting so that each symbol will only be checked
once, regardless of whether it is first encountered at the top level, or while
recursing down from another symbol. On complex configurations, this vastly
speeds up scripts/kconfig/conf. The config in the powerpc merge tree is
particularly bad: this patch reduces the time for 'scripts/kconfig/conf -o
arch/powerpc/Kconfig' by a factor of 40 on a G5. That's even including the
time to print the config, so the speedup in the actual checking is more likely
2 or 3 orders of magnitude.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Based on patch from: Roman Zippel <zippel@linux-m68k.org>
The search functionality has been improved:
- Restructured printout with more info
- Include value of relevant symbols
- Improved handling of corner cases
- Generic search support moved to backend - ready to be utilised by xconfig and gconfig
- Search functionality moved to fronend - not hardcoded in menubox.c
Sample search (^$ used to limit search):
Search for "^USB_STORAGE$":
Symbol: USB_STORAGE [=y]
Prompt: USB Mass Storage support
Defined at drivers/usb/storage/Kconfig:7
Depends on: USB
Location:
-> Device Drivers
-> USB Support
Selects: SCSI
Some symbols has loong "Depends on:" lines - for example FW_LOADER.
Use arrows to scroll horisontally to see full value.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
|
|
From: Roman Zippel <zippel@linux-m68k.org>
This disables some debug prints, which are more confusing than helpful for
normal users.
|
|
Add a number of warnings to avoid misuse of the previously added features
(most important check for recursive dependencies).
|
|
The 'range' keyword allows to define a lower and upper limit for integer
and hex symbols.
|
|
The 'select' keyword defines a lower limit for symbols and allows to
select other symbols when a symbol is selected, e.g.:
config JOLIET
bool "Microsoft Joliet CDROM extensions"
select NLS
This means when JOLIET is selected, NLS will be selected as well.
|
|
"default" accepts now not only a single symbol but also an expression
which can be assigned to boolean and tristate symbols.
|
|
This changes P_ROOTMENU into a MENU_ROOT flag and also fixes some qconf
usability problems.
Some gconf fixes by Romain Lievin <roms@tilp.info>.
|
|
Remove old code and debugging macros which were used by the cml1->kconfig
converter.
|
|
This adds the support for the menuconfig keyword, which allows to define
a config symbol and a submenu with a single step, e.g. instead of
menu "SCSI device support"
config SCSI
tristate "SCSI device support"
this is now enough:
menuconfig SCSI
tristate "SCSI device support"
|
|
Add a changed flag to properties, which can be used by front ends to check
for changed symbols/properties.
|
|
Various small kconfig updates to fix all the reported little problems and
the single menu mode for menuconfig by Petr Baudis <pasky@ucw.cz>.
|
|
This adds the new kernel config core (library + the three front ends).
|