Consistently check ${TOOLCHAIN_MISSING} against "no".

This commit is contained in:
lukem 2004-01-03 14:04:27 +00:00
parent ffdba9f604
commit 986979b8c9
6 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.222 2003/12/05 22:33:01 lukem Exp $
# $NetBSD: Makefile,v 1.223 2004/01/03 14:04:27 lukem Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@ -295,7 +295,7 @@ release snapshot:
#
check-tools:
.if ${TOOLCHAIN_MISSING} == "yes" && !defined(EXTERNAL_TOOLCHAIN)
.if ${TOOLCHAIN_MISSING} != "no" && !defined(EXTERNAL_TOOLCHAIN)
@echo '*** WARNING: Building on MACHINE=${MACHINE} with missing toolchain.'
@echo '*** May result in a failed build or corrupt binaries!'
.elif defined(EXTERNAL_TOOLCHAIN)

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.12 2003/12/04 09:29:35 mrg Exp $
# $NetBSD: Makefile,v 1.13 2004/01/03 14:04:27 lukem Exp $
.include <bsd.own.mk>
.if (defined(HOSTPROG) && \
(${TOOLCHAIN_MISSING} != "yes" || defined(EXTERNAL_TOOLCHAIN))) || \
(${TOOLCHAIN_MISSING} == "no" || defined(EXTERNAL_TOOLCHAIN))) || \
${MKBFD} != "no"
TOP= ${NETBSDSRCDIR}/gnu
DIST= ${TOP}/dist/binutils

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.17 2003/12/04 09:29:35 mrg Exp $
# $NetBSD: Makefile,v 1.18 2004/01/03 14:04:27 lukem Exp $
.include <bsd.own.mk>
.if (defined(HOSTPROG) && \
(${TOOLCHAIN_MISSING} != "yes" || defined(EXTERNAL_TOOLCHAIN))) || \
(${TOOLCHAIN_MISSING} == "no" || defined(EXTERNAL_TOOLCHAIN))) || \
${MKBFD} != "no"
TOP= ${NETBSDSRCDIR}/gnu
DIST= ${TOP}/dist/binutils

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.80 2003/12/11 14:52:46 matt Exp $
# $NetBSD: Makefile,v 1.81 2004/01/03 14:04:27 lukem Exp $
.include <bsd.own.mk>
.if ${TOOLCHAIN_MISSING} != "yes"
.if ${TOOLCHAIN_MISSING} == "no"
TOOLCHAIN_BITS= binutils .WAIT
. if ${USE_TOOLS_TOOLCHAIN} != "yes"
TOOLCHAIN_BITS+= gcc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2003/10/21 10:01:22 lukem Exp $
# $NetBSD: Makefile,v 1.13 2004/01/03 14:04:27 lukem Exp $
PROG= crunchgen
SRCS= crunchgen.c crunched_skel.c
@ -12,12 +12,12 @@ crunched_skel.c: mkskel.sh crunched_main.c
.ifndef HOSTPROG
# Native tool -- key only off TOOLCHAIN_MISSING
.if ${TOOLCHAIN_MISSING} != "yes"
.if ${TOOLCHAIN_MISSING} == "no"
CPPFLAGS+= -DNEW_TOOLCHAIN
.endif
.else
# Host tool -- We can also pay attention to EXTERNAL_TOOLCHAIN.
.if ${TOOLCHAIN_MISSING} != "yes" || defined(EXTERNAL_TOOLCHAIN)
.if ${TOOLCHAIN_MISSING} == "no" || defined(EXTERNAL_TOOLCHAIN)
CPPFLAGS+= -DNEW_TOOLCHAIN
.endif
.endif # ! HOSTPROG

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.188 2003/12/10 11:40:12 hannken Exp $
# $NetBSD: Makefile,v 1.189 2004/01/03 14:04:27 lukem Exp $
# from: @(#)Makefile 5.20 (Berkeley) 6/12/93
.include <bsd.own.mk>
@ -30,7 +30,7 @@ SUBDIR+= hprop kadmin kdc kstash ktutil
SUBDIR+= rpc.yppasswdd ypbind yppoll ypserv ypset
.endif
.if ${TOOLCHAIN_MISSING} == "yes"
.if ${TOOLCHAIN_MISSING} != "no"
SUBDIR+= mdsetimage
.endif