summaryrefslogtreecommitdiff
path: root/cross/COMMON/netbsd.mk
blob: 16426376683b81d90c860767d698bb827e486ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$NetBSD: netbsd.mk,v 1.1 1998/08/12 02:42:29 tv Exp $

# Definitions for building a cross-compile environment for a NetBSD target.

# If the MACHINE_ARCH matches the package target, we can use a special
# "shortcut" hack that makes use of the native compiler with a bundle of
# includes and libraries for the target version of NetBSD.  Otherwise, or
# if USE_EGCS_FOR_NATIVE is set in mk.conf, we use the standard egcs+binutils
# cross setup.  (For now, we just use egcs.)

#.include "../../mk/bsd.prefs.mk"
#.if defined(USE_EGCS_FOR_NATIVE) || (${MACHINE_ARCH} != ${TARGET_ARCH})
.include "../files/cross.mk"
#.else
#.endif