From patchwork Thu Oct 3 07:58:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 175059 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1855288ill; Thu, 3 Oct 2019 00:59:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtf9bkFFOjviLQkYY4DLSFooVkZOvB+QdvmqsbJuj908SpcpDweZKnYMz/y+8SxCmkCZX9 X-Received: by 2002:a17:907:388:: with SMTP id ss8mr6544490ejb.26.1570089577151; Thu, 03 Oct 2019 00:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570089577; cv=none; d=google.com; s=arc-20160816; b=okbRFsY/YyXjlgGLRI9sSkFjPE3iuFrJPlwpSylgbZGwGHX4YuT64YtGovoL3A4LIW RJVEvC9WfUvHHgUUH8ffDmaDLGCNWCkG58XD9HMl/eHjx7qc17gaeDyY7onBrf11XWQB t2kucUk7GK8M/+zaqf8FJHLlD0Lm/v0wSzBVNgpdz2qE37tiB0naZeVwtYfsZlUTjjgI Uip5c29UerRAs/vCfdK7X1FmRM15ImCMjyyFy09lqzPQ4iSKNtPNlzmftjwq8/gwJKa9 VWtrFa5CKXU0x6PbeEtVYrnTQ1XNiW8ktakIuw/a2ODAv3/+0/3z2IW+Yom7Nc1aup1M 5SBA== 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 o17si790856ejm.261.2019.10.03.00.59.36; Thu, 03 Oct 2019 00:59:37 -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 S1728763AbfJCH7f (ORCPT + 27 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(-) -- 2.17.1 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