RE: 2.3.25-pre1: "make clean" blows away modules directory

Garst R. Reese (reese@isn.net)
Fri, 29 Oct 1999 18:21:23 -0300


Michael Elizabeth Chastain <mec@shout.net> wrote:
Quote:
I noticed this change to 'make clean' in 2.3.25-1:

@@ -392,10 +392,8 @@
rm -f drivers/sound/bin2hex drivers/sound/hex2hex
rm -f net/khttpd/make_times_h
rm -f net/khttpd/times.h
- if [ -d modules ]; then \
- rm -f core `find modules/ -type f -print`; \
- fi
rm -f submenu*
+ rm -rf modules

I like this, but there's a bug. If I do these commands, I don't
have a modules/ directory:

make oldconfig
make dep
make clean
make bzImage
make modules
End quote.
[Snip]
I thought this went in ages ago. Can someone explain to me why the make
clean is done after make dep instead of before make oldconfig? I often
do a make clean after make modules_install.
Garst

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/