[EMAIL PROTECTED] wrote: > Haavard Skinnemoen wrote: > >> Remove #ifdef CONFIG_MMC from the source file and use conditional >> compilation in the Makefile instead. > > What's wrong with the current code? Why are you doing this? >
Because it is the right thing to do. :-) So that we don't gratuitously compile files that aren't even necessarily involved in the build as per configuration selections. This is all part of the longer term goal of moving to a Kconfig/Kbuild mechanism. jdl ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users