On Tue, Jul 14, 2026 at 01:35:42AM +0000, [email protected] wrote: > >> Following error happens when build envtools for mx6qsabrelite. > >> > >> $ make tools envtools > >> UPD include/generated/timestamp_autogenerated.h > >> HOSTCC tools/printinitialenv > >> GENENV u-boot-initial-env > >> COPY tools/version.h > >> HOSTCC tools/env/crc32.o > >> HOSTCC tools/env/ctype.o > >> HOSTCC tools/env/env_attr.o > >> HOSTCC tools/env/env_flags.o > >> In file included from ./arch/arm/include/asm/mach-imx/regs-lcdif.h:16, > >> from ./arch/arm/include/asm/arch/imx-regs.h:371, > >> from include/configs/mx6_common.h:21, > >> from include/configs/nitrogen6x.h:13, > >> from include/config.h:3, > >> from include/env.h:12, > >> from tools/env/../../env/flags.c:7, > >> from tools/env/env_flags.c:1: > >> ./arch/arm/include/asm/mach-imx/regs-common.h:51:9: error: > >> unknown type name 'uint8_t' > > > >"#include <linux/types.h>" was already in > >arch/arm/include/asm/mach-imx/regs-common.h > > > >Are u using an old tree? > > 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. -- Tom
signature.asc
Description: PGP signature

