Commits
Jindong committed 89c4bc95739
MA-14403-4 Bring imx soc on q-preview (Makefile) On q-preview-4, there are below changes for Makefile: 1. PHONY target can't be a real path: device/fsl/common/build/kernel.mk:167: error: PHONY target "out/target/product/evk_8mq/obj/KERNEL_OBJ/arch/arm64/boot/Image.vdso" looks like a real file (contains a "/") 2. real file can't depend on PHONY target: real file "out/target/product/evk_8mq/vbmeta-imx8mq.img" depends on PHONY target "IMX_INSTALLED_RECOVERYIMAGE_TARGET" To fix UBOOT_M4_BIN PHONY issue, add function build_m4_image instead of a fictional target. cmake is not a default tool in android. If set allow in ui/build/paths/config.go out/.path/cmake will have build error, So use the full path when compile M4 image 3. deprecate export/unexport device/fsl/imx8q/mek_8q/mek_8q_car.mk:87: warning: ROLLBACK_INDEX_IN_CONTAINER: export has been deprecated. It is a global setting. To fix issue 3, add ubootenv.sh which is sourced before executed the dependecy makefile. ubootenv.sh record the ENV you want to export. More details, see https://android.googlesource.com/platform/build/+/master/Changes.md Change-Id: If94431edb39215c4e16131ef6058f9022ed764d2 Signed-off-by: Jindong <jindong.yue@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/9369 Reviewed-by: guoyin.chen <guoyin.chen@nxp.com> Reviewed-by: zhang sanshan <sanshan.zhang@nxp.com>