U-Boot Tools build error - Yocto zeus

Hi,

I’m trying to integrate Mender into Yocto zeus version for i.MX 8mm EVK. But during build I receive the following error: No rule to make target 'sandbox_defconfig’

The error log is appended for your reference. Any help would be much appreciated.

Thanks in advance.

ERROR: u-boot-tools-native-1_2020.01-r0 do_compile: oe_runmake failed
ERROR: u-boot-tools-native-1_2020.01-r0 do_compile: Execution of '/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/temp/run.do_compile.11196' failed with exit code 1:
make: *** No rule to make target 'sandbox_defconfig'.  Stop.
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/temp/log.do_compile.11196
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 CC=gcc  -isystem/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/lib                         -L/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/lib                         -Wl,-O1 HOSTCC=gcc  -isystem/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/lib                         -L/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/recipe-sysroot-native/lib                         -Wl,-O1 STRIP=true V=1 sandbox_defconfig
| make: *** No rule to make target 'sandbox_defconfig'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/x86_64-linux/u-boot-tools-native/1_2020.01-r0/temp/run.do_compile.11196' failed with exit code 1:
| make: *** No rule to make target 'sandbox_defconfig'.  Stop.
| WARNING: exit code 1 from a shell command.
| 
ERROR: Task (virtual:native:/home/ux/imx8/yocto/zeusl/sources/meta-mender/meta-mender-core/recipes-bsp/u-boot/u-boot-tools_2020.01.bb:do_compile) failed with exit code '1'

It sounds like you don’t have a proper UBOOT_MACHINE or UBOOT_CONFIG configured for your BSP; it’s trying to build the sandbox configuration which is for testing.

Drew

1 Like