From patchwork Fri Sep 27 09:36:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 174619 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3245490ill; Fri, 27 Sep 2019 02:37:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhC30RsVaxgsShokkCbfyC31uFBHRWrSWbjTnyFQmDWD9rjJHnZjiOoXb5atR6p3RZoW9w X-Received: by 2002:a17:906:6bca:: with SMTP id t10mr7047445ejs.64.1569577031518; Fri, 27 Sep 2019 02:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569577031; cv=none; d=google.com; s=arc-20160816; b=uHo9QI/+YidYm6jb9fy8zWa8GASEbnv+SDou6uwrGh6QMmerAns0ssiaTnpIOb21S/ K0vWlBPQcBickAqeAuFX+Lr2vYIIeVNN1kI4ROUfe9rNS6EYl9t1jijthq63SCbxOF7W ZBGCpLEkfcW6SvgdDOgaBYd7gAnOD2xwu3KH0cxEndBllPhO5IydgLlXSwYo+8oYlhQx usGlm8YonxceMTAvz1PbB0UG7IGsLFaQhq9fWuE2/5aDWzb8oFDKUATSODb5NUpyIJND 4h6ZNofwbVyyDpwGFSeDgCsd4e5g/bVrI1mZ/oc2CTTVe0MgPoLRa30HfwePfgFPrwhh vUEA== 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=PdteufK64PUrtistqDZxQfPkOhODuQM4/dZUBLfPgTA=; b=nEskuy8KOD6Y5RP4RAROCm1GjK5G6zrSVj6427AY2BoKa5XXKUADY7gNKDEabmemmd DOzAhhxDqjWlFdVQVIz3AcayHvCj7inmZ36SluGbQJi3YxRFK1MI9xhbTPWh7Ad+e6Oo wjL56M35iAg4SEtLwZq5rtz+oVEUKzqFvkQTJ+VISjzVMIJEF9SnYkuzxI39V7UdR3nd K0a5XDwqS5DlIf2XOVmOZ45zpsDZW0nmcNc0LOVINXyoASfwVUzHrkGV9g11Om7JRYD0 I0EMqvpKPS2Ui+WwkXL6iCHzGDnBG8SrRF871L65aRbcDCC2oHMn/qCv6WGJ6wJmYMoP PpUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EM8WpQlH; 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 v5si1282078ede.126.2019.09.27.02.37.11; Fri, 27 Sep 2019 02:37:11 -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=EM8WpQlH; 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 S1726896AbfI0JhD (ORCPT + 26 others); Fri, 27 Sep 2019 05:37:03 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:33065 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbfI0JhC (ORCPT ); Fri, 27 Sep 2019 05:37:02 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id x8R9a5uf001372; Fri, 27 Sep 2019 18:36:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com x8R9a5uf001372 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1569576971; bh=PdteufK64PUrtistqDZxQfPkOhODuQM4/dZUBLfPgTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EM8WpQlHl/RRg5lRspAhRnXuVP7NMRwN3vND8I4as8aaLPekCtI2sURqIXOQUzDqJ TJHa0dr1aSxHTVohjmVKh7oax8Y6aHX6vl0frGNzHY2Kajqt1EupmVDFm5uVTT36nI WTqmMnV47W4d6qBAKQZwm29A4ypO1YqbCZQRbrrvANW8PLu1Z4gsMkTGzAkFJ/v6aw HY/TlIH66PvW6R/IEv69y/UWP17UXOHEpE7VWJKN4aqBCdnNEQwkFNCXzd0B4zz7VG d5miMuXHwDAUjJBe6WWgZaWnkP07YEIXzgMDUvwQxkliu+OIVfQBRM26Bg370XpJOe 0pyYPUk423uwg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Jessica Yu Cc: Matthias Maennich , Greg Kroah-Hartman , Joel Fernandes , Martijn Coenen , Will Deacon , Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] kbuild: fix build error of 'make nsdeps' in clean tree Date: Fri, 27 Sep 2019 18:36:01 +0900 Message-Id: <20190927093603.9140-6-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927093603.9140-1-yamada.masahiro@socionext.com> References: <20190927093603.9140-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Matthias Maennich 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