diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2025-04-27 19:07:25 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-05-05 14:16:54 -0600 |
commit | 03f5101ff50d1b449c65a4483c725b4ae0446c62 (patch) | |
tree | c7eeb51accffd321a2cf9573f076a4c9a99f2a47 /cmd/stackprot_test.c | |
parent | 81191427a4e667e083dc4fbcbda6a1250fca54ac (diff) |
Add HOST_ARCH detection for armv5tel and armv6l
Since 7506c15, HOST_ARCH is now used by the EFI loader even when
CONFIG_SANDBOX is disabled. When cross-compiling, the Makefile defines
HOST_ARCH based on the cross-compiler prefix, but this definition fails
to cover some common compiler prefixes. When cross-compiling U-Boot in
nixpkgs, we use CROSS_COMPILE=armv6l-unknown-linux-gnueabihf-, which
results in HOST_ARCH being undefined and causes a build failure.
Fix this by adding armv6l to the match for ARM. Also add armv5tel,
as this is another possible ARM compiler prefix.
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: Ben Wolsieffer <benwolsieffer@gmail.com>
Diffstat (limited to 'cmd/stackprot_test.c')
0 files changed, 0 insertions, 0 deletions