Problems building image for Apalis iMX8QM


I am trying to build image for the Apalis iMX8QM SoM, according to the link:

However, when I run:

bitbake -k fsl-image-validation-imx

I am getting following error:

    ERROR: Unable to parse /home/user/toradex_imx8/imx-yocto-bsp/sources/poky/bitbake/lib/bb/
which triggered exception TypeError: getVar() missing 1 required positional argument: 'expand'

I am quite sure that I follow the instructions on the page. I am using Ubuntu 18.04 and built before images for TK1 using Yocto without problems. Do you know what could be the reason of the issue?
Is it the correct way of building images with Yocto for Apalis iMX8QM platform?

Thank you,

hi @piotr

Could you have a look here, please? Thanks.

Thanks, that helped!

You are welcome. Thanks for the feedback.