hello_world.c Posted July 8, 2021 Posted July 8, 2021 Just installed Armbian_21.05.1_Orangepipc2_buster_current_5.10.34 plus kernel headers and am now trying to build some kernel modules for it on the device itself, but the build script is complaining: File not found: /lib/modules/5.10.34-sunxi64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4. Is there any place where I can find this file for the stock kernel? Or a procedure for generating it myself? Many thanks.
Werner Posted July 8, 2021 Posted July 8, 2021 .config file matching the installed kernel is always in /boot. 1
Solution hello_world.c Posted July 14, 2021 Author Solution Posted July 14, 2021 I'd like to add that if the kernel headers had actually been installed by armbian-config in the first place, I wouldn't have had the missing .config file problem. It is included in the kernel headers. See
Recommended Posts