Re: [PATCH][ATM] make atm (and clip) modular + try_module_get()

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Wed, 5 Mar 2003 10:11:49 -0600 (CST)


On Wed, 5 Mar 2003, chas williams wrote:

> In message <Pine.LNX.4.44.0303050952010.31461-100000@chaos.physics.uiowa.edu>,K
> ai Germaschewski writes:
> >atm-$(subst m,y,$(CONFIG_ATM_CLIP)) += ipcommon.o
> >atm-$(subst m,y,$(CONFIG_NET_SCH_ATM)) += ipcommon.o
>
> i cant do this because if both CONFIG_ATM_CLIP and CONFIG_NET_SCH_ATM
> are configured, ipcommon.o will be in the link list twice twice.

The build system actually goes through quite a bit of effort to remove
those duplicate entries. Try it, if it doesn't work I sure want to know
about it.

--Kai

-
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/