From: Masahiro Yamada <masahiroy@kernel.org>
To: "Ricardo B. Marliere" <ricardo@marliere.net>
Cc: Jonathan Corbet <corbet@lwn.net>,
Nicolas Schier <nicolas@fjasle.eu>,
linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org,
Nick Desaulniers <ndesaulniers@google.com>,
linux-kernel@vger.kernel.org,
Nathan Chancellor <nathan@kernel.org>,
linux-kernel-mentees@lists.linuxfoundation.org
Subject: Re: [PATCH] docs: kbuild: add INSTALL_DTBS_PATH
Date: Sat, 14 Oct 2023 18:01:46 +0900 [thread overview]
Message-ID: <CAK7LNATgyPVNk=5mq9D_4Hg3GTesDEwB=XKDUVXdjUintwWenA@mail.gmail.com> (raw)
In-Reply-To: <20231012105420.16779-2-ricardo@marliere.net>
On Thu, Oct 12, 2023 at 7:56 PM Ricardo B. Marliere
<ricardo@marliere.net> wrote:
>
> The documentation for kbuild and makefiles is missing an explanation of
> a variable important for some architectures.
>
> Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
> ---
Applied to linux-kbuild.
Thanks.
> Documentation/kbuild/kbuild.rst | 6 ++++++
> Documentation/kbuild/makefiles.rst | 7 +++++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/Documentation/kbuild/kbuild.rst b/Documentation/kbuild/kbuild.rst
> index bd906407e307..9c8d1d046ea5 100644
> --- a/Documentation/kbuild/kbuild.rst
> +++ b/Documentation/kbuild/kbuild.rst
> @@ -243,6 +243,12 @@ The output directory is often set using "O=..." on the commandline.
>
> The value can be overridden in which case the default value is ignored.
>
> +INSTALL_DTBS_PATH
> +-----------------
> +INSTALL_DTBS_PATH specifies where to install device tree blobs for
> +relocations required by build roots. This is not defined in the
> +makefile but the argument can be passed to make if needed.
> +
> KBUILD_ABS_SRCTREE
> --------------------------------------------------
> Kbuild uses a relative path to point to the tree when possible. For instance,
> diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
> index e67eb261c9b0..d88d4f0f4f89 100644
> --- a/Documentation/kbuild/makefiles.rst
> +++ b/Documentation/kbuild/makefiles.rst
> @@ -1623,6 +1623,13 @@ INSTALL_MOD_STRIP
> INSTALL_MOD_STRIP value will be used as the option(s) to the strip
> command.
>
> +INSTALL_DTBS_PATH
> + This variable specifies a prefix for relocations required by build
> + roots. It defines a place for installing the device tree blobs. Like
> + INSTALL_MOD_PATH, it isn't defined in the Makefile, but can be passed
> + by the user if desired. Otherwise it defaults to the kernel install
> + path.
> +
> Makefile language
> =================
>
> --
> 2.42.0
>
--
Best Regards
Masahiro Yamada
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
prev parent reply other threads:[~2023-10-14 9:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-12 10:54 [PATCH] docs: kbuild: add INSTALL_DTBS_PATH Ricardo B. Marliere
2023-10-14 9:01 ` Masahiro Yamada [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAK7LNATgyPVNk=5mq9D_4Hg3GTesDEwB=XKDUVXdjUintwWenA@mail.gmail.com' \
--to=masahiroy@kernel.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=nicolas@fjasle.eu \
--cc=ricardo@marliere.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).