powerpc/boot: Fix random build errors

Michael Ellerman patch-notifications at ellerman.id.au
Mon Mar 5 23:36:09 AEDT 2018


On Fri, 2018-02-23 at 20:55:59 UTC, Guenter Roeck wrote:
> Once in a while I see build errors similar to the following
> when building images from a clean tree.
> 
> Building powerpc:virtex-ml507:44x/virtex5_defconfig ... failed
> ------------
> Error log:
> arch/powerpc/boot/treeboot-akebono.c:37:20: fatal error:
> 	libfdt.h: No such file or directory
> 
> Building powerpc:bamboo:smpdev:44x/bamboo_defconfig ... failed
> ------------
> Error log:
> arch/powerpc/boot/treeboot-akebono.c:37:20: fatal error:
> 	libfdt.h: No such file or directory
> 
> arch/powerpc/boot/treeboot-currituck.c:35:20: fatal error:
>      libfdt.h: No such file or directory
> 
> Rebuilds will succeed.
> 
> Turns out that several source files in arch/powerpc/boot/ include
> libfdt.h, but Makefile dependencies are incomplete. Let's fix that.
> 
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/64c3f648c25d108f346fdc96c15180

cheers


More information about the Linuxppc-dev mailing list