NetBSD Problem Report #21427
Received: (qmail 1579 invoked by uid 605); 2 May 2003 15:54:20 -0000
Message-Id: <200305021553.h42FrrM14148@padme.cubidou.net>
Date: Fri, 2 May 2003 17:53:53 +0200 (CEST)
From: <cube@cubidou.net>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: cube@cubidou.net
To: gnats-bugs@gnats.netbsd.org
Subject: bsd.kmod.mk doesn't remove the x86 symlink
X-Send-Pr-Version: 3.95
>Number: 21427
>Category: toolchain
>Synopsis: bsd.kmod.mk doesn't remove the x86 symlink
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 02 15:55:01 +0000 2003
>Closed-Date: Fri May 02 15:58:02 +0000 2003
>Last-Modified: Fri May 02 15:58:02 +0000 2003
>Originator: Quentin Garnier
>Release: NetBSD 1.6R
>Organization:
Quentin Garnier - cube@cubidou.net
"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.
>Environment:
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
>Description:
When compiling a LKM using bsd.kmod.mk 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.
>How-To-Repeat:
'make cleandir' in a LKM source directory on an x86 platform and see
that the 'x86' symlink was not removed.
>Fix:
Index: bsd.kmod.mk
===================================================================
RCS file: /cvsroot/src/share/mk/bsd.kmod.mk,v
retrieving revision 1.58
diff -u -r1.58 bsd.kmod.mk
--- bsd.kmod.mk 2003/02/27 11:09:59 1.58
+++ bsd.kmod.mk 2003/05/02 15:48:58
@@ -26,6 +26,8 @@
CLEANFILES+= sparc
.elif ${MACHINE_ARCH} == "powerpc"
CLEANFILES+= ${KMOD}_tramp.o ${KMOD}_tramp.S tmp.S ${KMOD}_tmp.o
+.elif ${MACHINE} == "i386" || ${MACHINE} == "x86_64"
+CLEANFILES+= x86
.endif
OBJS+= ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jdolecek
State-Changed-When: Fri May 2 15:57:40 UTC 2003
State-Changed-Why:
This has apparently been already fixed, in rev. 1.59 of bsd.kmod.mk.
Thanks for report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.