Keith Owens <[EMAIL PROTECTED]>:
> CML2 1.9.1 installed over pristine 2.4.16. I double checked this time,
> one brown paper bag a day is enough. Python 2.1, RH 7.2.
>
> # rm .config config.out rules.out
> # yes '' | make oldconfig
> # grep BLUEZ .config config.out
> .config:# CONFIG_BLUEZ is not set
> .config:# CONFIG_BLUEZ_L2CAP is not set
> .config:# CONFIG_BLUEZ_HCIUSB is not set
> .config:# CONFIG_BLUEZ_HCIUART is not set
> .config:# CONFIG_BLUEZ_HCIVHCI is not set
> config.out:CONFIG_BLUEZ=n
> config.out:CONFIG_BLUEZ_L2CAP=n
> config.out:CONFIG_BLUEZ_HCIUSB=n
> config.out:CONFIG_BLUEZ_HCIUART=n
> config.out:CONFIG_BLUEZ_HCIVHCI=n
Expected behavior. Your mechanically-generated answer to the configuration
question is setting each symbol to n explicitly.
> # make oldconfig
> # grep BLUEZ .config config.out
> .config:# CONFIG_BLUEZ is not set
> config.out:CONFIG_BLUEZ=n
> # make oldconfig
> ...
> BLUEZ: Bluetooth subsystem support < >: (FROZEN)
> BLUEZ_HCIUSB: HCI USB driver < > (NEW)?:
>
> Why does the second make oldconfig get rid of BLUEZ_L2CAP and friends?
Because `make oldconfig' reads in BLUEZ and freezes it to n.
Symbols with ancestors frozen to n aren't written to the config file.
This is how CML2 avoids writing symbols associated with (say) SPARC when
you're configuring for X86 -- SPARC gets frozen to n.
The real design question here is whether make oldconfig should freeze symbols
read in or merely set them without freezing them.
> Why is the third oldconfig even asking for BLUEZ_HCIUSB?
I don't know yet. I'm working on that now.
--
<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
[W]hat country can preserve its liberties, if its rulers are not
warned from time to time that [the] people preserve the spirit of
resistance? Let them take arms...The tree of liberty must be
refreshed from time to time, with the blood of patriots and tyrants.
-- Thomas Jefferson, letter to Col. William S. Smith, 1787
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel