[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <484560C0.2080607@freescale.com>
Date: Tue, 03 Jun 2008 10:18:24 -0500
From: Scott Wood <scottwood@...escale.com>
To: Kumar Gala <galak@...nel.crashing.org>
CC: Jeff Garzik <jeff@...zik.org>, netdev@...r.kernel.org,
linuxppc-dev@...abs.org, adrian.bunk@...ial.fi
Subject: Re: [RFC] Make board force selection of PHYLIB
Kumar Gala wrote:
> On Jun 3, 2008, at 10:10 AM, Scott Wood wrote:
>> I'd rather avoid adding another case where the kernel needs to know
>> what modules are being built, though, especially if the result of
>> changing the .config and building modules is a mysterious runtime
>> failure (due to a missing platform fixup) rather than compile- or
>> insertion-time.
>
> I don't follow what you are getting at here. Is this something more
> than #ifdef PHYLIB in the platform code?
If you just #ifdef PHYLIB, then things will break if the user does this:
make config, GIANFAR=PHYLIB=n
make zImage
make config, GIANFAR=PHYLIB=m
make modules
And the cause of the failure will not be something that obviously points
to a build problem, such as unresolved symbols.
I'd rather just unconditionally select PHYLIB on platforms that need to
do fixups.
-Scott
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists