aarch64-linux-gnu-cpp: error: unrecognized command line option ‘-mthumb’
aarch64-linux-gnu-cpp: error: unrecognized command line option ‘-mno-sched-prolog’
Makefile:112: recipe for target ‘/home/george/Documents/01_uboot/u-boot-khadas-vims-pie/build/scp_task/user_task.lds’ failed
make[2]: *** [/home/george/Documents/01_uboot/u-boot-khadas-vims-pie/build/scp_task/user_task.lds] Error 1
/home/george/Documents/01_uboot/u-boot-khadas-vims-pie/Makefile:864: recipe for target ‘bl301.bin’ failed
make[1]: *** [bl301.bin] Error 2
Makefile:147: recipe for target ‘sub-make’ failed
make: *** [sub-make] Error 2
Please refer to the below picture.