Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1055860yba; Tue, 2 Apr 2019 01:05:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxchrgF4IOPgDHRbamCkEDDcsGLcC4l6SX0ddU3gOPsl8l3MfDIfO57IHwQbx55Fg6245kb X-Received: by 2002:a17:902:f094:: with SMTP id go20mr46127761plb.159.1554192313198; Tue, 02 Apr 2019 01:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554192313; cv=none; d=google.com; s=arc-20160816; b=UejrrEA+5No6W5AhNo0g7YdlJ31NQki8NBafXMcNpIDmK+NYJVk3t1vqNAlqciQbbE 0Onco3LDVQGQA7Z2XYHBgUId0tn+QT7/wnwmoDeRrbrltA8RARVs7e+y3Y8zuIRPo6hS P6imaBXdh7w1hZThY5LpCBs/kTt1D36BtICYXNIHhkKgVZK0WNAcIJmsSMaMgHkm/8Uh YQnOgMTqeBSVqpa5YtGtfIC8HSU7rAoLeKQhLCFFupZQgqnjywEcoFTs8gImdIIlD7Z9 M2kC8Glq+nqRhAiPDF9jdAIDvVbgPz8iRL/DZzt7lpy/QjnewjAd0G789patpyNh6nR6 yqzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:reply-to:from:references:cc:to:subject :dkim-signature; bh=zZqUiD5J9vT9uJFi9oSheE87QU/wRkfpGnoS/UUCIdE=; b=SLb4j+kgyQXFJY/kMtexVx9LiNMGl4jF+nxkpZ9f4EIP8ALycqUOPPY59Nb+5WXw8A J668aY0RnpG48KeRQBmIQWbRDFDF9ZI8+vSr8yxmr5f38CXr38AZ3i1yumCXtyImM6De 6BaNvqK0MJJV9VF6WOe2IoBavOupL21/REUXUFyMMBPTc//bw5qZumuzX0dQITdywjc2 5V/nqO4ZgfJ5PiWbjF8PD7m35E8udhkbLRUP8cF0aLcKrangjOaE52iUyBkTb9zBfmWP nVZGrc9kPo3FEAiLVD3BG8Le5zv5CYFFi0N8rAbAGYEqg8hEOYxioStNdpnavcDZyJbc 5FZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KQ2jbCI+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s71si10857040pgs.561.2019.04.02.01.04.57; Tue, 02 Apr 2019 01:05:13 -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=@kernel.org header.s=default header.b=KQ2jbCI+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727280AbfDBIDC (ORCPT + 99 others); Tue, 2 Apr 2019 04:03:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:41230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbfDBIDB (ORCPT ); Tue, 2 Apr 2019 04:03:01 -0400 Received: from [10.71.11.124] (unknown [147.50.13.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AA6020856; Tue, 2 Apr 2019 08:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1554192180; bh=t2qFbe19O35nJOn0zDIVazGrzSn3miwc0jREppNxx8g=; h=Subject:To:Cc:References:From:Reply-To:Date:In-Reply-To:From; b=KQ2jbCI+dFCDg04aay0pZE9/F4IH50XMQWuxGb3HkyCbkv5n5BUwF0l86ciMRHSz2 fnngsjSVi8Pb1oggdzJDhFObVtcKCkFt1CK94ASDBe6BXZ2dpE5NF3GOTfkegkW6X1 V9wIGYkdCO5yAy7t6ZxlwkQcCfbRF8V4okv+THQc= Subject: Re: [PATCH 4/6] kbuild: mkmakefile: generate a simple wrapper of top Makefile To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: Michal Marek , linux-kernel@vger.kernel.org References: <1553947458-8311-1-git-send-email-yamada.masahiro@socionext.com> <1553947458-8311-4-git-send-email-yamada.masahiro@socionext.com> From: Kieran Bingham Reply-To: kbingham@kernel.org Openpgp: preference=signencrypt Message-ID: <5b2191d5-1fde-1ccd-023b-bd0de292c4b8@kernel.org> Date: Tue, 2 Apr 2019 15:02:55 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <1553947458-8311-4-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yamada-san, On 30/03/2019 12:04, Masahiro Yamada wrote: > Now that Kbuild is able to start from any directory, the generated > Makefile can simply wrap the top Makefile. This is a really nice simplification :) Reviewed-by: Kieran Bingham > Signed-off-by: Masahiro Yamada > --- > > scripts/mkmakefile | 20 ++------------------ > 1 file changed, 2 insertions(+), 18 deletions(-) > > diff --git a/scripts/mkmakefile b/scripts/mkmakefile > index 31de468..4d0faeb 100755 > --- a/scripts/mkmakefile > +++ b/scripts/mkmakefile > @@ -12,22 +12,6 @@ if [ "${quiet}" != "silent_" ]; then > fi > > cat << EOF > Makefile > -# Automatically generated by $0: don't edit > - > -ifeq ("\$(origin V)", "command line") > -VERBOSE := \$(V) > -endif > -ifneq (\$(VERBOSE),1) > -Q := @ > -endif > - > -MAKEFLAGS += --no-print-directory > - > -.PHONY: __sub-make \$(MAKECMDGOALS) > - > -__sub-make: > - \$(Q)\$(MAKE) -C $1 O=\$(CURDIR) \$(MAKECMDGOALS) > - > -\$(filter-out __sub-make, \$(MAKECMDGOALS)): __sub-make > - @: > +# Automatically generated by $(realpath $0): don't edit > +include $(realpath $1/Makefile) > EOF > -- -- Kieran