[U-Boot-Users] [PATCH 18/18] avr32: Compile atmel_mci.oconditionally

Jon Loeliger jdl at freescale.com
Fri May 23 21:24:32 CEST 2008


Ken.Fuchs at bench.com 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




More information about the U-Boot mailing list