AnsweredAssumed Answered

u-boot from code aurora fails to build

Question asked by Andrea Tomassetti on Nov 20, 2019
Latest reply on Nov 22, 2019 by Aldo Gutierrez

Hi,

I know that this exact question has already been asked and, partially, solved here: u-boot from code aurora fails to build 

So, it's even more disappointing that after 6 months I had to re-ask the same question.

 

Using bitbake to compile u-boot-imx-2018.03 FAILS!!!

 

The problem is that CONFIG_SYS_CONFIG_NAME is not defined! But defining it as CONFIG_SYS_CONFIG_NAME=mx6sabresd leads to multiple macro redefinition errors.

 

How am I suppose to fix this?

 

Here the steps to reproduce the issue:

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_machinelearning.xml
repo sync
DISTRO="fsl-imx-xwayland" MACHINE="imx6qdlsabresd" source ./fsl-setup-release.sh -b build.xwayland
bitbake u-boot

Error:

/path/to/build.xwayland$ bitbake u-boot
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 3499 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "imx6qdlsabresd"
DISTRO               = "fsl-imx-xwayland"
DISTRO_VERSION       = "4.14-sumo"
TUNE_FEATURES        = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU           = "hard"
meta                
meta-poky            = "HEAD:c9bd4984f8f471ca2c43052714f4413ba99cf171"
meta-oe             
meta-multimedia      = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale       = "HEAD:27ca94f8a4336790ba117b4298566f6820e7e74c"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp            
meta-sdk             = "HEAD:8eeb420fad668b733ab95b460895e1c337c66b25"
meta-browser         = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome          
meta-networking     
meta-python         
meta-filesystems     = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5             = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"
meta-imx-machinelearning = "HEAD:7e9294dead55d1f6b4f1cfe486e0c4e0c5097953"
workspace            = "<unknown>:<unknown>"

Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: u-boot-imx-2018.03-r0 do_compile: oe_runmake failed
ERROR: u-boot-imx-2018.03-r0 do_compile: Function failed: do_compile (log file is located at /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/temp/log.do_compile.7848)
ERROR: Logfile of failure stored in: /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/temp/log.do_compile.7848
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc  --sysroot=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot V=1 HOSTCC=gcc  -isystem/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-O1 PYTHON=nativepython STAGING_INCDIR=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -C /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git O=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build mx6sabresd_defconfig
| make: Entering directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git'
| make -C /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build KBUILD_SRC=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git \
| -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/Makefile mx6sabresd_defconfig
| make[1]: Entering directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build'
| make -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.build obj=scripts/basic
| ln -fsn /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git source
| /bin/sh /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/mkmakefile \
|     /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git . 2018 03
|   GEN     ./Makefile
|   gcc  -isystem/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-O1 -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/basic/fixdep.c
| rm -f .tmp_quiet_recordmcount
| make -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.build obj=scripts/kconfig mx6sabresd_defconfig
|   gcc  -isystem/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-O1 -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D_GNU_SOURCE -D_DEFAULT_SOURCE -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE  -I/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/kconfig -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c
|   gcc  -isystem/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-O1  -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o
| scripts/kconfig/conf  --defconfig=arch/../configs/mx6sabresd_defconfig Kconfig
| #
| # configuration written to .config
| #
| make[1]: Leaving directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build'
| make: Leaving directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git'
| NOTE: make -j 8 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc  --sysroot=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot V=1 HOSTCC=gcc  -isystem/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -L/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/lib -Wl,-O1 PYTHON=nativepython STAGING_INCDIR=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/lib -C /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git O=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build all
| make: Entering directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git'
| make -C /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build KBUILD_SRC=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git \
| -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/Makefile all
| make[1]: Entering directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build'
| make -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/Makefile silentoldconfig
| make -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.build obj=scripts/basic
| ln -fsn /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git source
| /bin/sh /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/mkmakefile \
|     /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git . 2018 03
| rm -f .tmp_quiet_recordmcount
|   GEN     ./Makefile
| make -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.build obj=scripts/kconfig silentoldconfig
| mkdir -p include/config include/generated
| test -e include/generated/autoksyms.h || \
|     touch   include/generated/autoksyms.h
| scripts/kconfig/conf  --silentoldconfig Kconfig
| make -f /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.autoconf || \
|      { rm -f include/config/auto.conf; false; }
| mkdir -p include/asm
| if [ -d /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/arch/arm/mach-mx6/include/mach ]; then     \
|      dest=arch/arm/mach-mx6/include/mach;               \
| else                                             \
|      dest=arch/arm/include/asm/arch-mx6;     \
| fi;                                             \
| ln -fsn /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/$dest include/asm/arch
| set -e; : '  CHK     include/config.h'; mkdir -p include/;      (echo "/* Automatically generated - do not edit */"; for i in $(echo "IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/     /;q; } ; { s/$/     1/; }'; done; echo \#define CONFIG_BOARDDIR board/; echo \#include \<config_defaults.h\>; echo \#include \<config_uncmd_spl.h\>; echo \#include \<configs/.h\>; echo \#include \<asm/config.h\>; echo \#include \<linux/kconfig.h\>; echo \#include \<config_fallbacks.h\>;) < /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.autoconf > include/config.h.tmp; if [ -r include/config.h ] && cmp -s include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; else : '  UPD     include/config.h'; mv -f include/config.h.tmp include/config.h; fi
|   arm-poky-linux-gnueabi-gcc  --sysroot=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time  -D__KERNEL__ -D__UBOOT__   -D__ARM__ -marm -mno-thumb-interwork  -mabi=aapcs-linux  -mword-relocations  -fno-pic  -mno-unaligned-access  -ffunction-sections -fdata-sections -fno-common -ffixed-r9  -msoft-float   -pipe -Iinclude  -I/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include -I/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/arch/arm/include -include /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include/linux/kconfig.h  -nostdinc -isystem /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/include -MQ include/config/auto.conf /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include/common.h > include/autoconf.mk.dep || { rm include/autoconf.mk.dep; false; }
|   arm-poky-linux-gnueabi-gcc  --sysroot=/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time  -D__KERNEL__ -D__UBOOT__   -D__ARM__ -marm -mno-thumb-interwork  -mabi=aapcs-linux  -mword-relocations  -fno-pic  -mno-unaligned-access  -ffunction-sections -fdata-sections -fno-common -ffixed-r9  -msoft-float   -pipe -Iinclude  -I/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include -I/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/arch/arm/include -include /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include/linux/kconfig.h  -nostdinc -isystem /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/include  -DDO_DEPS_ONLY -dM /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include/common.h > u-boot.cfg.tmp && { grep 'define CONFIG_' u-boot.cfg.tmp > u-boot.cfg; rm u-boot.cfg.tmp; } || { rm u-boot.cfg.tmp; false; }
| In file included from /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include/common.h:21:0:
| include/config.h:6:10: fatal error: configs/.h: No such file or directory
|  #include <configs/.h>
|           ^~~~~~~~~~~~
| compilation terminated.
| In file included from /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/include/common.h:21:0:
| include/config.h:6:10: fatal error: configs/.h: No such file or directory
|  #include <configs/.h>
|           ^~~~~~~~~~~~
| compilation terminated.
| /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
| make[2]: *** [include/autoconf.mk.dep] Error 1
| make[2]: *** Waiting for unfinished jobs....
| /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git/scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
| make[2]: *** [u-boot.cfg] Error 1
| make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.
| make[1]: Leaving directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/build'
| Makefile:150: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| make: Leaving directory '/path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/git'
| ERROR: oe_runmake failed
| WARNING: /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/temp/run.do_compile.7848:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /path/to/build.xwayland/tmp/work/imx6qdlsabresd-poky-linux-gnueabi/u-boot-imx/2018.03-r0/temp/log.do_compile.7848)
ERROR: Task (/path/to/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2018.03.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 829 tasks of which 828 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /path/to/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2018.03.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Outcomes