Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unable to build kernel scripts

Featured Replies

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.

  • Author

Right, "make m=scripts" doesn't work - I've checked it.

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.