Do I have to run 'make-kpkg clean' every time I make kernel configuration changes?

I am doing some experimentation with my kernel configuration, so I want to be able to make successive patches or .config changes. I don't want to run make-kpg clean each time, since compiling takes forever.

Is there a way to recompile with the changes without doing this?

Posted Dec 26, 2010, 9:24 PM UTC

25
bear24rw•

After you edit your .config just run make, you dont have to clean

3
lisatomicOP•

Thanks, I wasn't sure since every kernel configuration instructions I can find always said to make clean.

It seems to depend though-- I removed firewire support and ran make without cleaning and it worked; I then tried to remove USB controller support and couldn't build without cleaning.

1
bear24rw•

couldn't build without cleaning.

really? what error did you get?

1
lisatomicOP•

I don't remember specifically... compiling quit after a series of "some_usb_parameter undefined!" messages.

Edit: I shouldn't say for sure that make clean has fixed it... it is still compiling after an hour; it quit compiling before after a few minutes. I may still be wrong-- I'll let you know.

1
lisatomicOP•

Nevermind, I'm an idiot. Make clean just made it take longer to fail.

1