On 09/16/2011 04:38 PM, Marek Vasut wrote:
> On Friday, September 16, 2011 09:49:28 PM Scott Wood wrote:
>> Still, this seems hackish.  Shouldn't the control be on specific files
>> that you include, not directories?
> 
> I don't think so ... why ?

That's how the main U-Boot build does it...  More specifically, the
config.h controls should be on features, and the makefiles should decide
which (if any) files are required for that feature.  If there are no
files from arch/$(ARCH)/cpu/$(CPU) needed, then we get an empty
lib$(CPU).o -- nothing special needed to avoid it.

-Scott

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to