Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3195114ybn; Fri, 27 Sep 2019 02:37:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgsXimieZ1220VizDx0jlnXtK2+4kwocH3fof9k+Hd+DiU3ol5FyxTWJp8G5eyZq2bGTN0 X-Received: by 2002:a17:906:2cc8:: with SMTP id r8mr6850394ejr.197.1569577056421; Fri, 27 Sep 2019 02:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569577056; cv=none; d=google.com; s=arc-20160816; b=rV0UzDvYY65K9EO82V8C2oGJuvm6Ob8MOZTXwv0hbJ8c9medVkQDPd7HzianLhSZ+O kdYRU5YXbNlmusEjcubBD6Cd/PxubSKPWresbzAjQNZIq5DsVcl3tDaLEfzdqxX2B7ov Ddzm3aU3Z4ws5lRRSJ40VXSDtBcH6gtoHLoTx26LzA4SqQXTEWIitJtpEXMjxTum4ilU i+QfWa7sN8pprXSbos/yBiQhMHUsb2jHMZO2QEAApNeMifejsR68+35UHsTxx50K24Qa YtBJIFT8RYiXxWyNlS5zNGrgJAPiUpCQTUAfLdtUI94V4H5k92ZP477xu1+LKI6r9zFS 7s0w== 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 i40si1118498eda.225.2019.09.27.02.37.11; Fri, 27 Sep 2019 02:37: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=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 S1726856AbfI0JhD (ORCPT + 99 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(-) 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