Turn off host-specific objdirs by default. Set MKHOSTOBJ=yes to enable.
This commit is contained in:
parent
7cbe8c2c16
commit
6c2c072164
13
BUILDING
13
BUILDING
@ -127,6 +127,17 @@ CONFIGURATION
|
||||
|
||||
Default: ``yes''
|
||||
|
||||
MKHOSTOBJ Can be set to ``yes'' or ``no''. If set to ``yes'', then for
|
||||
programs intended to be run on the compile host, the name,
|
||||
release, and architecture of the host operating system will
|
||||
be suffixed to the name of the object directory created by
|
||||
``make obj''. (This allows multiple host systems to compile
|
||||
NetBSD for a single target.) If set to ``no'', then programs
|
||||
built to be run on the compile host will use the same object
|
||||
directory names as programs built to be run on the target.
|
||||
|
||||
Default: ``no''
|
||||
|
||||
MKINFO Can be set to ``yes'' or ``no''. Indicates whether GNU Info
|
||||
files, used for the documentation for most of the compilation
|
||||
tools, will be created and installed during a build.
|
||||
@ -451,4 +462,4 @@ HISTORY
|
||||
BUGS
|
||||
Many platforms are not yet using the USE_NEW_TOOLCHAIN system.
|
||||
|
||||
NetBSD November 12, 2001 7
|
||||
NetBSD November 12, 2001 8
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: BUILDING.mdoc,v 1.9 2001/11/12 23:16:18 tv Exp $
|
||||
.\" $NetBSD: BUILDING.mdoc,v 1.10 2001/11/14 22:29:23 tv Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -263,6 +263,21 @@ Indicates whether system documentation destined for
|
||||
will be installed during a build.
|
||||
.DFLTy
|
||||
.
|
||||
.It Sy MKHOSTOBJ
|
||||
.YorN
|
||||
If set to
|
||||
.Dq yes ,
|
||||
then for programs intended to be run on the compile host,
|
||||
the name, release, and architecture of the host operating system
|
||||
will be suffixed to the name of the object directory created by
|
||||
.Dq make obj .
|
||||
(This allows multiple host systems to compile NetBSD for a single target.)
|
||||
If set to
|
||||
.Dq no ,
|
||||
then programs built to be run on the compile host will use the same
|
||||
object directory names as programs built to be run on the target.
|
||||
.DFLTn
|
||||
.
|
||||
.It Sy MKINFO
|
||||
.YorN
|
||||
Indicates whether GNU Info files, used for the documentation for
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.obj.mk,v 1.34 2001/11/12 18:49:12 tv Exp $
|
||||
# $NetBSD: bsd.obj.mk,v 1.35 2001/11/14 22:29:23 tv Exp $
|
||||
|
||||
.if !target(__initialized_obj__)
|
||||
__initialized_obj__:
|
||||
@ -35,8 +35,7 @@ __objdir= obj${OBJMACHINE:D.${MACHINE}}
|
||||
__usrobjdir= ${BSDOBJDIR}${USR_OBJMACHINE:D.${MACHINE}}
|
||||
__usrobjdirpf= ${USR_OBJMACHINE:U${OBJMACHINE:D.${MACHINE}}}
|
||||
|
||||
.if (defined(USR_OBJMACHINE) || defined(OBJMACHINE)) && \
|
||||
defined(OBJHOSTMACHINE)
|
||||
.if defined(OBJHOSTMACHINE) && (${MKHOSTOBJ:Uno} != "no")
|
||||
# In case .CURDIR has been twiddled by a .mk file and is now relative,
|
||||
# make it absolute again.
|
||||
.if ${__curdir:M/*} == ""
|
||||
|
Loading…
Reference in New Issue
Block a user