
Hi Tom,
On 28 October 2015 at 22:07, Tom Rini trini@konsulko.com 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 ryan.harkin@linaro.org 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?