arm: make linux.h safe to include for non-native builds
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 1 Feb 2018 18:18:56 +0000 (18:18 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 23 Feb 2018 21:42:42 +0000 (22:42 +0100)
commita244d9ebc7547f7ed373d9796a3bf186e7c035a1
treef7493e96e4fd94bffcf3fbe226ef40f5712dc5ae
parentcda033298680b6984044563b2ef6374a725b8aac
arm: make linux.h safe to include for non-native builds

<grub/machine/loader.h> (for machine arm/efi) and
<grub/machine/kernel.h> (for machine arm/coreboot) will not always
resolve (and will likely not be valid to) if pulled in when building
non-native commands, such as host tools or the "file" command.
So explicitly include them with their expanded pathnames.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/arm/linux.h