ega Posted May 3, 2016 Share 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. Link to comment Share on other sites More sharing options...
Igor Posted May 3, 2016 Share Posted May 3, 2016 Check 5.1 release text ... and try: make m=scripts Link to comment Share on other sites More sharing options...
zador.blood.stained Posted May 3, 2016 Share 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. Link to comment Share on other sites More sharing options...
ega Posted May 3, 2016 Author Share Posted May 3, 2016 Right, "make m=scripts" doesn't work - I've checked it. Link to comment Share on other sites More sharing options...
Ikrk Posted May 7, 2016 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts