diff options
author | Pali Rohár <pali@kernel.org> | 2022-12-11 15:14:59 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-22 15:39:13 -0500 |
commit | 138b6061a100f149e9249d09ef3e6db2437ff147 (patch) | |
tree | 9e430ca359b66476be299784133edf7948fd46a0 /doc/conf.py | |
parent | c0d0569cf6f7d818cb1bbf5222c5e777bfea4d8c (diff) |
powerpc/mpc85xx: Improve disabling of SPE instructions
Specifying -mspe=no also disables usage of SPE instructions. It is
documented in "[PATCH,rs6000] make -mno-spe work as expected" email:
http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
So replace -mspe=yes by -mspe=no, so make it clear that u-boot has to be
compiled without SPE instructions.
Linux kernel contains following Makefile code to achieve it:
# No SPE instruction when building kernel
# (We use all available options to help semi-broken compilers)
KBUILD_CFLAGS += $(call cc-option,-mno-spe)
KBUILD_CFLAGS += $(call cc-option,-mspe=no)
Do same for U-Boot.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'doc/conf.py')
0 files changed, 0 insertions, 0 deletions