Kernel modules recompilation issue

Hello,

I’ve just did a git pull of the kernel from branch toradex_5.4-2.3.x-imx, recompiled the kernel and then when compiling the modules I had this issue:

  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
make[1]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1734: certs] Error 2
make: *** Waiting for unfinished jobs....
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz

I searched for and found this to be a working solution:
https://unix.stackexchange.com/a/587852/489447

Do you approve using this certificate?

Regards,
Adrian

Hi @adrmateu !

I just built both kernel and modules from toradex_5.4-2.3.x-imx without any errors:
image

Could you please check if you did the environment variables setup and also make toradex_defconfig before compiling?

Best regards,

Yep, I confirm it works.

Hi @adrmateu !

Great that it works.

Thanks for the feedback!

Best regards,