Luckfox pico mini - error in cross-compilation (missing autoconf in kernel)

  • You can refer to the link(https://wiki.luckfox.com/zh/Luckfox-Pic ... E4% BB% 8B). I think the key point is that the directory you specified with "O=" may be incorrect.

    In external builds, make will search for and generate necessary files in the directory specified by O=, including kernel configuration files (such as autocnf. h and autoconf).

    Here is the result of my compilation:
    image-20250106194434743.png

    I specified KSRC and KBULLD_OUTPUT in the Makefile file, and the KBULLD_OUTPUT directory contains the include/generated/autoconf. h file.
  • Thank you so much. Everything seems to be working!