Hi,
I got build error once done the clean the source,
Platform : Android 9 Automotive with iMX8QM-MEK
[ 0% 385/94752] Building arm64 4.14 kernel ...
FAILED: out/target/product/mek_8q/obj/KERNEL_OBJ/arch/arm64/boot/Image.lz4
/bin/bash -c "(PATH=\$PATH make -j2 SHELL=/bin/bash -C vendor/nxp-opensource/kernel_imx mrproper ) && (PATH=\$(cd prebuilts/misc/linux-x86/lz4; pwd):\$PATH CCACHE_NODIRECT=\"true\" make -j2 SHELL=/bin/bash -C vendor/nxp-opensource/kernel_imx O=\$(/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/prebuilts/build-tools/linux-x86/bin/ckati --realpath out/target/product/mek_8q/obj/KERNEL_OBJ 2> /dev/null) ARCH=arm64 CROSS_COMPILE=\" /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-androidkernel-\" KCFLAGS=\"\" KAFLAGS=\"\" Image.lz4 ) && (PATH=\$(cd prebuilts/misc/linux-x86/lz4; pwd):\$PATH CCACHE_NODIRECT=\"true\" make -j2 SHELL=/bin/bash -C vendor/nxp-opensource/kernel_imx O=\$(/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/prebuilts/build-tools/linux-x86/bin/ckati --realpath out/target/product/mek_8q/obj/KERNEL_OBJ 2> /dev/null) ARCH=arm64 CROSS_COMPILE=\" /home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-androidkernel-\" KCFLAGS=\"\" KAFLAGS=\"\" modules )"
make: Entering directory '/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx'
make: Leaving directory '/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx'
make: Entering directory '/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx'
make[1]: Entering directory '/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/out/target/product/mek_8q/obj/KERNEL_OBJ'
GEN ./Makefile
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c:2466:23: fatal error: zconf.lex.c: No such file or directory
compilation terminated.
scripts/Makefile.host:119: recipe for target 'scripts/kconfig/zconf.tab.o' failed
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx/Makefile:522: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
make[1]: Leaving directory '/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/out/target/product/mek_8q/obj/KERNEL_OBJ'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/emb-vinosek/Documents/VINOTH/IndiEV-IMX8-A9/source/vendor/nxp-opensource/kernel_imx'
[ 0% 386/94752] target thumb C++: libv8src_32 <= external/v8/src/api.cc
[ 0% 387/94752] target thumb C++: libv8src_32 <= external/v8/src/ast/ast-function-literal-id-reindexer.cc
[ 0% 388/94752] target thumb C++: libv8src_32 <= external/v8/src/ast/ast-expression-rewriter.cc
[ 0% 389/94752] target thumb C++: libv8src_32 <= external/v8/src/ast/ast-value-factory.cc
[ 0% 390/94752] target thumb C++: libv8src_32 <= external/v8/src/ast/ast.cc
ninja: build stopped: subcommand failed.
11:04:52 ninja failed with: exit status 1
#### failed to build some targets (04:12 (mm:ss)) ####
Steps,
source build/envsetup.sh
lunch 36
make clean
source build/envsetup.sh
lunch 36
make -j6
Thanks & Regards,
VinothS,
Hello,
Unfortunately, we cannot support Android automotive until the i.MX8QM is completely released. Most of our software may be subject to change and we cannot guarantee if it will work. I apologize for the inconvenience this may give you.
Best regards,
Diego.