Messages in this thread | | | Date | Wed, 5 Mar 2003 17:26:27 +0100 (CET) | From | Roman Zippel <> | Subject | Re: [PATCH][ATM] make atm (and clip) modular + try_module_get() |
| |
Hi,
On Wed, 5 Mar 2003, Kai Germaschewski wrote:
> The preferred way would be: > > obj-$(CONFIG_ATM) += atm.o > > atm-y := addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o > atm-$(subst m,y,$(CONFIG_ATM_CLIP)) += ipcommon.o > atm-$(subst m,y,$(CONFIG_NET_SCH_ATM)) += ipcommon.o > atm-$(CONFIG_PROC_FS) += proc.o
BTW some of this could also be done in the Kconfig:
config ATM_IPCOMMON bool default y if ATM_CLIP || NET_SCH_ATM
so you can change this into:
atm-$(CONFIG_ATM_IPCOMMON) += ipcommon.o
bye, Roman
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |