FW: make distclean (or mrproper) broken?

Mark Orr (markorr@intersurf.com)
Tue, 02 Dec 1997 01:30:36 -0600 (CST)


Recently, I've been having some problems applying kernel patches
(getting a few consistent .rej's) and so I tried different things to see
where the problem was coming from.

The .rej'ed files were a Psi_chip header in the SCSI dir, and
drivers/sound/Config.in. I've been seeing the Sound Config reject for
the last few versions, and about all the VGER kernels I tried.

At first I thought it was my patch program (right now, and for the last
few weeks, I've been using GNU patch 2.5.1, from alpha.gnu.org). I switched
back to 2.5, and 2.1b. I was able to get rid of the rej's, but there was
still something wrong.

Usually after patching kernels, I do "make distclean ; make mrproper" (which
it probably redundant) to get rid of the .orig files, and any other strays.

The problem was, when I did "make config" or "make menuconfig", and did the
SOUND DRIVER configuration, no cards were listed (menuconfig), or it bombed
out (make config). To clarify:

Under menuconfig: selecting the sound menu showed 2 lines -- Old configuration
script, and Low Level drivers. (no entries for SB/PAS/GUS/OPL/OSSLib or
anything)

Under make config: it crashed saying "no rule for config" or something close
to that.

>>>>>>> HERE's WHAT I FOUND OUT

What I noticed was that "make distclean" (or mrproper) was removing all the
dep_tristate lines (or bool's) from /usr/src/linux/drivers/sound/Config.in.
(either that, or it was copying Config.std over it).

Anyone else seeing this??

---
Mark Orr
markorr@intersurf.com