Hello,
On 8/21/26 15:10, Rasmus Villemoes wrote:
On Tue, Jul 14 2026, Tom Rini <[email protected]> wrote:
On Tue, Jul 14, 2026 at 03:04:42AM +0000, [email protected] wrote:
I use master branch of OSS u-boot repo and meet the issue with below
commands:
make mx6qsabrelite_defconfig
make -j8
make tools envtools
What host distribution are you building on? And, <config.h> *must* come first
in the include list, for it to function correctly.
Host OS is Ubuntu 22.04.3 LTS.
Toolchain is Arm GNU Toolchain 11.3.Rel1(arm-none-linux-gnueabihf-).
Also tried Ubuntu 24.04.4 LTS and Arm GNU Toolchain 15.3.Rel1,
the issue still happens.
So, are you on an ARM host too? You aren't specifying where you are /
aren't using the ARM toolchain in the above. Thanks.
It doesn't matter what toolchain one uses. The mentioned commit does
break "make envtools" for all our boards, building through Yocto. And
when I build manually using my distro's cross-compiler, the same thing
happens.
Note, it's not the board build itself that breaks, only the "make
envtools", which I assume few people do these days.
i have seen this issue too and now build without a board specific config
as a workaround:
make tools-only_defconfig
make envtools
Before the mentioned commit for the userspace tools relevant code
config.h was never included but env.h is shared code as far as i can tell.
Regards,
Hendrik
Rasmus