From patchwork Thu Aug 22 04:46:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171994 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp361779ily; Wed, 21 Aug 2019 21:46:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyk39VURe9vkb03koJCxuVYUZYEOvl/TKSq9syeu7zlpgIF9IYrw6xTLncgoHfKFFRgkHm7 X-Received: by 2002:a17:90a:3082:: with SMTP id h2mr3461502pjb.53.1566449190316; Wed, 21 Aug 2019 21:46:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566449190; cv=none; d=google.com; s=arc-20160816; b=V/9c0xLZhvVUh70+np0eATbvn25k7TePjnBjW14OxIPf60jezTGxA7N2vjHXl4toqr 2iLa9cm+mhZ6UC3eanzKnbocEKcC+Wrn9KjnD3aahJglPJonXT7BLKRwQHmd5bYLjVh3 4GJdAPtSvUOHmKa7nMJl5PFIjv8+MgraLHHRDGDrWLHsVzOObymw1fLfcVdLDSJG3ujd iLxlUsUv+ieijeYV1k/NXwhAvow+55+kUKiWkTr9KyAXw9tKGSoCSEezVRnsahbHNcBW /aO9H1XBJf2fN/vfC+E1GSIOUY1n4bsxyhCaV1xW18HuyGhGG8Ntab37n5zwwvg+AOzU 9smQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=ItuXEcXjS69g1cdGEVKkZEDPDunjHHF2tdkTu2z5CJw=; b=zW+owmWYzLXcsJ37QDEAYKk8X2/SL6Fs+YN4/mS9zAx8iqG7U+UsHth0DlOE3rnxWG 53LLi8lpUeOtxVo5sxg+e+jWhbTjd6smd4+tMB14i4T/oZybxol/4QHWkHIUiSQu57oA WjzqEJEAxvkwlO7/POTSM2LJJpx1TBtfbfXOX3+nw9cJr+kQZnP+vqNdEvt8Xd19H7S+ TMOmVbSqXuPJHuThXsLM5qQTUFAR9iMv6qMFK7PxbXFVkdN/48Rw99DFGjJDh9wmGftV z+ib2681bi5asP8+Sj+yXal/Ng88WD9dUI2lbMbJc05tBi5rmVCtvLKjlznwrN2lMwY/ 5OuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bs6YWCXk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cj2si17103693plb.190.2019.08.21.21.46.29; Wed, 21 Aug 2019 21:46:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bs6YWCXk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730948AbfHVEq3 (ORCPT + 28 others); Thu, 22 Aug 2019 00:46:29 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:29726 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730890AbfHVEq2 (ORCPT ); Thu, 22 Aug 2019 00:46:28 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x7M4kEYf001492; Thu, 22 Aug 2019 13:46:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x7M4kEYf001492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566449175; bh=ItuXEcXjS69g1cdGEVKkZEDPDunjHHF2tdkTu2z5CJw=; h=From:To:Cc:Subject:Date:From; b=bs6YWCXkZLcRsTXzpAE94K/ewaJ6jjHWAZOM601tDS95vV9YgyW4ysGflZwIEwzjk 6Y/EtDIAqQrkP86p4XNofVBVSKS8DOa/zTPlzVBacPXJGxKAX9+1BI+ncdeOsekrSJ S2oEKM3Zr70ppCYecSZ76hDb+FY4k6RsOn6IKX9EgpeV+qLUY4XjB2LP8N3cx7/1JY vyBeuus3iusS/nSWhLorhn9c53rQxOAXJTGinR0wwc36A+OwSnx5F3XpQ6ddExQb+y Sqp+NQvaao56/TvnPkyOAXznzeVR7obenLZX76SukrQilUBm9w4lPEQ6X05KvgcWDG /CICuQeV/wJ9A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 1/6] kbuild: remove 'Using ... as source for kernel' message Date: Thu, 22 Aug 2019 13:46:08 +0900 Message-Id: <20190822044613.5349-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You already know the location of the source tree without this message. Signed-off-by: Masahiro Yamada --- Makefile | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 diff --git a/Makefile b/Makefile index 7e54a821b4b0..a77102e4ee90 100644 --- a/Makefile +++ b/Makefile @@ -1118,7 +1118,6 @@ PHONY += prepare archprepare prepare3 # 1) Check that make has not been executed in the kernel src $(srctree) prepare3: include/config/kernel.release ifdef building_out_of_srctree - @$(kecho) ' Using $(srctree) as source for kernel' $(Q)if [ -f $(srctree)/.config -o \ -d $(srctree)/include/config -o \ -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \ From patchwork Thu Aug 22 04:46:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171996 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp361844ily; Wed, 21 Aug 2019 21:46:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzIAcFxMiyjp+HACkxYHZW9qjnE335LC6Rm/m5lzxkD+tdo7+FEVM5xFcmJVNBJdVDadRi X-Received: by 2002:a63:714a:: with SMTP id b10mr33130425pgn.25.1566449196223; Wed, 21 Aug 2019 21:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566449196; cv=none; d=google.com; s=arc-20160816; b=IRdTUlLjAR6fxVdK9/tDRZFtHVSpZDQ5YUFEqvT0JGznDfyvPVefREgYJATUz80Jqs p0Jz9I63pVd/Goov3MVbyb0f/861d+LQY9DxLUWCAWbh0uB8LqNs0kRVIdlOADEb7GVt eW2ihurhSB1L2UxgkHBQh9EWwwUO0ZdsECx/m7dTxCOuV35PraziFnjzxb9p4cwVzWGx p+tKqrRjSvIuy/W24LkNR5whidaM1DMbrg8XRrLe5oB06w5GAr/3AhsVK7IhKsXjnV31 NnSt8tvnPMfUXAaP5b1GHLHeSr1OLg/x4Av203t2gvta0c78tMf/q/OHN+Dsez8gq63Q RbCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=6AT+dnC1KRtHZkgR5NDUwVJPbnoa90i0FGA/GZb8vBc=; b=Aya55ApJNU24cZ21NHroPsoKgE5YctdzVDOYP/nWPNO+pPR0IewGvSxNdT+r2wq/w7 6L9SyL1j7zRv8WOHClJX580sIJ2cUvqLm4EFx2gOAnB3ADdwRFqcomMtHGHAm7tyVbSS sauBcoYJ80oQDRlHqCkA2biApymBW7CeXFoYcAn7tT6du/sWj2qNtb4dM/q+iVx5QFqL o36bZdxWM1w/ozqTMYfSDTjwweKdnxBQcIAMTDHayenWB7RmXkd4XoLpg0uYwqJxhByZ 1oML0I5CNmQcNHPR9OGDLjC8VidGVKXwZnQ2P6LgX5zQ0akCuTpPz/eNBzrgXkuhbDcy QiVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EqviCUvK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si1529909pju.108.2019.08.21.21.46.35; Wed, 21 Aug 2019 21:46:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EqviCUvK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731019AbfHVEqa (ORCPT + 28 others); Thu, 22 Aug 2019 00:46:30 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:29725 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728870AbfHVEq3 (ORCPT ); Thu, 22 Aug 2019 00:46:29 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x7M4kEYg001492; Thu, 22 Aug 2019 13:46:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x7M4kEYg001492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566449176; bh=6AT+dnC1KRtHZkgR5NDUwVJPbnoa90i0FGA/GZb8vBc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EqviCUvKXVV1ky5vWgW0oSU1yC+wfqhkaix6aM5c8DmuChMg7PZ1EVAJJWUXk59pG N49BYLafCevpEnduIyJ1LCfEH6GsRWksHJ4UCPMaIc9eZ5HdSMxJbPC9+wf6lIhE76 DVLnqAiaI0CFFI9R9mW3MFU4qaZYMq6Ja/V/8lhV3RSlcx9r1LwAnTBBU6Msou7cq9 tshRgYYUfwTqXDjdUcWjpBL3inkCdyejGo13U83nsHXPUkmoKcZ18Bk2j6z2jJgBdU KtfyC45YE3R0RjB1zGY65yrtZ/6RfgXfTRMCYt9Ndy9BrrU2vseMW3zimavi1AkBTC 3tWlmDwOyr/ng== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 2/6] kbuild: Inform user to pass ARCH= for make mrproper only when necessary Date: Thu, 22 Aug 2019 13:46:09 +0900 Message-Id: <20190822044613.5349-2-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190822044613.5349-1-yamada.masahiro@socionext.com> References: <20190822044613.5349-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 3a475b2166fd ("kbuild: Inform user to pass ARCH= for make mrproper"), if you try out-of-tree build with an unclean source tree, it suggests to run 'make ARCH= mrproper'. This looks odd when you are not cross-compiling the kernel. Show the 'ARCH=' part only when ARCH= was given from the command line. If ARCH is the default (native build) or came from the environment, it should simply suggest 'make mrproper' as before. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/Makefile b/Makefile index a77102e4ee90..d9cbbc27d4ba 100644 --- a/Makefile +++ b/Makefile @@ -1121,7 +1121,7 @@ ifdef building_out_of_srctree $(Q)if [ -f $(srctree)/.config -o \ -d $(srctree)/include/config -o \ -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \ - echo >&2 " $(srctree) is not clean, please run 'make ARCH=$(ARCH) mrproper'"; \ + echo >&2 " $(srctree) is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \ echo >&2 " in the '$(srctree)' directory.";\ /bin/false; \ fi; From patchwork Thu Aug 22 04:46:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171998 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp361986ily; Wed, 21 Aug 2019 21:46:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpcEe8yvKuJcRFfQduLf3Wzd4MjoAjfXDEMC/LwL2J4DpMqjbrGBzaYKEix1EBIbCiSaAN X-Received: by 2002:a63:e84a:: with SMTP id a10mr33391608pgk.274.1566449209217; Wed, 21 Aug 2019 21:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566449209; cv=none; d=google.com; s=arc-20160816; b=Roq2dIuW0RbYhDxMLnF3dsTjrN8L7Iz1urcMRuBOUv4OFVyZocu3DvRFeeDc+qmlrL XSjwrwJyxuxEQ9tLGL7GuROQktT6jfvdS2QTlUE71wVkJaYVW8GqNBCLlnEH+C+OtiOM assTSJCDP3VfxqXC8TQp/kDjTingHgPoYWCq2qzAe8ydqKIRIQ3hekJWYv3SL4RAfUsS K9EAPucHo96tXT1xRt6dQmFc2B4xahMeQ28n5P+G5vBXfTNdzsqBvHenSzDzmbAEZoyx nJT4W61EWqKvRRjdnzkfCGLnwwzpQmFzNnM+rrrdwFjmQZc5kjdOI4HhKc4lS0ZWwwi+ DuAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=hD5x6lRKUb0/bNsPEdTjxNKGIJMjG0FfIIS/kLrvgeQ=; b=yBD+2ifGXV6DqFHPjq5OIjBzwH0kU9s6pf0KQ9sG4A4xz2qmrS6MkUm51l5MHXd8Gm Fy1YsDW725x8cNLFzXe0208V+VnuvH78nARG3i5TerjTYAFoC/rQKKApbo89VRHsvKHa zw1A5T31ocwPU+tLqVeWjEvXBDKQA+8ZFPYTw4LgYOSbLFqoAeCScvNI1n/T2pDwXBLu ySSIMtMGmJgg7D2OUkOOO4lt6aR+zMnbzy4mei229wXafc/T2oAynAtF+8mQZDzx01Ll yWCn+IVC9yTRad6zJHApObJ95JvEqLViDkV4tcUxQcfjgo8Tu5E9fXuh/tH7nzCrt6+K 6yKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=f++9zhyS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si17235900pfa.91.2019.08.21.21.46.48; Wed, 21 Aug 2019 21:46:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=f++9zhyS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731072AbfHVEqr (ORCPT + 28 others); Thu, 22 Aug 2019 00:46:47 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:29724 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730896AbfHVEq3 (ORCPT ); Thu, 22 Aug 2019 00:46:29 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x7M4kEYh001492; Thu, 22 Aug 2019 13:46:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x7M4kEYh001492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566449176; bh=hD5x6lRKUb0/bNsPEdTjxNKGIJMjG0FfIIS/kLrvgeQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f++9zhySIjkHbDQkl57baoVaRVeJp+Yd9LX6Vx+VUn/vQK/DTqCnrVAsBxCqnsqz8 wtMD0gsjdD/vyp44n/CHj71HgbsOozl/0M872DhTvwrpZmiwIUG2TCZAFyhtiGRkkg J2AZXIgM8egOXJEfevgHfONc2KzkW/JSUr3p3qXJgqioa4HZo59qRnuVW4kbchavqq iXWFkVDPWeKkpKp2Eip1S4Ts0eiNWdQWscyCZbCeC45N7zmY/dk5Nc/7S9KBq3GUon rnq4vdbOODNiWn6xaTYrHEqW/KUCvi/e7OEfnwlzzisu9F9a400HJwFsWat9st6iVt F6WPMtgX9uPww== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 3/6] kbuild: clarify where to run make mrproper when out-of-tree fails Date: Thu, 22 Aug 2019 13:46:10 +0900 Message-Id: <20190822044613.5349-3-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190822044613.5349-1-yamada.masahiro@socionext.com> References: <20190822044613.5349-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If you try out-of-tree build with an unclean source tree, Kbuild suggests to run make mrproper. The path to the source tree may be shown with a relative path, for example, "make O=foo" emits the following: .. is not clean, please run 'make mrproper' in the '..' directory. This is somewhat confusing if you ran "make O=foo" in the source tree. Using the absolute path will be clearer. This commit changes the error message like follows: *** *** The source tree is not clean, please run 'make mrproper' *** in /absolute/path/to/linux *** Signed-off-by: Masahiro Yamada --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index d9cbbc27d4ba..901fcb8fffbe 100644 --- a/Makefile +++ b/Makefile @@ -1121,8 +1121,10 @@ ifdef building_out_of_srctree $(Q)if [ -f $(srctree)/.config -o \ -d $(srctree)/include/config -o \ -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \ - echo >&2 " $(srctree) is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \ - echo >&2 " in the '$(srctree)' directory.";\ + echo >&2 "***"; \ + echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \ + echo >&2 "*** in $(abs_srctree)";\ + echo >&2 "***"; \ /bin/false; \ fi; endif From patchwork Thu Aug 22 04:46:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171995 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp361836ily; Wed, 21 Aug 2019 21:46:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUM5n49MLjCP3tyaYn4ggNWnSz0pmXtS4Y+oZSqt9654xoePU4OQz0w6O81Irypy5Llxwc X-Received: by 2002:aa7:82da:: with SMTP id f26mr39762893pfn.82.1566449195621; Wed, 21 Aug 2019 21:46:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566449195; cv=none; d=google.com; s=arc-20160816; b=FRhGZ6s0CJ7UWRfb+GM2sNXRxuI5CEt4QbTRU2bpHqoVyGUTbCrvXa+5TRPQ+d95jh l4XFmdbR+uq6YhCsH2RHx+C2Jddzou8gILDjV6gXeOQSn8cDwjtPIbFK3yj/0X0ySrtJ 0IYUvVa4tb7xSFOnTsC/qdYO30GyLxAevLgQGOYLJCEQzraa4540iqjFAJNg/f1Mhm2Y VYRoyBaAFGExsH8DcgoFIykBxFujFLBq6ROyQeb4aFP6cXtBieHkC5Vlge06/ZB3voll pjAE8nqTKECcXvCydHFnzRWYX6A3mB9cHEZaiG6OtSpONHBB2bHYny2JO7x82Golthdh 6auQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=6gGU+zbwAmmeHsHvPATXUaYKglga5VDWoX8vHpWidI4=; b=sHqQacHGfhUiln2c479GsaFUgHhMKebrCoKTTzQNrkOOE+4KpTlhevnDbRBLVrvdIv 7xD3fxRNYr+FieXNth8/ZXH/EGHvMQW4zNt/IzfyqUUEVUkQ6lCSJTixwaPBctvUFNg3 2EIDSKs4IEmnfP13Sj17P+dsu4EST0gruR/XHyTiINv26/fvmt+WHwuzt87jwlWWxikj XR6g9aCUqXo5WY+Om7XIH5f8EqLUP+pMos4mfht0RqfhIU0D88iJkDbEVdg3HTkMTxNv a6bwI9REfAONiIcV5thNMPLpgNaHDoGduGSf3xtuksvrvw1YYg97mun876rtGyJGPCx4 3xRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NmGd4YJx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si1529909pju.108.2019.08.21.21.46.35; Wed, 21 Aug 2019 21:46:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NmGd4YJx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730989AbfHVEq3 (ORCPT + 28 others); Thu, 22 Aug 2019 00:46:29 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:29723 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728801AbfHVEq3 (ORCPT ); Thu, 22 Aug 2019 00:46:29 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x7M4kEYi001492; Thu, 22 Aug 2019 13:46:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x7M4kEYi001492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566449177; bh=6gGU+zbwAmmeHsHvPATXUaYKglga5VDWoX8vHpWidI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NmGd4YJx5J+5TUl1R1UL9Y/DVXvmYu6opIM6HB/+xW3Y9YWmkcmiSmX6V3g3QbFor rnQgKCZrhbpzJQVuCxOx4WOGLuXxNulHev9cmczPQNy3KJ36dlbg6tesPpvtXHoQ38 VtjkmlSZATC6+5IgLPgTY21FzmFWg3876Bq8ITzXVX7hWsGue+Lvq+pfOAoOwfhBnP TuTAcBAgG9pKrcJX2tUNV4lgTIqmxQ8iCFerL4aThscs8OpxK9x2sYWq38KI0Oe5/h TJjo0yD3DzHuQNLpO592JNa4GucanHCTq4ofYosEF824drgC9O2Sesxs8pmSYIwYpL la+UP+JL6ZnbQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 4/6] kbuild: move the clean srctree check to the outputmakefile target Date: Thu, 22 Aug 2019 13:46:11 +0900 Message-Id: <20190822044613.5349-4-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190822044613.5349-1-yamada.masahiro@socionext.com> References: <20190822044613.5349-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With this commit, the error report is shown earlier, even before running kconfig. Signed-off-by: Masahiro Yamada --- Makefile | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index 901fcb8fffbe..ca6851f5ebc9 100644 --- a/Makefile +++ b/Makefile @@ -522,6 +522,7 @@ scripts_basic: $(Q)rm -f .tmp_quiet_recordmcount PHONY += outputmakefile +# Before starting out-of-tree build, make sure the source tree is clean. # outputmakefile generates a Makefile in the output directory, if using a # separate output directory. This allows convenient use of make in the # output directory. @@ -529,6 +530,15 @@ PHONY += outputmakefile # ignore whole output directory outputmakefile: ifdef building_out_of_srctree + $(Q)if [ -f $(srctree)/.config -o \ + -d $(srctree)/include/config -o \ + -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \ + echo >&2 "***"; \ + echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \ + echo >&2 "*** in $(abs_srctree)";\ + echo >&2 "***"; \ + false; \ + fi $(Q)ln -fsn $(srctree) source $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree) $(Q)test -e .gitignore || \ @@ -1113,21 +1123,7 @@ scripts: scripts_basic scripts_dtc PHONY += prepare archprepare prepare3 -# prepare3 is used to check if we are building in a separate output directory, -# and if so do: -# 1) Check that make has not been executed in the kernel src $(srctree) prepare3: include/config/kernel.release -ifdef building_out_of_srctree - $(Q)if [ -f $(srctree)/.config -o \ - -d $(srctree)/include/config -o \ - -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \ - echo >&2 "***"; \ - echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \ - echo >&2 "*** in $(abs_srctree)";\ - echo >&2 "***"; \ - /bin/false; \ - fi; -endif archprepare: archheaders archscripts scripts prepare3 outputmakefile \ asm-generic $(version_h) $(autoksyms_h) include/generated/utsrelease.h From patchwork Thu Aug 22 04:46:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171999 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp362012ily; Wed, 21 Aug 2019 21:46:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyk2YSnwoScbagPB1lQW3s20+hnqb5UBY6GmpAQ1Am2vAPhH61Tt1168yG3KuSCcBjNhGh X-Received: by 2002:a62:7912:: with SMTP id u18mr41299447pfc.254.1566449211778; Wed, 21 Aug 2019 21:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566449211; cv=none; d=google.com; s=arc-20160816; b=TcmHlCZWMLkWJ15SX10CY1ADNOXHJgFv9elFwDv7dNqZYn+t5b5OnROqGIKXx6lzHZ Tu6EHMN1Jwhv/bqPcYT6yltF4QXs3OV7Lrh6BNWD78l4/LWV1bmP1h0RGC9ldW8TRLbb w1FavnN+J/p7fDn6muU+qCGVjEl0etqmaguW25PUhk6zklTX3YCvVegyHtzKvyhRD+G6 zR8Ajnuv7qXcDjHPkBbt206Lk3eCyq0I8h7hFTUjHmD3bx0ThvDhjv3SPXnLZ7ATToQt FC2r6KW+ieX/A79klFh+rYajozzDaRsXUtWuGeSZRoiBIPM1I5RnQesrGEwiKC8GbrqX N+UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=cZJ6kAU3rAstEUyLNxh1UUw2rnNTVUvdToMaj9qT4sg=; b=D0g/YOd6TzkMY4izK42W34XGrOI0CIk29+JGv6wU3pr6kVHqU9ZALcWC2EqqeByALc BkLPcHXeW4GthXVI5BTRa+Fgm0OPKQcKVbUZofNJAR/txijzA1K5MhD9skcXXEaTFhL5 av/rDq7Iv57PJkfxiP6TttMOGBVQMqpJaFv1X8ukmOtWQT08GgDTX6SAEYroBwxNgYBB g8yBHRPk3iIQiJDjRmwu6FqYuIneoGoI9kz1lTJZLs5y+Axsl9VYd6EgtNyuTTzEgBZs SpaIvtwsQLawy7pKqcPZpqqY/Z8Rpy7ccIAG7rcI0RjyvWNlubWw/7fAsniInPKUNVZV GKzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UodDF6Fh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si16741883plw.278.2019.08.21.21.46.51; Wed, 21 Aug 2019 21:46:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UodDF6Fh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731114AbfHVEqu (ORCPT + 28 others); Thu, 22 Aug 2019 00:46:50 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:29728 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729695AbfHVEq3 (ORCPT ); Thu, 22 Aug 2019 00:46:29 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x7M4kEYj001492; Thu, 22 Aug 2019 13:46:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x7M4kEYj001492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566449178; bh=cZJ6kAU3rAstEUyLNxh1UUw2rnNTVUvdToMaj9qT4sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UodDF6FhlhdQ2jScgiH8CH9f9iZPFO471syE+3a6wyPpSV1np5LeuOmNblK9Tmwv5 fBiXkfQEuEdyCA+B7eLvHXpaSvm8X4GepBfbM8GCt78nzI4rnlRXPqtVUPTAvsoTui ousZF2aSC7jKIe2PIuBCG/0y6jThnE+UOAcJJqa65sB6ZwxhmYkIoFFHhG1hQnlH0E fdcvb0QBmoLSOwVj/M5CvFXoz6K9fZRoLVkkNVQJwhkPqqcyUCI0bY3iQwOaT/N7Om gvjYRHrQMkcCPpcnrY1MecF5mQAfIiJ/7hOR1D5Dwx56eu+GK5f7qdMjTayH1McEc9 u3ffWNEvnHoYg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 5/6] kbuild: remove prepare3 target Date: Thu, 22 Aug 2019 13:46:12 +0900 Message-Id: <20190822044613.5349-5-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190822044613.5349-1-yamada.masahiro@socionext.com> References: <20190822044613.5349-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now prepare3 does nothing but depends on include/config/kernel.release Signed-off-by: Masahiro Yamada --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index ca6851f5ebc9..960df4d35b15 100644 --- a/Makefile +++ b/Makefile @@ -1121,11 +1121,9 @@ scripts: scripts_basic scripts_dtc # archprepare is used in arch Makefiles and when processed asm symlink, # version.h and scripts_basic is processed / created. -PHONY += prepare archprepare prepare3 +PHONY += prepare archprepare -prepare3: include/config/kernel.release - -archprepare: archheaders archscripts scripts prepare3 outputmakefile \ +archprepare: archheaders archscripts scripts include/config/kernel.release outputmakefile \ asm-generic $(version_h) $(autoksyms_h) include/generated/utsrelease.h prepare0: archprepare @@ -1261,11 +1259,11 @@ endif ifneq ($(dtstree),) -%.dtb: prepare3 scripts_dtc +%.dtb: include/config/kernel.release scripts_dtc $(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@ PHONY += dtbs dtbs_install dt_binding_check -dtbs dtbs_check: prepare3 scripts_dtc +dtbs dtbs_check: include/config/kernel.release scripts_dtc $(Q)$(MAKE) $(build)=$(dtstree) dtbs_check: export CHECK_DTBS=1 From patchwork Thu Aug 22 04:46:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171997 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp361940ily; Wed, 21 Aug 2019 21:46:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqweA61i/4aWR34lcl21j8ZDuiUqgFFF6WgguS9Uni96SYaThDLskuAzAzMlqrr1aGl4ri3g X-Received: by 2002:a63:ed55:: with SMTP id m21mr32154910pgk.343.1566449203778; Wed, 21 Aug 2019 21:46:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566449203; cv=none; d=google.com; s=arc-20160816; b=0PzPuACmMOax+dK4HAsn724xGmTSOdBkjOJasX24+SAl1Y3FYnfYHnly2esCRibk2l TcjfKDGt8V7XWOsMBsR/ExXjywvbrfNhBTQCHQcQt7zWuP4GqS0JUFrGuD+NNmbS3BcL l+gTMButGCUc4NSHJwCSuZMv7ZNlVe0PCtsHtjoe2ftAoSd8VwGLIjGvUR0RNi7xSHBB 89lWJzV4O7M55qUVPhnjtUmeScEhpb+syCeAwWpMDFwzTuXZbLH4qWHWlzPbq8u2xXZb ltzkrzRpunpTb69EX3ijRxKZsTqywiCHflngRYvl0VhnOrbxC44xQf3IZun3v7AcK5RP MutQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=qUMeOvsH2PJ92pYaiUPXJnmgv8wzxTsns//qrBBelrw=; b=HBlYBnckQKTfWdllhwtWhXAx0a6JGWaS9t7fEXC3/M+s9AP/Z9Qrd0t65PnTTKqQlE 8Waj3t9cYoT5ZuMzCgoVMBxlC+fDSNhlebej+eZN6sOezvWTfKYAutvunvHqhm22gYWV wxVBJ4wDZcC7pmJ1bcyMCzByAxc9/m5XAxlWNGRkCA0hpCcnRhNljELHM6FobZ8L4ShN rjvOOKoLC1J78ga3q+DWdvH9jB2M8mJo9h5aBam+lryVxLBrWcHuIwzENdcHKwqQMO24 DwV2M0WvRZi9smKSUJgfhLetTp1wJp9Zq5MscR8A1JYDvpHFBUL1ClhUX0czVytiGT54 xl3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ukNEEp0b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s129si15664054pfc.16.2019.08.21.21.46.43; Wed, 21 Aug 2019 21:46:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ukNEEp0b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731049AbfHVEqj (ORCPT + 28 others); Thu, 22 Aug 2019 00:46:39 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:29727 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730905AbfHVEq3 (ORCPT ); Thu, 22 Aug 2019 00:46:29 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x7M4kEYk001492; Thu, 22 Aug 2019 13:46:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x7M4kEYk001492 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566449178; bh=qUMeOvsH2PJ92pYaiUPXJnmgv8wzxTsns//qrBBelrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ukNEEp0bnnzgMTNO6zcBJP1NojCo9Td3jckZzfz+VtHhbe5Yh8i496X1+WYcAP0Xh Mvrq39x/ipDBF3/vDZxGDdSf9Vqk4PqOSboyR+Zm60vchqNaMUeIl4DJvHuqrht6zz uwuHWhDH1yQKKgBLkYyVLXtp6cBQBCMAY52nXekony9+QBduLwTeJb9Q+ReLq4TS6c V9Ms86SteH17cF1Uz4d3gLLiZNlAyf62RxjAxaFDGFKyE07iSKWSwrqXo52jX3VhMB ooyBh863rRnwLsJLhbLT3B/ro2Vbird/InXvUSa01q3FdCjNGy062V4hAjteM7NQ+C /B3ZeBmNXUWOA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] kbuild: check clean srctree even earlier Date: Thu, 22 Aug 2019 13:46:13 +0900 Message-Id: <20190822044613.5349-6-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190822044613.5349-1-yamada.masahiro@socionext.com> References: <20190822044613.5349-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the outputmakefile target to the leftmost in the prerequisite list so that this is checked first. There is no guarantee that Make runs the prerequisites from left to right, but at least the released versions of GNU Make work like that when the parallel build option is not given. Of course, when the parallel option -j given, other targets will be run simultaneously but it is nice to show the error as early as possible. Signed-off-by: Masahiro Yamada --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/Makefile b/Makefile index 960df4d35b15..089983a8a028 100644 --- a/Makefile +++ b/Makefile @@ -581,10 +581,10 @@ ifdef config-build include arch/$(SRCARCH)/Makefile export KBUILD_DEFCONFIG KBUILD_KCONFIG CC_VERSION_TEXT -config: scripts_basic outputmakefile FORCE +config: outputmakefile scripts_basic FORCE $(Q)$(MAKE) $(build)=scripts/kconfig $@ -%config: scripts_basic outputmakefile FORCE +%config: outputmakefile scripts_basic FORCE $(Q)$(MAKE) $(build)=scripts/kconfig $@ else #!config-build @@ -1123,7 +1123,7 @@ scripts: scripts_basic scripts_dtc PHONY += prepare archprepare -archprepare: archheaders archscripts scripts include/config/kernel.release outputmakefile \ +archprepare: outputmakefile archheaders archscripts scripts include/config/kernel.release \ asm-generic $(version_h) $(autoksyms_h) include/generated/utsrelease.h prepare0: archprepare