From: Nicolas Schier <nicolas.schier@linux.dev>
To: "Henrik Lindström" <henrik@lxm.se>
Cc: masahiroy@kernel.org, nathan@kernel.org,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Makefile: remove dependency on archscripts for header installation
Date: Mon, 12 May 2025 14:17:09 +0200 [thread overview]
Message-ID: <20250512-uptight-logical-panther-cbdcda@l-nschier-aarch64> (raw)
In-Reply-To: <20250510153204.11052-1-henrik@lxm.se>
On Sat, 10 May 2025, Henrik Lindström wrote:
> There doesn't seem to be any purpose behind this dependency, and it prevents
> installing x86 and mips headers on non Linux systems. Doing so is useful when
> building a cross compiler targetting Linux, which requires the header files.
>
> Signed-off-by: Henrik Lindström <henrik@lxm.se>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index b29cc321ffd9..0234faafe8f0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1366,7 +1366,7 @@ PHONY += archheaders archscripts
> hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
>
> PHONY += headers
> -headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts
> +headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders
> ifdef HEADER_ARCH
> $(Q)$(MAKE) -f $(srctree)/Makefile HEADER_ARCH= SRCARCH=$(HEADER_ARCH) headers
> else
> --
> 2.39.5
>
Looks reasonable to me, thanks.
Reviewed-by: Nicolas Schier <n.schier@avm.de>
next prev parent reply other threads:[~2025-05-12 12:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-10 15:32 Henrik Lindström
2025-05-12 12:17 ` Nicolas Schier [this message]
2025-05-12 12:23 ` Masahiro Yamada
2025-05-12 15:55 ` Henrik Lindström
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=20250512-uptight-logical-panther-cbdcda@l-nschier-aarch64 \
--to=nicolas.schier@linux.dev \
--cc=henrik@lxm.se \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@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
all inboxes | Powered by JetHome®