Good night,
I am trying to recompile a kernel module from its source (in case you are wondering, it is the b43 driver module) on Debian 11. I've ran into a problem, which is that I want to specify some of the options expressed in the Kconfig file. I've been doing so with:
sudo make -C /lib/modules/$(uname -r)/build M=$(pwd) modules
However, I get no .config, no menu with the module menu. Furthermore, make menuconfig does not work giving the following output:
make: *** No rule to make target 'menuconfig'. Stop.
I am compiling the code in a folder which is out of the tree. I guess that doing this out of the tree is the cause of the menuconfig is failing. I tried to use the kconfig-frontend package, but I get no entries shown, eventhough Kconfig file should be correct.
What am I doing wrong?
Kconfigfile. I want to debug the module. I cannot domake menuconfigin the directory of the external module (fair enough, i dont have the target coded in the custom makefile). So the question now is, how do one configure the external module with this Kconfig file.