[U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library
Marek Vasut
marek.vasut at gmail.com
Fri Sep 16 23:47:07 CEST 2011
On Friday, September 16, 2011 11:42:50 PM Scott Wood wrote:
> 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.
Yes, but you basically _always_ want that CPU support code in ... and I have no
idea why you'd like to avoid particular files.
>
> -Scott
More information about the U-Boot
mailing list