On Thu, Oct 29, 2015 at 09:17:04AM +0000, Ryan Harkin wrote: > Hi Tom, > > On 28 October 2015 at 22:07, Tom Rini <[email protected]> wrote: > > On Wed, Oct 28, 2015 at 10:43:41PM +0100, Linus Walleij wrote: > >> On Wed, Oct 28, 2015 at 5:06 PM, Ryan Harkin <[email protected]> > >> wrote: > >> > >> > For reasons I don't understand, envcrc.c includes config.h which > >> > includes vexpress64_aemv8a.h without the board #defines set at all, no > >> > matter which board you are. So the #error gets hit no matter if > >> > you're building for FVP or Juno. > >> > >> This is what we should try to avoid, we need to know why this happens :/ > > > > The host tools are not board-independent as they include a copy of the > > target board env. Keep that in mind. > > So that means we can't use #error in the target board include file > (eg. vexpress_aemv8a.h) to indicate that no board was set, correct?
Correct. -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

