From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:54762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbeLQXh0 (ORCPT ); Mon, 17 Dec 2018 18:37:26 -0500 Date: Mon, 17 Dec 2018 18:37:24 -0500 From: Sasha Levin To: Guenter Roeck Cc: stable@vger.kernel.org, Greg Kroah-Hartman , Michael Ellerman , Sasha Levin Subject: Re: [PATCH v3.18,v4.4] powerpc/boot: Fix random libfdt related build errors Message-ID: <20181217233724.GW2746@sasha-vm> References: <1544887839-5679-1-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1544887839-5679-1-git-send-email-linux@roeck-us.net> Sender: stable-owner@vger.kernel.org List-ID: 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 >Signed-off-by: Michael Ellerman >Signed-off-by: Sasha Levin >Signed-off-by: Greg Kroah-Hartman >[groeck: Backport to v4.4.y] >Signed-off-by: Guenter Roeck >--- >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