Where and how do I download this file?: /lib/modules/5.10.0-kali7-amd64/build/scripts/kconfig/mconf
make[1]: *** [Makefile:378: /lib/modules/5.10.0-kali7-amd64/build/scripts/kconfig/mconf] Error 2

I already invoked: apt-get install --reinstall linux-source linux-headers-$(uname -r)
That command does not download all the required kconfig and mconf files.

I am trying to compile a driver and those files are missing.
Does kali linux [apt-get install linux source] not distribute those files?
If so, then where do I download those kali files?


I have exhausted my internet scraping abilities of find any helpful information.
I am a 20 year computer science veteran, but this one stumped me.

-----

# Things I have tried

1. I read the documentation on how to compile a kernel.
I saw nothing wacky.
I have compiled many different bsd and linux kernels (over my wiser age).
cat << HEREDOC >> /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
HEREDOC

2. I [apt-get source linux-source-$(uname -r)], but as you know, that only downloads the most recent source code and it does not match my kali kernel runtime version numbering; it also does not install [ln -s]|softlinks||hardlinks to directory [/lib/modules].

3. I tried to grep the git repo: https://salsa.debian.org/qa/distro-tracker

4. I downloaded kernel.org source code --depth=1; it had the files in there.

5. I scraped these directories in hopes to find those files: [/usr/src] and [/lib/modules]

6. I was wondering if the softlinks|hardlinks were missing in /lib/modules, so I scraped everything looking for those files.
I found these files, but I am guessing, kali uses a different [directory tree] than debian.
d fi_cmd /lib/modules /usr/src -basename @ 'mconf|kconfig'
/usr/src/debian/bin/kconfig.py
/usr/src/debian/patches-rt/0191-kconfig-Disable-config-options-which-are-not-RT-comp.patch
/usr/src/debian/rules.d/scripts/kconfig
/usr/src/linux-headers-5.10.0-kali7-amd64/include/config/mmconf
/usr/src/linux-headers-5.10.0-kali7-common/include/linux/kconfig.h
/usr/src/debian/patches/features/x86/intel-iommu-add-kconfig-option-to-exclude-igpu-by-default.patch
/usr/src/debian/patches/bugfix/all/partially-revert-usb-kconfig-using-select-for-usb_co.patch
/usr/src/debian/lib/python/debian_linux/kconfig.py
/usr/src/linux-headers-5.10.0-kali7-amd64/include/config/pci/mmconfig.h
/usr/src/linux-headers-5.10.0-kali7-common/arch/x86/include/asm/mmconfig.h

Any help is appreciated and I can write my progress on the kali board.

P.S. If this does not work, I guess I have to reprogram the [make] files to point to those unusal paths (that is way different than debian and other linux distributions).
Is there any documentation anywhere, to set the directory tree of /lib/modules up (like the standard debian paths).
Thanks