From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id C1A10DEBEF for ; Wed, 4 Jun 2008 01:36:20 +1000 (EST) Message-ID: <484564EA.8050706@freescale.com> Date: Tue, 03 Jun 2008 10:36:10 -0500 From: Scott Wood MIME-Version: 1.0 To: Kumar Gala Subject: Re: [RFC] Make board force selection of PHYLIB References: <484419EE.5040503@garzik.org> <1E4EB64C-0618-497E-AABC-74EB7D74B97F@kernel.crashing.org> <48442239.7090906@garzik.org> <83820D83-487C-4586-9867-F4226A87A276@freescale.com> <48445851.4090105@garzik.org> <095F258F-72DD-4F27-A457-A57D9FAA1E76@kernel.crashing.org> <48448020.5020407@freescale.com> <48455EEA.3040909@freescale.com> <57B740A4-A3E0-4D93-A5D9-77B14C6E9E92@kernel.crashing.org> <484560C0.2080607@freescale.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Cc: netdev@vger.kernel.org, adrian.bunk@movial.fi, Jeff Garzik , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kumar Gala wrote: > On Jun 3, 2008, at 10:18 AM, Scott Wood wrote: >> 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. > > what you are suggesting will not break with my patch. Yes, it will -- note the absence of a "make zImage" after the second make config. > The second case will for PHYLIB=y w/the select. And that will only make a difference if you rebuild the kernel itself after enabling the module. -Scott