From patchwork Wed Mar 14 16:44:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 131665 Delivered-To: patch@linaro.org Received: by 10.80.210.197 with SMTP id q5csp396468edg; Wed, 14 Mar 2018 09:46:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELsvO3wiqj7r5x4U/7BUFgPIHaKDsHIEf7AIBm3AWiKoQEPK9279dGAzkw9p89JCioluyRq3 X-Received: by 10.98.31.155 with SMTP id l27mr4968193pfj.176.1521045977611; Wed, 14 Mar 2018 09:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521045977; cv=none; d=google.com; s=arc-20160816; b=UqnrWuKk77k4ifdNQzIZ5JxqQ3DCGqEuC59kSKLIMSjd4feW9MWU0DCAMAENG3jIoT CDddH/w64zJh+TgClf62En8A5DNK8kwWxu/MrQfb2Io9UfncFyPLKAP0QEaGDt4Ud8m6 qtrjxsi9qqS6L9O8ZL+c++t4scESWk3EO5iNwe8vFFxjwQyGie0cPSdEYbJ+gKfVzT3w SPOHKiDSCy6qGwRanipyCmpm9aXh8V3W8+O6rd7NPAT8lLle0U7sKPxEz2t2cSG8Mnd3 uchqlvXrc+0tvOuJOCJyZG8kimqLohli93bg9HyVCplvv6KSomUq5je9m+38JbJisz/E QzLA== 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 :arc-authentication-results; bh=B6r7DF0nix1PPbyiSEnJ46Y4cibwUOXoFNmD7C4KdDU=; b=I/t+l6+TBntrKTaWcExYRHlK5YTWB62x1SjrCo1MY8Kix+UP5s/AduDguifa0ybB5q 6pRsCyqj7VU2G9Vu6bgekiu6f5kaz9VW5vnNI8pHE1JcB1pznyiDS4Gc20PYcYbI8KOS iaQ/yUgNfBSiZTUtFqUf61IcjbfdBTgtMzWb4FGpIrFyrPQYx4DVyTyK4gtLqLZhrlha i1uOKRq6K9UExUsVy0FF3k3w+e5YYK06/OYKs61HzamfsYccq7HQiODl9b9pLAOfbYkm Xbih9LeVKMQJIlaPwph4SSUdOIT/2Zc2jGQCmfbTyXpOP9ind8XU5rAeQyQQaU/BG2FO /eRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2q+rmX/J; 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 ay5-v6si2203089plb.106.2018.03.14.09.46.17; Wed, 14 Mar 2018 09:46:17 -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=2q+rmX/J; 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 S1752474AbeCNQps (ORCPT + 28 others); Wed, 14 Mar 2018 12:45:48 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:38067 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751991AbeCNQou (ORCPT ); Wed, 14 Mar 2018 12:44:50 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-07.nifty.com with ESMTP id w2EGiSdS001049; Thu, 15 Mar 2018 01:44:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w2EGiSdS001049 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1521045870; bh=B6r7DF0nix1PPbyiSEnJ46Y4cibwUOXoFNmD7C4KdDU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2q+rmX/Jza5uBgAu/gmYcuNZe6LmSZSyfZ/knTQ2VfBDRNdIMGRU6rZIPBVXBlPZG 6faZypGHD2qacDPJ3ajKYGiL8Bc1MdL3q0uNzTfF2mTZaScrWrRjNbLYMoxEN/nXfK uI1yzvuALLCXd+y4MO7n+Y0sNgtdcJdSrRVMJcx89xSChaGk8sDRzL8S4abtJo0Oi6 044X9RP8emzHWeDqo+UhIwA4NfVWIgTj24jtS5tV7o0QedEgliQLq09STEzz8tzAtG 42qBKbcw+Rkfysn6y2bx9BEUDnwQbbJmM2vaNvGNWE3uiwIq/ppeoEG6LIa+zk8VQC XkZb7OrItZYVQ== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Nicolas Pitre , Jarod Wilson , Prarit Bhargava , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 3/7] kbuild: move 'scripts' target below Date: Thu, 15 Mar 2018 01:44:17 +0900 Message-Id: <1521045861-22418-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521045861-22418-1-git-send-email-yamada.masahiro@socionext.com> References: <1521045861-22418-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just a trivial change to prepare for the next commit. This target is still invisible from external module building. Signed-off-by: Masahiro Yamada --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 5eb5d9d..fab0e19 100644 --- a/Makefile +++ b/Makefile @@ -556,14 +556,6 @@ endif export KBUILD_MODULES KBUILD_BUILTIN ifeq ($(KBUILD_EXTMOD),) -# Additional helpers built in scripts/ -# Carefully list dependencies so we do not try to build scripts twice -# in parallel -PHONY += scripts -scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \ - asm-generic gcc-plugins - $(Q)$(MAKE) $(build)=$(@) - # Objects we will link into vmlinux / subdirs we need to visit init-y := init/ drivers-y := drivers/ sound/ firmware/ @@ -1059,6 +1051,13 @@ endef include/config/kernel.release: include/config/auto.conf FORCE $(call filechk,kernel.release) +# Additional helpers built in scripts/ +# Carefully list dependencies so we do not try to build scripts twice +# in parallel +PHONY += scripts +scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \ + asm-generic gcc-plugins autoksyms + $(Q)$(MAKE) $(build)=$(@) # Things we need to do before we recursively start building the kernel # or the modules are listed in "prepare".