From: Mike Frysinger Date: Tue, 9 Nov 2010 23:41:58 -0500 Subject: [U-Boot] [PATCH] Switch from library archives to partial linking In-Reply-To: <4CD6C192.20008@gmail.com> References: <4CD3DEFC.7010104@gmail.com> <1289139379.13696.12.camel@ptyser-laptop> <4CD6C192.20008@gmail.com> Message-ID: <201011092341.59422.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday, November 07, 2010 10:11:14 Sebastien Carlier wrote: > On 11/07/2010 03:16 PM, Peter Tyser wrote: > > I'm guessing lots of boards will have this same issue. I imagine its > > due to include/config_cmd_defaults.h, so maybe if you fix the issue in > > that one place all the compile issues will go away. > > The generic fix is to include the following lines somewhere at the end > of the config.h generated in the mkconfig script: > > #ifndef CONFIG_CMD_NET > # undef CONFIG_CMD_NFS > #endif > > These lines should probable be put in a new header file; would > config_checks.h be an ok name for it? I suppose there might be other > cases where a module (that is included by default) needs to be excluded > when one of its dependencies is disabled. i dont like this sort of magc undoing of defaults. update the board configs instead to undef NFS. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101109/1965ebf5/attachment.pgp