Subject: toolchain/21427: doesn't remove the x86 symlink
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/02/2003 17:53:53
>Number:         21427
>Category:       toolchain
>Synopsis: doesn't remove the x86 symlink
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 02 15:55:01 UTC 2003
>Originator:     Quentin Garnier
>Release:        NetBSD 1.6R
Quentin Garnier -
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.
System: NetBSD padme 1.6R NetBSD 1.6R (NVIDIA_ACPI-$Revision: 1.3 $) #35: Wed Apr 30 17:24:32 CEST 2003 cube@padme:/home/cube/src/nv-netbsd/netvidia/src/sys/arch/i386/compile/NVIDIA_ACPI i386
Architecture: i386
Machine: i386
	When compiling a LKM using on my i386, a symlink to x86
	include directory is created, but is not removed at 'make cleandir'
	time, which is far from critical, just a bit annoying.
	'make cleandir' in a LKM source directory on an x86 platform and see
	that the 'x86' symlink was not removed.
RCS file: /cvsroot/src/share/mk/,v
retrieving revision 1.58
diff -u -r1.58
---	2003/02/27 11:09:59	1.58
+++	2003/05/02 15:48:58
@@ -26,6 +26,8 @@
 .elif ${MACHINE_ARCH} == "powerpc"
 CLEANFILES+=	${KMOD}_tramp.o ${KMOD}_tramp.S tmp.S ${KMOD}_tmp.o
+.elif ${MACHINE} == "i386" || ${MACHINE} == "x86_64"
 OBJS+=		${SRCS:N*.h:N*.sh:R:S/$/.o/g}