Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Sun, 21 Sep 2003 01:11:55 +1000
Luke Mewburn <lukem%NetBSD.org@localhost> wrote:
> On Sat, Sep 20, 2003 at 10:14:42AM +0000, Julio M. Merino Vidal wrote:
> |
> | Module Name: src
> | Committed By: jmmv
> | Date: Sat Sep 20 10:14:42 UTC 2003
> |
> | Modified Files:
> | src: build.sh
> |
> | Log Message:
> | Set BSDSRCDIR and NETBSDSRCDIR in the make wrapper, so we always get the
> | right source directories (in case they are defined in mk.conf using '?=').
>
> I'm not convinced that it's necessary to do this, especially for
> BSDSRCDIR. The only thing that's still used for in the tree is the
> "fallback" old-style .OBJDIR stuff if you're not using MAKEOBJDIR or
> MAKEOBJDIRPREFIX, and build.sh supports both of those.
Well, I have the following in mk.conf:
BSDSRCDIR?=/home/NetBSD/src
NETBSDSRCDIR?=/home/NetBSD/src
These point to current's sources. But when building 1.6 (/home/NetBSD/src-1.6)
it
picks several things from the right directory but it reaches a point where it
uses
header files (IIRC) from /home/NetBSD/src, so the build breaks. And explicitly
setting those variables to the proper directory fixed the problem.
About -O or -M problems... I always use -M, and the build finished properly.
I'm
just trying a build with -O, and it goes fine...
--
Julio M. Merino Vidal <jmmv%menta.net@localhost>
The NetBSD Project - http://www.NetBSD.org/
Home |
Main Index |
Thread Index |
Old Index