]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arch: arm: build: only set -mgeneral-regs-only for AArch64
authorDmitrii Sharshakov <d3dx12.xx@gmail.com>
Sat, 1 Nov 2025 09:39:58 +0000 (10:39 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 17:21:24 +0000 (11:21 -0600)
commite8e3b38def93b5e5d53569961237ce215454e141
tree54712115d46b9723c17e547985b27f066e42f8b5
parent62b45e82bdbf703571450e97f605893fe0d50530
arch: arm: build: only set -mgeneral-regs-only for AArch64

This option is not available for 32-bit ARM targets and causes an error
when building with Clang:

clang: error: unsupported option '-mgeneral-regs-only' for
target 'arm-none-eabi'

This fixes the following patch (also seems to only concern AArch64):

Link: https://lists.denx.de/pipermail/u-boot/2021-August/458067.html
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
arch/arm/config.mk