[U-Boot] [PATCH] Switch from library archives to partial linking
Mike Frysinger
vapier at gentoo.org
Wed Nov 10 05:41:58 CET 2010
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
More information about the U-Boot
mailing list