I want to compile the rootfs separately by yocto.the chip is imx8
Is this reference (https://docs.yoctoproject.org/current/dev-manual/building.html#building-images-for-multiple-targets-... that you need?
Best regards
Harvey