We recently built the compiler environment of 66ak2h12's processor SDK, and we reported an error when making,
How do you solve similar problems? Or do you have a compiled environment for us to copy?
root@ubuntu:/opt/ti-processor-sdk-linux-k2hk-evm-06.03.00.106/board-support/u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3# make
scripts/kconfig/conf --syncconfig Kconfig
CHK include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CC lib/asm-offsets.s
lib/asm-offsets.c:1:0: error: bad value (generic-armv7-a) for -mtune= switch
// SPDX-License-Identifier: GPL-2.0+
Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
make[1]: *** [lib/asm-offsets.s] Error 1
Makefile:1585: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2