Subject: toolchain/14629: make obj does not work correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 11/18/2001 23:32:21
>Number: 14629
>Category: toolchain
>Synopsis: make obj does not work correctly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 18 14:33:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Bernd Ernesti
>Release: NetBSD-current as of today
>Organization:
>Environment:
System: NetBSD arresum.inka.de 1.5Y NetBSD 1.5Y (ARRESUM) #634: Mon Nov 12 19:54:29 CET 2001 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386
Architecture: i386
Machine: i386
>Description:
A make obj doesn't create the correct obj link and directory.
You need these entries in /etc/mk.conf:
BSDOBJDIR = /usr/obj/src
BSDSRCDIR = /home/source/src
USR_OBJMACHINE = 1
OBJMACHINE = 1
>How-To-Repeat:
cd usr.bin.make; make obj
/home/source/src/usr.bin/make/obj.i386 -> /usr/obj/src.i386/
The correct link should be:
/home/source/src/usr.bin/make/obj.i386 -> /usr/obj/src.i386/usr.bin/make
And of course, the make obj doesn't create the /usr/obj/src.i386/usr.bin/make
directory.
That happens after I build a new make and installed share/mk.
# $NetBSD: bsd.obj.mk,v 1.35 2001/11/14 22:29:23 tv Exp $
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: