diff options
author | Maciej W. Rozycki <[email protected]> | 2023-07-18 15:37:18 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2023-07-25 10:42:01 +0200 |
commit | a79a404e6c2241ebc528b9ebf4c0832457b498c3 (patch) | |
tree | 19fab2a7d6dd272c1ac7c521507f58119fc5e7b0 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 657c45b303f87d77eb4ef49e9452f1c5d1fc363c (diff) |
MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression
Remove a build-time check for the presence of the GCC `-msym32' option.
This option has been there since GCC 4.1.0, which is below the minimum
required as at commit 805b2e1d427a ("kbuild: include Makefile.compiler
only when compiler is needed"), when an error message:
arch/mips/Makefile:306: *** CONFIG_CPU_DADDI_WORKAROUNDS unsupported without -msym32. Stop.
started to trigger for the `modules_install' target with configurations
such as `decstation_64_defconfig' that set CONFIG_CPU_DADDI_WORKAROUNDS,
because said commit has made `cc-option-yn' an undefined function for
non-build targets.
Reported-by: Jan-Benedict Glaw <[email protected]>
Signed-off-by: Maciej W. Rozycki <[email protected]>
Fixes: 805b2e1d427a ("kbuild: include Makefile.compiler only when compiler is needed")
Cc: [email protected] # v5.13+
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions