summaryrefslogtreecommitdiffstats
path: root/crypto/cast5_generic.c
diff options
context:
space:
mode:
authorNick Desaulniers <nick.desaulniers@gmail.com>2024-09-06 13:01:28 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-10 06:56:37 +0200
commit8a62d44588451095fd6645d6ed7ff8761edf62aa (patch)
tree98904fe0973101986aa541fc28ebf07cc12e6b4d /crypto/cast5_generic.c
parentscripts: import more hash table macros (diff)
downloadlinux-8a62d44588451095fd6645d6ed7ff8761edf62aa.tar.xz
linux-8a62d44588451095fd6645d6ed7ff8761edf62aa.zip
scripts: subarch.include: fix SUBARCH on macOS hosts
When building the Linux kernel on an aarch64 macOS based host, if we don't specify a value for ARCH when invoking make, we default to arm and thus multi_v7_defconfig rather than the expected arm64 and arm64's defconfig. This is because subarch.include invokes `uname -m` which on MacOS hosts evaluates to `arm64` but on Linux hosts evaluates to `aarch64`, This allows us to build ARCH=arm64 natively on macOS (as in ARCH need not be specified on an aarch64-based system). Avoid matching arm64 by excluding it from the arm.* sed expression. Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com> Suggested-by: Nicolas Schier <nicolas@fjasle.eu> Signed-off-by: Daniel Gomez <da.gomez@samsung.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions