See What is creating the generated/autoconf.h? for tips on how to generate autoconf.h for the Linux sources.
Instead of
gunzip < /proc/config.gz > .config
Use
cat /boot/config-$(uname -r) > .config
See What is creating the generated/autoconf.h? for tips on how to generate autoconf.h for the Linux sources.
Instead of
gunzip < /proc/config.gz > .config
Use
cat /boot/config-$(uname -r) > .config