Subject: Re: Problem with make obj
To: Ian Fry <>
From: James Chacon <>
List: tech-toolchain
Date: 11/27/2001 11:30:23
Do this for me:

ls -ld /mnt/source/current

Is that a symlink pointing to somewhere?

How did you run to generate nbmake?


>On Mon, Nov 26, 2001 at 05:49:44PM -0500, Perry E. Metzger wrote:
>> Ian Fry <> writes:
>> > After updating my -current source tree last week, make obj (both using
>> > the nbmake wrapper generated by and invoking make directly) creates
>> > directories in the source tree, rather than symbolic links.
>> Could you tell us a) the command you're typing and b) the contents of
>> your /etc/mk.conf? It might be of help.
>Yes, sorry, I meant to include the information in my original message.
>Here are the relevant bits from my /etc/mk.conf:
># Set source and obj location
># Machine specific obj directories
># New toolchain stuff
>(I've tried this both with and without OBJMACHINE - it doesn't make any
>The commands I used are (long lines split):
>/usr/local/tools/bin/nbmake-arm26 obj (from /mnt/source/current)
>MACHINE=arm26 MACHINE_ARCH=arm /usr/local/tools/bin/nbmake -m \
>   /mnt/source/current/share/mk obj
>This is on a NetBSD-i386 1.5.2 machine, trying to cross build NetBSD-current
>for arm26 (which I managed to do just fine about 2 weeks ago).