diff options
author | Chris Down <chris@chrisdown.name> | 2020-10-20 11:34:59 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-10-20 17:46:04 +0200 |
commit | 1e66d50ad3a1dbf0169b14d502be59a4b1213149 (patch) | |
tree | a33f7ccbbcdb15318cfa80f21348a1cb084320d3 /scripts/link-vmlinux.sh | |
parent | kbuild: Only add -fno-var-tracking-assignments for old GCC versions (diff) | |
download | linux-1e66d50ad3a1dbf0169b14d502be59a4b1213149.tar.xz linux-1e66d50ad3a1dbf0169b14d502be59a4b1213149.zip |
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@chrisdown.name>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions