From: Sascha Hauer <s.hauer@pengutronix.de>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/3] kbuild: rename hostprogs-y/always to hostprogs/always-y
Date: Wed, 15 Apr 2020 11:29:07 +0200 [thread overview]
Message-ID: <20200415092907.GK1694@pengutronix.de> (raw)
In-Reply-To: <20200415075705.54683-1-masahiroy@kernel.org>
On Wed, Apr 15, 2020 at 04:57:03PM +0900, Masahiro Yamada wrote:
> [ Linux commit 5f2fb52fac15a8a8e10ce020dd532504a8abfc4e ]
>
> In old days, the "host-progs" syntax was used for specifying host
> programs. It was renamed to the current "hostprogs-y" in 2004.
>
> It is typically useful in scripts/Makefile because it allows Kbuild to
> selectively compile host programs based on the kernel configuration.
>
> This commit renames like follows:
>
> always -> always-y
> hostprogs-y -> hostprogs
>
> So, scripts/Makefile will look like this:
>
> always-$(CONFIG_BUILD_BIN2C) += ...
> always-$(CONFIG_KALLSYMS) += ...
> ...
> hostprogs := $(always-y) $(always-m)
>
> I think this makes more sense because a host program is always a host
> program, irrespective of the kernel configuration. We want to specify
> which ones to compile by CONFIG options, so always-y will be handier.
>
> The "always", "hostprogs-y", "hostprogs-m" will be kept for backward
> compatibility for a while.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
Series applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-04-15 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 7:57 Masahiro Yamada
2020-04-15 7:57 ` [PATCH 2/3] kbuild: update flex and bison rules to Linux 5.7-rc1 Masahiro Yamada
2020-04-15 7:57 ` [PATCH 3/3] fixdep: update " Masahiro Yamada
2020-04-15 9:29 ` Sascha Hauer [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=20200415092907.GK1694@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=masahiroy@kernel.org \
/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