Re: [PATCH v3.18,v4.4] powerpc/boot: Fix random libfdt related build errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 15, 2018 at 07:30:39AM -0800, Guenter Roeck wrote:
[ Upstream commit 64c3f648c25d108f346fdc96c15180c6b7d250e9 ]

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@xxxxxxxxxxxx>
Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Signed-off-by: Sasha Levin <alexander.levin@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
[groeck: Backport to v4.4.y]
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
For some reason I see the build error fixed with this patch more often
lately. It would be great if you can apply it to v3.18.y and v4.4.y.
Tested on both v3.18.y and v4.4.y.

Queued for both trees, thank you.

--
Thanks,
Sasha



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux