
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