On Dec 29 2007 02:09, Adrian Bunk wrote:
>On Sat, Dec 29, 2007 at 12:45:12AM +0100, Jan Engelhardt wrote:
>> Turn CONFIG_FC, CONFIG_FDDI, CONFIG_HIPPI and CONFIG_TR into tristate
>> so they can be built as modules. This will allow CONFIG_LLC to be
>> built as a module too, overall reducing the core kernel image size.
>>...
>
>Just an example of code you have to fix if you do this:
>
>$ grep -r "#ifdef CONFIG_TR" net/

Ah, thank you for reminding me. For lec.c, would it be ok to do

#if defined(CONFIG_TR) || defined(CONFIG_TR_MODULE)
#       define WITH_TR 1
#endif

at the top and then do a s/CONFIG_TR/WITH_TR/? Just so that the #ifdef
lines do not explode in redundance.

>net/802/sysctl_net_802.c:#ifdef CONFIG_TR
>net/802/sysctl_net_802.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/atm/lec.c:#ifdef CONFIG_TR
>net/ipv4/arp.c:#ifdef CONFIG_TR
>net/llc/llc_output.c:#ifdef CONFIG_TR
>net/sysctl_net.c:#ifdef CONFIG_TR
>net/sysctl_net.c:#ifdef CONFIG_TR
>$ 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to