From patchwork Sat Apr 27 03:33:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 162987 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1470609jan; Fri, 26 Apr 2019 20:34:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/H5e3sAR+IMe3tYut/KelUzpKo4BNVviKf29r23TXrtJD6TkKRw/Bal8PoJWxQK/SVtSG X-Received: by 2002:a63:e5a:: with SMTP id 26mr15744817pgo.405.1556336045956; Fri, 26 Apr 2019 20:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556336045; cv=none; d=google.com; s=arc-20160816; b=D2hvSFlNQwGb6p9EOv7D2nnACp097OhadzDnpH4BKoiSe+eZr9pl58r+8OiiFSNhiL BFJqK0q91oC6Zccm88q5yej+yJtGnjyHCNswbruQXjcujQNxj+cPBM+Qsrtz4N3aIKjH BtihvAYyrEPE0zwKuNmR1bSYjVOW/1LFORD42X8VWprHVr1fh0gVHZUIR3UnCs3cETEy nQtOBq9hrcOwjTAYnalwedSJsC7hpZANdSv5qFq77lv0W/HTHY6w7NEQ8rn21X/rHeA2 OamGVe8k1bwzQfYCui2cRnwPiO15aI78Mup14G2vIdLT7uUXSUlXTPNxnX74Ka0xaWcI 0FCg== 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=pcu/osjIIRg4wqmdG4C8oYhKJp+1QGehdijvvPa7Egw=; b=dGHAU1v6p8kGqsW1FYAjY+n9vkhZP1+8NgM6Nan900husHzm9I8SGDFPNPoyQGAFb4 zy5Rvw7uZQHFSG8QzzNYUtxA5Hd9IRshHHRXDKNuerqkLh+hLhrh6s8ZiS7jHNiqQREr 0LPdkCslD98OwxNM/Zhr3TpZhR9vqX+rxJ3rry11DeGzPjVWghe7APiupTwWCvqb4/gT Q4XeQE4Q8twZGqtmvHDJyK+15JFchp0aKE30Sx0rJD1BGnNVH5Ju/bLogWK0eJwaEh0j +NnFuDDH/FP9oUJgK8gofgtmrVbYfTdJZThT2pRueCyWzu69+enn2nCQB0nqz5b2rbni Ah9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bq63Rjrh; 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 w21si26875820pgj.513.2019.04.26.20.34.05; Fri, 26 Apr 2019 20:34:05 -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=bq63Rjrh; 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 S1727471AbfD0DeE (ORCPT + 30 others); Fri, 26 Apr 2019 23:34:04 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:17158 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727327AbfD0Ddv (ORCPT ); Fri, 26 Apr 2019 23:33:51 -0400 Received: from grover.flets-west.jp (softbank126125154137.bbtec.net [126.125.154.137]) (authenticated) by conuserg-10.nifty.com with ESMTP id x3R3Xie8029345; Sat, 27 Apr 2019 12:33:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x3R3Xie8029345 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1556336025; bh=pcu/osjIIRg4wqmdG4C8oYhKJp+1QGehdijvvPa7Egw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bq63RjrhoukXHGubhkNvEfUaft0eyvGmY9rS9Q7HooEhOSBtyEOOTmLZtmNTkPnJW 8TVOwcxc6A7ZhbgM14dsD3LD6Wu8B71jAPB8qQLMVjTwRjmkZ2Tzxwm7BmUu8DL8tT UqADqGKklaSr19xMvzFwiTJKaS2BMghMvGfU4MdG+SDW4f8xt9eE5kMnJToiPvU1lT fUYPhqmIraWSqLxomeKMX+De60HGZrIdbEaKAQEkc7MSEBVeK3O4GymhmCLu8aygSD 4Fw9XKh/HNup0GZOt9Dg8i2aqUhr1O6exPE3mMc0wGDwPzE3p2PiR7AWr0t0qd1fmx 6dfVtbpw+Fh9g== X-Nifty-SrcIP: [126.125.154.137] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 2/5] kbuild: move Documentation to vmlinux-alldirs Date: Sat, 27 Apr 2019 12:33:37 +0900 Message-Id: <1556336020-15634-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556336020-15634-1-git-send-email-yamada.masahiro@socionext.com> References: <1556336020-15634-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A minor code cleanup. Signed-off-by: Masahiro Yamada --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 251ded5..334ef8a 100644 --- a/Makefile +++ b/Makefile @@ -988,8 +988,9 @@ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ $(net-y) $(net-m) $(libs-y) $(libs-m) $(virt-y))) -vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \ - $(init-) $(core-) $(drivers-) $(net-) $(libs-) $(virt-)))) +vmlinux-alldirs := $(sort $(vmlinux-dirs) Documentation \ + $(patsubst %/,%,$(filter %/, $(init-) $(core-) \ + $(drivers-) $(net-) $(libs-) $(virt-)))) init-y := $(patsubst %/, %/built-in.a, $(init-y)) core-y := $(patsubst %/, %/built-in.a, $(core-y)) @@ -1006,7 +1007,7 @@ export KBUILD_VMLINUX_LIBS := $(libs-y1) export KBUILD_LDS := arch/$(SRCARCH)/kernel/vmlinux.lds export LDFLAGS_vmlinux # used by scripts/package/Makefile -export KBUILD_ALLDIRS := $(sort $(filter-out arch/%,$(vmlinux-alldirs)) arch Documentation include scripts tools) +export KBUILD_ALLDIRS := $(sort $(filter-out arch/%,$(vmlinux-alldirs)) arch include scripts tools) vmlinux-deps := $(KBUILD_LDS) $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS) @@ -1360,7 +1361,7 @@ MRPROPER_FILES += .config .config.old .version \ # clean: rm-dirs := $(CLEAN_DIRS) clean: rm-files := $(CLEAN_FILES) -clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation) +clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs)) PHONY += $(clean-dirs) clean archclean vmlinuxclean $(clean-dirs):