AnsweredAssumed Answered

I cannot build U-Boot imx_v2018.03_4.14.98_2.0.0_ga

Question asked by Du lg on Mar 27, 2020
Latest reply on Apr 10, 2020 by gusarambula

I can successfully compile the kernel in a standalone environment, but I cannot build U-Boot imx v2018.03_4.14.98_2.0.0_ga


1、source /opt/fsl-imx-fb/4.14-sumo/environment-setup-aarch64-poky-linux

2、 export ARCH=arm64

3、 cd uboot-imx

4、 make clean

5、make imx8qxp_mek_defconfig

6、 make u-boot.imx

make[2]: “arch/arm/dts/fsl-imx8qxp-mek.dtb”已是最新。
SHIPPED dts/dt.dtb
FDTGREP dts/dt-spl.dtb
CAT u-boot-dtb.bin
COPY u-boot.bin
CFGS .cfgtmp
aarch64-poky-linux-gcc: error: FORCE: No such file or directory
aarch64-poky-linux-gcc: warning: ‘-x c’ after last input file has no effect
aarch64-poky-linux-gcc: fatal error: no input files
compilation terminated.
arch/arm/mach-imx/Makefile:99: recipe for target '.cfgtmp' failed
make[1]: *** [.cfgtmp] Error 1
Makefile:912: recipe for target 'u-boot.imx' failed
make: *** [u-boot.imx] Error 2

see attached:uboot-imx/arch/arm/mach-imx/Makefile


What is the possible cause?