On Sun, May 20, 2007 at 03:09:10PM +0200, Stefan Richter wrote:
Example where your proposal wouldn't work well:
config MIPS_ATLAS
bool "MIPS Atlas board"
select SYS_SUPPORTS_LITTLE_ENDIAN
select SYS_SUPPORTS_BIG_ENDIAN
config SYS_SUPPORTS_BIG_ENDIAN
bool
config CPU_BIG_ENDIAN
bool "Big endian"
depends on SYS_SUPPORTS_BIG_ENDIAN
Where's the value of allowing an UI to ignore hints? If an UI would
ignore all hints on SYS_SUPPORTS_BIG_ENDIAN you would no longer be able
to configure a kernel on this architecture.
And there's no way for an UI to figure out the direction of the options -
with "select" the only reasonable direction is fixed for all UIs.
"select" might have room for improvements especially in the area of
dependencies of select'ed options, but replacing it with overloading
"depends on" plus hints wouldn't be a good solution.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-