Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9405810pxu; Mon, 28 Dec 2020 15:25:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyEoOsU2tXd9nWFHeQvpealuOGRstAk7OI6kJkCQ+p4qlU390neJtNYpBWrYpBxkwCY2tD X-Received: by 2002:a17:906:8058:: with SMTP id x24mr41730996ejw.262.1609197955503; Mon, 28 Dec 2020 15:25:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609197955; cv=none; d=google.com; s=arc-20160816; b=fGbdPKvo3Ms/JW436Ab637Ick5i2sXALTKQ34H0u/sE/717+OgM51bu8ar4uWA0jjW u+zYOacQtVIU/+5PC/jtqwmpoqEE/fMkDqlQ3kYj5G2imEwLDW1OVHg5B4pqcbHgKGyZ 4Kki8hFLXf+Xu5HF0yiUqgrIiUpccaoPngUJeeXXXdzyBiosWuKHZPmUiizeL40h4W8A /G28b173dy6qx/Hrn0dX5AXvt/Vw6OsA+0VPJNLyGpNiPJhZK7LahEU+pb4cug8WnyzJ ce8IyxcUlpqrwA5iGcujawl6GY1k1pHtX0qnsh02siIhS8/RqzuhqQP/mfZSD995Kusu 5Dgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=nFJ5V1mNFZCmFGNWKhbn8Eiki6xluEUPvqKo7fgmn/Y=; b=bgBfrodKMHV5PMZZ8C/dHyh+IAq1Dn7Q328NRxMltkp2gSkEEBy+CCiypqueXa+4MD PexbTeGC5pnMOpjkRm/DdC1ml8hlfD6D5Ns7UpDhZoRv/vmKjAN+tHSF0nPE5YY6qfDJ +svGooT+02saHO2DbX8s8bO3JT4kW2QKGqYnFSgwdv32kIFZPLPXYt8W2zQG+VzJhwOA Ume7j/zV3wdmvz56KgSwzGbl8Ahg3AI8BZEoYCSoNi1etq2CpOlbH/LNd8DBmJd3uOz2 OKI9x7txFfIiqASUEsWppDgtkBDfJhwSnXEkR6hCjJF/XRTC7CRRirCq9tKaVXRUgqAN 6n0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aL27IInz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p12si18831644eji.735.2020.12.28.15.25.33; Mon, 28 Dec 2020 15:25:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aL27IInz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439216AbgL1OXR (ORCPT + 99 others); Mon, 28 Dec 2020 09:23:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:58226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502754AbgL1OWv (ORCPT ); Mon, 28 Dec 2020 09:22:51 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2F59F22B2E; Mon, 28 Dec 2020 14:22:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165355; bh=H1s/L3kciEiAKJWchESFS71nSiRSVzk+S0omDjp9yas=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aL27IInzPx4dBbfkOH2mVIVm9KJVqmSoGslBXGr+XyNLPi/XqVcFb0jU2kwlAzYLf Izbiz1HJajnMMsHb2sEZD0HYQlCuax5yZtlEUMttSaJW8dQmNoVclb6ovgPJLPA8mv jSgTBaqXBn8ckEGl6pIEOxlcVIlU31mC3gog3LU8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Michael Ellerman , Sasha Levin Subject: [PATCH 5.10 501/717] powerpc/boot: Fix build of dts/fsl Date: Mon, 28 Dec 2020 13:48:19 +0100 Message-Id: <20201228125044.966377281@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Ellerman [ Upstream commit b36f835b636908e4122f2e17310b1dbc380a3b19 ] The lkp robot reported that some configs fail to build, for example mpc85xx_smp_defconfig, with: cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mpc8540ads.dtb.dts.tmp: No such file or directory This bisects to: cc8a51ca6f05 ("kbuild: always create directories of targets") Although that commit claims to be about in-tree builds, it somehow breaks out-of-tree builds. But presumably it's just exposing a latent bug in our Makefiles. We can fix it by adding to targets for dts/fsl in the same way that we do for dts. Fixes: cc8a51ca6f05 ("kbuild: always create directories of targets") Reported-by: kernel test robot Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20201215032906.473460-1-mpe@ellerman.id.au Signed-off-by: Sasha Levin --- arch/powerpc/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index f8ce6d2dde7b1..e4b364b5da9e7 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -368,6 +368,8 @@ initrd-y := $(filter-out $(image-y), $(initrd-y)) targets += $(image-y) $(initrd-y) targets += $(foreach x, dtbImage uImage cuImage simpleImage treeImage, \ $(patsubst $(x).%, dts/%.dtb, $(filter $(x).%, $(image-y)))) +targets += $(foreach x, dtbImage uImage cuImage simpleImage treeImage, \ + $(patsubst $(x).%, dts/fsl/%.dtb, $(filter $(x).%, $(image-y)))) $(addprefix $(obj)/, $(initrd-y)): $(obj)/ramdisk.image.gz -- 2.27.0