linux-headers-4.19.20-cubox: make scripts fails

Recommended Posts

I just stumbled across

usr/src/linux-headers-4.19.20-cubox$ make scripts
scripts/kconfig/conf  --syncconfig Kconfig
net/Kconfig:89: can't open file "net/wireguard/Kconfig"
scripts/kconfig/Makefile:69: recipe for target 'syncconfig' failed
make[2]: *** [syncconfig] Error 1
Makefile:539: recipe for target 'syncconfig' failed
make[1]: *** [syncconfig] Error 2
Makefile:635: recipe for target 'include/config/auto.conf' failed
make: *** [include/config/auto.conf] Error 2

Workaround was to comment this source-statement

 grep -i wireg net/Kconfig 
source "net/wireguard/Kconfig"


Share this post

Link to post
Share on other sites

Same problem with `make scripts` with linux-headers-4.4.174-rk3399


Patching net/Kconfig also works around the issue. Thanks.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.