Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp40462ybn; Thu, 3 Oct 2019 01:01:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1Orij+R9w0iTVfFjAH0u0oGltN7hd93f/mJy/oaSxYKNA43rAipGJJvPZZtN/ZtFui4ls X-Received: by 2002:a17:906:1152:: with SMTP id i18mr6620074eja.113.1570089668399; Thu, 03 Oct 2019 01:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570089668; cv=none; d=google.com; s=arc-20160816; b=ZVZ3ApOZ14GuixdL1KjnxSXXmguAiZewzUJqE8sl7KtY2rqsQqv60XgBYsg8x1HMu1 kk5vWDmySzH/Ec0YB1VhbuLF0NDY6+tW94ohpJv3zWQeo89aWvZ3/TbMqJWgOkdI/pGz K6aTnEdBAEWX8N2pRPB3l7N/XnCQUjwPwwDJgOsPaeaegyI1a3ssZyRjpTbXHn8AxNSQ per3h3Y8KxxhaQ7Z5Sy8pu07JsKkjVXclh/2IyvfAu98kme1om93ePn1QbwtBh3SqXa1 PzQeZCGKG/GSt39rn4Irn3MYS6lolWwvf3eLLJpq9f08pAgIIzJUXeRke1kTI0ENpX8n WyFw== 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=+2++qHqEb0DqRRYFRDlh3635ELQ/E4mk9ABraUBN90M=; b=zmG+rkWNmVsdp6qK2O50xKpqQ2meKxUs70NhQiSVx0WSXG+G9DRDSpAET2swtq2t+g WVTnkrD85k+1UYOBkGS4o1eEjOI+LDkkJ4ovNQ2/buqBMuXb9Q49hVPnlT+GxEHV4jNd HS5bHVFd1kVheUaQn84Rv11f/WCOSqbjD8XwLdMmJtzcTUcpO8vchnHDjGIT2TdP69aF 0LxJ0apr6lYwC82Z9wKpwW6HArTwx6YhyBwVJYQyyfFkrFxpH++dQlj7ymAnoXRbuOV8 PHc0xIHeYWz/CH6NxJNhWSF41Y7QkmdJ9/yNhTcAJD3FmI4JD8K0uH+YPSqdR7ndzrj0 AUog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xzpHUKIW; 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 cw1si904539ejb.117.2019.10.03.01.00.43; Thu, 03 Oct 2019 01:01:08 -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=xzpHUKIW; 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 S1728746AbfJCH7f (ORCPT + 99 others); Thu, 3 Oct 2019 03:59:35 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:59224 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727452AbfJCH7Q (ORCPT ); Thu, 3 Oct 2019 03:59:16 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id x937wTkW007720; Thu, 3 Oct 2019 16:58:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x937wTkW007720 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1570089513; bh=+2++qHqEb0DqRRYFRDlh3635ELQ/E4mk9ABraUBN90M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xzpHUKIW1Rdb+BGeVOTE9aitZme/b4Cfxbnx0ukpryA73Q4laaIZVJGwNI8EgBL11 m+uKhaOQFaL8e1PwVsafamEH4O56h27AmtxkNtTG6KI0ugDRwCQ7rSRUgK2aQaka0l M/Ph7mbYklGJwrBRwxK4BavnKcTVFXoPN3q6/Dbc3raiAeBUwo68O0yC92D6Mr/lq2 psMYe10UTW5BIQLpX3JB4Zr2JUg5sFAVaP1le7jQz8Cbn9I517yaTTo44qZOfrqqNA JLYFfDsJ/ak3lsxsO5PD+KT3jvexpQIMH8cdcXjE8jyCtEoT5j5IbFnHbJeSXbaDi6 j9JPu7ZbVh3ZA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Jessica Yu Cc: Matthias Maennich , Greg Kroah-Hartman , Shaun Ruffell , linux-kbuild@vger.kernel.org, Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] kbuild: fix build error of 'make nsdeps' in clean tree Date: Thu, 3 Oct 2019 16:58:24 +0900 Message-Id: <20191003075826.7478-5-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191003075826.7478-1-yamada.masahiro@socionext.com> References: <20191003075826.7478-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 Reviewed-by: Matthias Maennich --- Changes in v2: None Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f54f2f95743..d97f38ad5d9f 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