ega Posted May 3, 2016 Posted May 3, 2016 Hi guys, Yesterday I updated my Orange PI PC with build 5.10. I want to build custom wifi driver using dkms. Dkms requires kernel scripts but scripts build fails with following error: root@orangepipc:/usr/src/linux-headers-3.4.112-sun8i# make scripts scripts/kconfig/conf --silentoldconfig Kconfig fs/Kconfig:287: can't open file "fs/fs_compat.kconfig" /usr/src/linux-headers-3.4.112-sun8i/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed make[2]: *** [silentoldconfig] Error 1 /usr/src/linux-headers-3.4.112-sun8i/Makefile:493: recipe for target 'silentoldconfig' failed make[1]: *** [silentoldconfig] Error 2 make: *** No rule to make target 'include/config/auto.conf', needed by 'scripts'. Stop. File "fs/fs_compat.kconfig" doesn't exist.
zador.blood.stained Posted May 3, 2016 Posted May 3, 2016 @Igor It still doesn't work reliably for some reason, may require running different commands or command sequences to fullty compile scripts.
ega Posted May 3, 2016 Author Posted May 3, 2016 Right, "make m=scripts" doesn't work - I've checked it.
Ikrk Posted May 7, 2016 Posted May 7, 2016 For my purposes worked this workaround: 1) in file linux-headers-3.4.112-sun8i/fs/Kconfig comment out lines #107: source "fs/fatfs/Kconfig" and #287: source "fs/fs_compat.kconfig" 2) in file linux-headers-3.4.112-sun8i/fs/Makefile comment out lines #76: obj-$(CONFIG_FATFS_FS) += fatfs/ 3) in linux-headers-3.4.112-sun8i folder execute make scripts 1
Recommended Posts