the first time I ran rpi-source (https://github.com/notro/rpi-source/wiki) I had no trouble at all getting the hello world kernel module to run.
I deleted the kernel headers, and when I now run rpi-source, it proceeds to ask me hundreds of questions about my kernel config (after headers have been unpacked), which it did not the first time. I don't know what to answer to all those questions. If I keep enter pressed for all questions I cannot compile the hello world code any more:
/bin/sh: 1: scripts/mod/modpost: not found make: *** [__modpost] Error 127 make: *** [modules] Error 2
How can I get back to the behaviour where it generated the config automatically?