Subject: bin/15425: "make clean" in distrib/i386/floppies/kernel-rescure fails to get everything
To: None <gnats-bugs@gnats.netbsd.org>
From: None <windsor@warthog.com>
List: netbsd-bugs
Date: 01/29/2002 23:18:32
>Number:         15425
>Category:       bin
>Synopsis:       "make clean" in distrib/i386/floppies/kernel-rescure fails to get everything
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 29 21:19:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     windsor@warthog.com
>Release:        NetBSD 1.5.3_ALPHA
>Organization:
Nose-Pickers Anonymous
>Environment:
System: NetBSD dasher 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (DASHER) #37: Wed Jan 23 21:37:31 CST 2002 windsor@dasher:/usr/src/sys/arch/i386/compile/DASHER i386
Architecture: i386
Machine: i386
>Description:
	"make clean" in src/distrib/i386/floppies/kernel-rescure does not
	pick up the two .symbols files.  A quick fix to the Makefile can
	take care of this problem.
>How-To-Repeat:
	run "make and "make clean" in that subdir (as root, of course)
	notice what exists...

: dasher; cd /usr/src/distrib/i386/floppies/kernel-rescue
: dasher; la
total 253
drwxr-xr-x   3 windsor  nsrc     512 Jan 24 15:11 .
drwxr-xr-x  20 windsor  nsrc    1024 Jan 22 22:28 ..
drwxr-xr-x   2 windsor  nsrc     512 Oct 24  2000 CVS
-rw-r--r--   1 windsor  nsrc    1285 Oct  9  2000 Makefile
-rw-r--r--   1 root     nsrc  121571 Jan 24 12:45 netbsd.INSTALL_SMALL.symbols
-rw-r--r--   1 root     nsrc  110227 Jan 24 12:44 netbsd.INSTALL_TINY.symbols

>Fix:
	apply following patch against basesrc:

--- distrib/i386/floppies/kernel-rescue/Makefile.FCS	Tue Jan 29 23:13:38 2002
+++ distrib/i386/floppies/kernel-rescue/Makefile	Tue Jan 29 23:14:17 2002
@@ -33,13 +33,14 @@
 	mv netbsd.tmp.gz ${.TARGET}
 
 KERNELS=netbsd.INSTALL_TINY.gz netbsd.INSTALL_SMALL.gz
+SYMBOLS=netbsd.INSTALL_TINY.symbols netbsd.INSTALL_SMALL.symbols
 
 all: ${KERNELS}
 
 release:
 
 clean cleandir distclean:
-	rm -f *.core ${KERNELS}
+	rm -f *.core ${KERNELS} ${SYMBOLS}
 
 .include <bsd.obj.mk>
 .include <bsd.subdir.mk>

>Release-Note:
>Audit-Trail:
>Unformatted: