Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES This way the default for kernel compiles is still to use the installed toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by simply adding USETOOLS=yes to the command line as usual. Adjust each ports template to set the default no setting and also pull in bsd.own.mk if they weren't already to ensure they'll build correctly with the new toolchain setup.
This commit is contained in:
parent
bffc850001
commit
6d536163de
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.186 2001/10/24 02:43:13 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.187 2001/10/26 06:45:33 jmc Exp $
|
||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||
|
||||
# Environment variables without default values:
|
||||
@ -42,6 +42,8 @@
|
||||
# For NO_SENDMAIL, INSTPRIV, MKCRYPTO
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.MAKEOVERRIDES+= USETOOLS
|
||||
|
||||
TZDIR= /usr/share/zoneinfo
|
||||
LOCALTIME?= UTC
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.acorn32,v 1.3 2001/10/23 19:26:41 thorpej Exp $
|
||||
# $NetBSD: Makefile.acorn32,v 1.4 2001/10/26 06:45:34 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=arm32
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.alpha,v 1.66 2001/10/23 19:26:42 thorpej Exp $
|
||||
# $NetBSD: Makefile.alpha,v 1.67 2001/10/26 06:45:34 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=alpha
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.amiga,v 1.95 2001/10/23 19:26:42 thorpej Exp $
|
||||
# $NetBSD: Makefile.amiga,v 1.96 2001/10/26 06:45:34 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.amigappc,v 1.4 2001/10/23 19:26:42 thorpej Exp $
|
||||
# $NetBSD: Makefile.amigappc,v 1.5 2001/10/26 06:45:34 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,23 +13,26 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=powerpc
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
||||
MACHTYPE=powerpc
|
||||
|
||||
AR= /usr/pkg/cross/powerpc-netbsd/bin/ar
|
||||
AS= /usr/pkg/cross/powerpc-netbsd/bin/as
|
||||
CC= /usr/pkg/cross/powerpc-netbsd/bin/cc
|
||||
CPP= /usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
|
||||
LD= /usr/pkg/cross/powerpc-netbsd/bin/ld
|
||||
AR?= /usr/pkg/cross/powerpc-netbsd/bin/ar
|
||||
AS?= /usr/pkg/cross/powerpc-netbsd/bin/as
|
||||
CC?= /usr/pkg/cross/powerpc-netbsd/bin/cc
|
||||
CPP?= /usr/pkg/cross/lib/gcc-lib/powerpc-netbsd/egcs-2.91.60/cpp
|
||||
LD?= /usr/pkg/cross/powerpc-netbsd/bin/ld
|
||||
LORDER?=lorder
|
||||
MKDEP?= mkdep
|
||||
NM= /usr/pkg/cross/powerpc-netbsd/bin/nm
|
||||
RANLIB= /usr/pkg/cross/powerpc-netbsd/bin/ranlib
|
||||
SIZE= /usr/pkg/cross/powerpc-netbsd/bin/size
|
||||
STRIP= /usr/pkg/cross/powerpc-netbsd/bin/strip
|
||||
NM?= /usr/pkg/cross/powerpc-netbsd/bin/nm
|
||||
RANLIB?= /usr/pkg/cross/powerpc-netbsd/bin/ranlib
|
||||
SIZE?= /usr/pkg/cross/powerpc-netbsd/bin/size
|
||||
STRIP?= /usr/pkg/cross/powerpc-netbsd/bin/strip
|
||||
TSORT?= tsort -q
|
||||
|
||||
COPTS?= -O2
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.arm,v 1.9 2001/10/23 18:57:32 thorpej Exp $
|
||||
# $NetBSD: Makefile.arm,v 1.10 2001/10/26 06:45:35 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -12,6 +12,8 @@
|
||||
# /sys/arch/arm/conf/Makefile.arm
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.arm26,v 1.11 2001/10/24 13:53:24 bjh21 Exp $
|
||||
# $NetBSD: Makefile.arm26,v 1.12 2001/10/26 06:45:35 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD/arm26
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=arm
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.arm32,v 1.59 2001/10/23 19:26:43 thorpej Exp $
|
||||
# $NetBSD: Makefile.arm32,v 1.60 2001/10/26 06:45:35 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=arm32
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.atari,v 1.63 2001/10/23 19:26:44 thorpej Exp $
|
||||
# $NetBSD: Makefile.atari,v 1.64 2001/10/26 06:45:35 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.cesfic,v 1.4 2001/10/23 19:26:44 thorpej Exp $
|
||||
# $NetBSD: Makefile.cesfic,v 1.5 2001/10/26 06:45:36 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -17,6 +17,9 @@
|
||||
#
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.hp300,v 1.79 2001/10/23 19:26:44 thorpej Exp $
|
||||
# $NetBSD: Makefile.hp300,v 1.80 2001/10/26 06:45:36 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.hpcarm,v 1.6 2001/10/23 19:26:44 thorpej Exp $
|
||||
# $NetBSD: Makefile.hpcarm,v 1.7 2001/10/26 06:45:36 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=arm32
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.i386,v 1.117 2001/10/23 19:26:45 thorpej Exp $
|
||||
# $NetBSD: Makefile.i386,v 1.118 2001/10/26 06:45:37 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=i386
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.luna68k,v 1.10 2001/10/23 19:26:45 thorpej Exp $
|
||||
# $NetBSD: Makefile.luna68k,v 1.11 2001/10/26 06:45:37 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mac68k,v 1.79 2001/10/23 19:26:45 thorpej Exp $
|
||||
# $NetBSD: Makefile.mac68k,v 1.80 2001/10/26 06:45:37 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mips,v 1.22 2001/10/23 20:40:02 thorpej Exp $
|
||||
# $NetBSD: Makefile.mips,v 1.23 2001/10/26 06:45:37 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -12,6 +12,8 @@
|
||||
# /sys/arch/mips/conf/Makefile.mips
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "mipsel"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.mvme68k,v 1.52 2001/10/23 19:26:45 thorpej Exp $
|
||||
# $NetBSD: Makefile.mvme68k,v 1.53 2001/10/26 06:45:38 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.news68k,v 1.10 2001/10/23 19:26:46 thorpej Exp $
|
||||
# $NetBSD: Makefile.news68k,v 1.11 2001/10/26 06:45:38 jmc Exp $
|
||||
#
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.next68k,v 1.20 2001/10/23 19:26:46 thorpej Exp $
|
||||
# $NetBSD: Makefile.next68k,v 1.21 2001/10/26 06:45:38 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.pc532,v 1.66 2001/10/23 19:26:46 thorpej Exp $
|
||||
# $NetBSD: Makefile.pc532,v 1.67 2001/10/26 06:45:38 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=ns32k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.powerpc,v 1.18 2001/10/23 19:26:46 thorpej Exp $
|
||||
# $NetBSD: Makefile.powerpc,v 1.19 2001/10/26 06:45:39 jmc Exp $
|
||||
#
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -19,6 +19,7 @@
|
||||
# -DQUOTA compile in file system quotas
|
||||
|
||||
MACHINE_ARCH=powerpc
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sh3,v 1.13 2001/10/23 18:57:33 thorpej Exp $
|
||||
# $NetBSD: Makefile.sh3,v 1.14 2001/10/26 06:45:39 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -12,6 +12,8 @@
|
||||
# /sys/arch/sh3/conf/Makefile.sh3
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sh3.be,v 1.7 2001/05/29 02:20:25 mrg Exp $
|
||||
# $NetBSD: Makefile.sh3.be,v 1.8 2001/10/26 06:45:39 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -12,6 +12,10 @@
|
||||
# /sys/arch/sh3/conf/Makefile.sh3
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sparc,v 1.74 2001/10/23 19:42:16 thorpej Exp $
|
||||
# $NetBSD: Makefile.sparc,v 1.75 2001/10/26 06:45:39 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=sparc
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sparc64,v 1.41 2001/10/24 19:12:18 thorpej Exp $
|
||||
# $NetBSD: Makefile.sparc64,v 1.42 2001/10/26 06:45:40 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -21,6 +21,8 @@ MACHINE_ARCH=sparc64
|
||||
MACHINE_ARCH=sparc
|
||||
.endif
|
||||
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sun2,v 1.6 2001/10/23 19:26:46 thorpej Exp $
|
||||
# $NetBSD: Makefile.sun2,v 1.7 2001/10/26 06:45:40 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -19,6 +19,9 @@
|
||||
# -DQUOTA compile in file system quotas
|
||||
|
||||
MACHINE_ARCH=m68000
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.sun3,v 1.88 2001/10/23 19:26:47 thorpej Exp $
|
||||
# $NetBSD: Makefile.sun3,v 1.89 2001/10/26 06:45:40 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.vax,v 1.61 2001/10/23 19:26:47 thorpej Exp $
|
||||
# $NetBSD: Makefile.vax,v 1.62 2001/10/26 06:45:41 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,9 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=vax
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# DEBUG is set to -g if debugging.
|
||||
# PROF is set to -pg if profiling.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.x68k,v 1.52 2001/10/23 19:26:47 thorpej Exp $
|
||||
# $NetBSD: Makefile.x68k,v 1.53 2001/10/26 06:45:41 jmc Exp $
|
||||
#
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=m68k
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.x86_64,v 1.3 2001/10/23 19:26:47 thorpej Exp $
|
||||
# $NetBSD: Makefile.x86_64,v 1.4 2001/10/26 06:45:41 jmc Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
@ -13,6 +13,7 @@
|
||||
# after which config should be rerun for all machines of that type.
|
||||
|
||||
MACHINE_ARCH=x86_64
|
||||
USETOOLS?= no
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user