From patchwork Wed Aug 14 16:06:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171308 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1027012ily; Wed, 14 Aug 2019 09:06:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZk5B1bna1e67boFqDaIHfZDHjLrhwYDEm5ckNghhI4s8sy3HlGPWPJNsGqCdciM/1/oIj X-Received: by 2002:a62:6083:: with SMTP id u125mr679623pfb.208.1565798802985; Wed, 14 Aug 2019 09:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565798802; cv=none; d=google.com; s=arc-20160816; b=X3TRUZGB6ZKBUhSX9z+0YdtdmDQYYbTMoLVLI7ViYG5DHvBrifEu9ul0Y720dZIUFZ N2eKFl/VLDBac/lB93xmNdpMGkYcysul8BqxxcRzw2ZynaQVkhOXwxiN7uAmpWWCXOuj HCd3d3+nbFvDIs5MFOl1M0LI6K3lQqOFW1nAVoX8r9eQFxv5n6lANBRWSaYBQCDdwewG 8FFy8SJVUg6G8jaDYPjvzgo/qwrbWfThjLbyNqtG7H247YdnjlB7y0fgUpTmSMKI+ztM /ofrf/bAu8AQSq5Ww/cN5LmtsGtgBqnh+SpjnoXm+m6zNdai5QnTplzN4rlGsEX35NGa bSOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=rf9kuGp6W/jro4+SBAqrAWFWGdTd8x7Ckw78NH6Qbgg=; b=oLWo3PV8lamBU8DAO/f0PuN2RxtQiTCfoRpo/PNtapWJ1YSiPrKXHRa5WWAzKFO3Xd dOYPCz2B27/yxHqQWx8DVHtCd8DQ/of1PlP3hIg8u5X69/7z2dit8Awad93/zGe1mL6x tYiOX7atPLSZhwcqDa2sMKe9uI+pTfANDnQ/yiVdUwJB+ztHqXWtnvoDCh9weaRs0N+N GMrLCp6td3HIV8MIxQHQ3tJbeUYNX1gpJITfxX2D4dwqwCrDsB0caauUKFiD8FYROJJ2 sLStXO2j2neQtSUOTKgCoUCL5t60PAvWgNmq/EZUbOZ6pJ5Oaq+J1N8pV+nv9adltgt/ yZmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Sh+axHMy; 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 o2si41482510pfg.136.2019.08.14.09.06.42; Wed, 14 Aug 2019 09:06:42 -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=Sh+axHMy; 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 S1728240AbfHNQGl (ORCPT + 28 others); Wed, 14 Aug 2019 12:06:41 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:30683 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfHNQGl (ORCPT ); Wed, 14 Aug 2019 12:06:41 -0400 Received: from grover.flets-west.jp (softbank126125143222.bbtec.net [126.125.143.222]) (authenticated) by conuserg-12.nifty.com with ESMTP id x7EG6O95024737; Thu, 15 Aug 2019 01:06:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x7EG6O95024737 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1565798785; bh=rf9kuGp6W/jro4+SBAqrAWFWGdTd8x7Ckw78NH6Qbgg=; h=From:To:Cc:Subject:Date:From; b=Sh+axHMyON88uMlgsINIKa9xT9nD4poc53ea59vma/orQWYeiNvvBzREB/kG2SHKp X5t5pr9LztrLIWFA7NzFM7xipAnoO1bM6+I5f8ED9MGOog0gIn4wB97EA3d6oERjTs Rn3riSqvn1MovLTgXuSJ2iqsy1jxj5IcHIsHvehbw22jiTxsn3zafMkmGNRsxyMsPb 30QY1BeNvlab3DJ7WBCUaRFQo8kssSYhvprxIfRhpn5irjrrOjCokAq/oxiVPcKoui r9fyr7V1PUj76Hs6gCQNN2LSswUshGpo0aul1Cmp/heVsGDPkuvOjb3YQUQOw09+nO 7ysdkliI4D/Yg== X-Nifty-SrcIP: [126.125.143.222] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Jonathan Corbet , Michal Marek , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] kbuild: move KBUILD_LDS, KBUILD_VMLINUX_{OBJS, LIBS} to makefiles.rst Date: Thu, 15 Aug 2019 01:06:21 +0900 Message-Id: <20190814160623.24802-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These three variables are not intended to be tweaked by users. Move them from kbuild.rst to makefiles.rst. Signed-off-by: Masahiro Yamada --- I will apply to linux-kbuild this to avoid conflicts. Documentation/kbuild/kbuild.rst | 14 -------------- Documentation/kbuild/makefiles.rst | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) -- 2.17.1 diff --git a/Documentation/kbuild/kbuild.rst b/Documentation/kbuild/kbuild.rst index 61b2181ed3ea..62f9d86c082c 100644 --- a/Documentation/kbuild/kbuild.rst +++ b/Documentation/kbuild/kbuild.rst @@ -258,17 +258,3 @@ KBUILD_BUILD_USER, KBUILD_BUILD_HOST These two variables allow to override the user@host string displayed during boot and in /proc/version. The default value is the output of the commands whoami and host, respectively. - -KBUILD_LDS ----------- -The linker script with full path. Assigned by the top-level Makefile. - -KBUILD_VMLINUX_OBJS -------------------- -All object files for vmlinux. They are linked to vmlinux in the same -order as listed in KBUILD_VMLINUX_OBJS. - -KBUILD_VMLINUX_LIBS -------------------- -All .a "lib" files for vmlinux. KBUILD_VMLINUX_OBJS and KBUILD_VMLINUX_LIBS -together specify all the object files used to link vmlinux. diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index f4f0f7ffde2b..d3448d2c8017 100644 --- a/Documentation/kbuild/makefiles.rst +++ b/Documentation/kbuild/makefiles.rst @@ -995,6 +995,20 @@ When kbuild executes, the following steps are followed (roughly): top-level Makefile has set any other flags. This provides a means for an architecture to override the defaults. + KBUILD_LDS + + The linker script with full path. Assigned by the top-level Makefile. + + KBUILD_VMLINUX_OBJS + + All object files for vmlinux. They are linked to vmlinux in the same + order as listed in KBUILD_VMLINUX_OBJS. + + KBUILD_VMLINUX_LIBS + + All .a "lib" files for vmlinux. KBUILD_VMLINUX_OBJS and + KBUILD_VMLINUX_LIBS together specify all the object files used to + link vmlinux. 6.2 Add prerequisites to archheaders ------------------------------------