* Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:
TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
no working in-tree toolchain (hppa, ns32k, sh5, x86_64).
EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
an external toolchain (e.g. /usr/local/gnu). This enables the cross-build
framework even for TOOLCHAIN_MISSING platforms.
If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
unconditionally set to "no", since the bits are not there to build.
If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
since the external toolchain's compiler is not in-sync with the
in-tree compiler support components (e.g. libgcc).
* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
that file can use it.
2002-09-17 23:18:25 +00:00
|
|
|
# $NetBSD: Makefile,v 1.4 2002/09/17 23:18:31 thorpej Exp $
|
2002-01-22 16:55:19 +00:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
# PSIM support for PowerPC.
|
|
|
|
.if ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpcle
|
2002-01-22 17:02:08 +00:00
|
|
|
SUBDIR+= ppc
|
2002-01-22 16:55:19 +00:00
|
|
|
.endif
|
|
|
|
|
2002-02-10 17:38:24 +00:00
|
|
|
.include <bsd.subdir.mk>
|