NetBSD Problem Report #8451

Received: (qmail 27079 invoked from network); 20 Sep 1999 15:57:15 -0000
Message-Id: <199909201557.AAA00431@mirage.ceres.dti.ne.jp>
Date: Tue, 21 Sep 1999 00:57:01 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@gnats.netbsd.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: some Makefiles in newsmips/stand don't handle OBJDIR operation
X-Send-Pr-Version: 3.95

>Number:         8451
>Category:       port-newsmips
>Synopsis:       some Makefiles in newsmips/stand don't handle OBJDIR operation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-newsmips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 20 09:05:01 +0000 1999
>Closed-Date:    Mon Mar 06 14:16:58 +0000 2000
>Last-Modified:  Mon Mar 06 14:18:37 +0000 2000
>Originator:     Izumi Tsutsui
>Release:        NetBSD-current 19990918
>Organization:
Izumi Tsutsui	Himeji City, Japan
>Environment:
System: NetBSD 1.4K newsmips, NWS-3470D

>Description:
make build in newsmips/stand/boot{,xx} directory would fail
if obj directories are created. Makefiles do not use ${.CURDIR}
appropriately.

>How-To-Repeat:
make obj and make dependall in /sys/arch/newsmips/stand.

>Fix:

Index: boot/Makefile
===================================================================
RCS file: /cvs/repository/src/sys/arch/newsmips/stand/boot/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	1999/09/11 15:53:17	1.1.1.1
+++ Makefile	1999/09/20 14:54:01
@@ -1,6 +1,6 @@
 #	$NetBSD: Makefile,v 1.1 1999/07/08 11:48:05 tsubai Exp $

-.PATH: ../bootxx
+.PATH: ${.CURDIR}/../bootxx

 S= ${.CURDIR}/../../../..

@@ -21,7 +21,7 @@
 CFLAGS= -Os -G 0 -mno-abicalls -Wall

 CPPFLAGS+= -D_STANDALONE #-DBOOT_DEBUG
-CPPFLAGS+= -I. -I../../../..
+CPPFLAGS+= -I. -I${.CURDIR}/../../../..

 AFLAGS= -D_LOCORE

Index: bootxx/Makefile
===================================================================
RCS file: /cvs/repository/src/sys/arch/newsmips/stand/bootxx/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	1999/09/11 15:53:18	1.1.1.1
+++ Makefile	1999/09/20 14:45:49
@@ -11,7 +11,7 @@
 CFLAGS= -Os -mno-abicalls -G 0 -Wall

 CPPFLAGS+= -D_STANDALONE #-DBOOTXX_DEBUG
-CPPFLAGS+= -I../../../..
+CPPFLAGS+= -I${.CURDIR}/../../../..
 AFLAGS= -D_LOCORE

 L= ../boot/lib
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tsubai 
State-Changed-When: Mon Mar 6 06:16:58 PST 2000 
State-Changed-Why:  
Fixed.  (confirmed by the submitter) 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.