Error: ‘MP_QSTR_asm_xtensa’ undeclared

Hi, everyone:

I’m trying to re-build OpenMV from source today, but met the following weird ERROR messages:

CC ../py/compile.c
../py/compile.c: In function ‘compile_built_in_decorator’:
../py/compile.c:863:24: error: ‘MP_QSTR_asm_xtensa’ undeclared (first use in this function); did you mean ‘MP_QSTR_asm_thumb’?
  863 |     } else if (attr == MP_QSTR_asm_xtensa) {
      |                        ^~~~~~~~~~~~~~~~~~
      |                        MP_QSTR_asm_thumb
../py/compile.c:863:24: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [../py/mkrules.mk:80: ....../openmv/src/build/micropython/py/compile.o] Error 1
make[1]: *** [../../py/mkrules.mk:155: ../../mpy-cross/mpy-cross] Error 2
make: *** [omv/ports/stm32/omv_portconfig.mk:631: FIRMWARE_OBJS] Error 2

Can anybody help to take a look?

Cheers

Did you pass the right target?