Not really avoiding a make mrproper, but the "git clean" does a similar job. I probably ought to be doing a "make distclean" before that cp step to be absolutely sure nothing slips through, but so far I've not had a problem skipping that step and I'm just being lazy and relying on git being in a clean state..
The slackware packaged kernel source tree appears to already contain a .config so it's not entirely clean. Which explains why you're having permission problems when running the make mrproper as a non-root user. If you want to clean up the slackware shipped sources then you're going to have to do it as root.
|