Re: [PATCH][RFC] Create a top-level "Space-critical features" menu.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 8 May 2007, Thomas Gleixner wrote:

> On Tue, 2007-05-08 at 04:06 -0400, Robert P. J. Day wrote:
> >   i've always hated that lower-level menu under "General setup":
>
> Good reason to break everything which depends on CONFIG_EMBEDDED.
>
> 	tglx
>
> > -menuconfig EMBEDDED
> > -	bool "Configure standard kernel features (for small systems)"

ah, now i see what you're getting at here:

$ grep EMBEDDED $(find . -name Kconfig\*)
./drivers/pcmcia/Kconfig:       select CARDBUS if !EMBEDDED
./drivers/pcmcia/Kconfig:       bool "Special initialization for O2Micro bridges" if EMBEDDED
./drivers/pcmcia/Kconfig:       bool "Special initialization for Ricoh bridges" if EMBEDDED
./drivers/pcmcia/Kconfig:       bool "Special initialization for TI and EnE bridges" if EMBEDDED
./drivers/pcmcia/Kconfig:       bool "Auto-tune EnE bridges for CB cards" if EMBEDDED
./drivers/pcmcia/Kconfig:       bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED
./drivers/ata/Kconfig:  depends on EMBEDDED || ARCH_RPC
./drivers/acpi/Kconfig: bool "Power Management Timer Support" if EMBEDDED
./drivers/ide/Kconfig:  depends on ALPHA || SUPERH || IA64 || EMBEDDED
... snip ...

  in my opinion, the config option "EMBEDDED" is just plain silly.  as
i mentioned earlier, there may be other reasons that people want to
de-activate normally selected features rather than just for strictly
embedded systems.

  here's an example:

drivers/input/keyboard/Kconfig:
...
menuconfig INPUT_KEYBOARD
        bool "Keyboards" if EMBEDDED || !X86
        default y
...

  so i should only be allowed to de-activate keyboard support if i
claim i'm working on an "embedded" system?  that's absurd.  maybe it's
a 64-CPU monster server that just happens to be running headless and
needs no keyboard.  making that selection dependent on EMBEDDED is
just silly in that case.

  anyway, must pack up and dash off for a few hours, but i'm hoping
you can see my point.  i don't disagree that there should be a way to
de-select normally selected features.  i just think the way it's being
done now is hideously misnamed.

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux