[PATCH] kbuild: Use uname for BAREBOX_COMPILE_HOST
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 3 01:18:17 PST 2025
On Fri, 31 Jan 2025 22:59:08 -0500, David Dgien wrote:
> Adoption of Linux Commit:
>
> | commit 1e66d50ad3a1dbf0169b14d502be59a4b1213149
> | Author: Chris Down <chris at chrisdown.name>
> | Date: Tue Oct 20 10:34:59 2020 +0100
> |
> | kbuild: Use uname for LINUX_COMPILE_HOST detection
> |
> | `hostname` may not be present on some systems as it's not mandated by
> | POSIX/SUSv4. This isn't just a theoretical problem: on Arch Linux,
> | `hostname` is provided by `inetutils`, which isn't part of the base
> | distribution.
> |
> | ./scripts/mkcompile_h: line 38: hostname: command not found
> |
> | Use `uname -n` instead, which is more likely to be available (and
> | mandated by standards).
> |
> | Signed-off-by: Chris Down <chris at chrisdown.name>
> | Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
>
> [...]
Applied, thanks!
[1/1] kbuild: Use uname for BAREBOX_COMPILE_HOST
https://git.pengutronix.de/cgit/barebox/commit/?id=b001dfee2bd0 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list