Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3388714ybn; Fri, 27 Sep 2019 05:45:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4oC4zyRU0wWEeXZ92ARghahfbjFMTIzTV5362MGjh9pYQt/HPENyFEhOfr5nG6iPTlMnH X-Received: by 2002:a05:6402:1583:: with SMTP id c3mr4318080edv.286.1569588341501; Fri, 27 Sep 2019 05:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569588341; cv=none; d=google.com; s=arc-20160816; b=DqybgssQX4uqqEenMJdlHwts6TchnuqDzT+3UD3X1F1QUJJ37sqXLpyx5CvXd+1HSr aC8lnlAJfFBBePqH7GHlIMcxXy4nwUIYjWFODVPANUkNP3aWvXRELeMroA5mx5iuMbFk 6dnBY9OSurUuNTp2y9P+1HNND7EkE+R6Ao9SR63WR5QunuH37XJ8XSq/z+lG8WbFg9NH JDVIFKJe7mIJOJk4HZ8UDh771eQHYJd8BlAX08bYcfhsF0u0r+xp8O2eGRkgkuEUOD9c Nwo/iyE3NjBL2K9d/V8KaotwX/QnLgQzADwdl2xh0EXBzT6jz6YJFsyFcublppao0AHm LTYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iQL/mBFoyT5w4+hqPmctLZTeB55w7NLl/wO5PdSiL2U=; b=qNvuOWBH93wyrIMpzMZy+H7c7NAZN2IL7ayEffuNSAxZvnuEmi6bg+wpOdh5OoGLoF eQJE09JEUc0mTdZVdmEEhEGFKhS/Zd2TRsOxf5JHSqikctjjSFyOZDmmagBr9CC3gx1Y JoO9qqMte1d9eITagXgrdkeKi5VW2pIZNOY1ehDedxZkN6VvkUyWcBqcH468RhhLzFvs yzp/4MKb/qU9vbPHTKD7RKXV2KQmqGAxmt/4nL3ycuXe0Az+HOTpLqxq/yN7WOWtu/YC x9D0bI53ghkYqaY3QrUYiELUaGokgIDOuux3KFjRpItcs9DX521sTi/scKHpqs8G3UO0 gbjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="myBhg/eG"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g24si2786441ejo.355.2019.09.27.05.45.16; Fri, 27 Sep 2019 05:45:41 -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=@google.com header.s=20161025 header.b="myBhg/eG"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727608AbfI0Mow (ORCPT + 99 others); Fri, 27 Sep 2019 08:44:52 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:38246 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfI0Mow (ORCPT ); Fri, 27 Sep 2019 08:44:52 -0400 Received: by mail-wr1-f66.google.com with SMTP id w12so2577261wro.5 for ; Fri, 27 Sep 2019 05:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=iQL/mBFoyT5w4+hqPmctLZTeB55w7NLl/wO5PdSiL2U=; b=myBhg/eGuipuj/7sSVjnjujigvoCGLp1eCc3gH/+ShzrqZTEiNeAsQO5iFxgOrXhZ0 iT/cp4R/uktq28HYdiQjaevn/BI4XxDSO0LJIdd+4SXdZROwKVUpsWkaC/CAIuYIeZF6 KNB44AZ7EwARPpc+ksUoIxDOHnh2+f72TqOuTNeHwGj5rYDUarg7X3eE1+XPC8dRm6r6 GQEf9qpoVYT/3ImSdHxdS9OUtJ0RreW1yo56qA+XwY3h4jtozieTx7s66FL6GcI5SpcA zXKE40T/1sW+8byUh+KODrKra+jt+AHhdsG9IIHNstzAwmfblkzrVf6oqbQfiYY2QUJC ExNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iQL/mBFoyT5w4+hqPmctLZTeB55w7NLl/wO5PdSiL2U=; b=ixcSbvPzLzKXnWT6xT/mkmlkXVqgn6xmtnEeT2xRwKFi9sgtNrXL9WQqf9KPGDb/UY 4Xo5enH22Xs/tWvc3Bc9+isAHvUjZcuSgZKslG78PPWehyU8HJi3kc8qjJX3YQVusWwv csQXo8fW+myqJ0z9GDyJyyuiFsx27PbAaoO/G1h49RmVYxWCKPXVY7N9YN+VHQxlVhsM BZ9huYd6KdTpeO+OfNR7McLZm0z1CEY5jswF5Nn5jP8umETOsQ3EwGoEhaY/bbYJ5pdJ p/hmjlaqohstEm4IK9baCOcTj4S+f6+JW2Z5CVaH9o+kqOWk3ZLMFN3W/FOCfEQdvNS3 ui4A== X-Gm-Message-State: APjAAAWWa/NF5dTewBqr8OYHqnAETTswzDfLbUBkPIwi8Rxe8bpmq3bv WyDGQob9ZCkOYDEV77qdPW8sgA== X-Received: by 2002:adf:fc0e:: with SMTP id i14mr2867784wrr.302.1569588289230; Fri, 27 Sep 2019 05:44:49 -0700 (PDT) Received: from google.com ([2a00:79e0:d:210:e8f7:125b:61e9:733d]) by smtp.gmail.com with ESMTPSA id v4sm4201457wrg.56.2019.09.27.05.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 05:44:48 -0700 (PDT) Date: Fri, 27 Sep 2019 13:44:46 +0100 From: Matthias Maennich To: Masahiro Yamada Cc: Jessica Yu , Greg Kroah-Hartman , Joel Fernandes , Martijn Coenen , Will Deacon , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/7] kbuild: fix build error of 'make nsdeps' in clean tree Message-ID: <20190927124446.GE259443@google.com> References: <20190927093603.9140-1-yamada.masahiro@socionext.com> <20190927093603.9140-6-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190927093603.9140-6-yamada.masahiro@socionext.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 27, 2019 at 06:36:01PM +0900, Masahiro Yamada wrote: >Running 'make nsdeps' in a clean source tree fails as follows: > >$ make -s clean; make -s defconfig; make nsdeps > [ snip ] >awk: fatal: cannot open file `init/modules.order' for reading (No such file or directory) >make: *** [Makefile;1307: modules.order] Error 2 >make: *** Deleting file 'modules.order' >make: *** Waiting for unfinished jobs.... > >The cause of the error is 'make nsdeps' does not build modules at all. >Set KBUILD_MODULES to fix it. You reported that issue earlier, but having nsdeps depend on modules (see Makefile:1708) resolved that for me. I wonder what I missed. But I won't disagree with you on kbuild advise. :-) Reviewed-by: Matthias Maennich Cheers, Matthias >Signed-off-by: Masahiro Yamada >--- > > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Makefile b/Makefile >index d456746da347..80ba8efd56bb 100644 >--- a/Makefile >+++ b/Makefile >@@ -616,7 +616,7 @@ endif > # in addition to whatever we do anyway. > # Just "make" or "make all" shall build modules as well > >-ifneq ($(filter all _all modules,$(MAKECMDGOALS)),) >+ifneq ($(filter all _all modules nsdeps,$(MAKECMDGOALS)),) > KBUILD_MODULES := 1 > endif > >-- >2.17.1 >