Changeset View
Changeset View
Standalone View
Standalone View
share/mk/sys.mk
# from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 | # from: @(#)sys.mk 8.2 (Berkeley) 3/21/94 | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
unix ?= We run FreeBSD, not UNIX. | unix ?= We run FreeBSD, not UNIX. | ||||
.FreeBSD ?= true | .FreeBSD ?= true | ||||
.if !defined(%POSIX) | .if !defined(%POSIX) | ||||
# | # | ||||
# MACHINE_CPUARCH defines a collection of MACHINE_ARCH. Machines with | # MACHINE_CPUARCH defines a collection of MACHINE_ARCH. Machines with | ||||
# the same MACHINE_ARCH can run each other's binaries, so it necessarily | # the same MACHINE_ARCH can run each other's binaries, so it necessarily | ||||
# has word size and endian swizzled in. However, the source files for | # has word size and endian swizzled in. However, the source files for | ||||
# these machines often are shared amongst all combinations of size | # these machines often are shared amongst all combinations of size | ||||
# and/or endian. This is called MACHINE_CPU in NetBSD, but that's used | # and/or endian. This is called MACHINE_CPU in NetBSD, but that's used | ||||
# for something different in FreeBSD. | # for something different in FreeBSD. | ||||
# | # | ||||
__TO_CPUARCH=C/mips(n32|64)?(el)?(hf)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc(64|spe)/powerpc/:C/riscv64(sf)?/riscv/ | __TO_CPUARCH=C/mips(n32|64)?(el)?(hf)?/mips/:C/arm(v[67])?(eb)?/arm/:C/powerpc(64|spe)/powerpc/:C/riscv64(sf)?/riscv/ | ||||
MACHINE_CPUARCH=${MACHINE_ARCH:${__TO_CPUARCH}} | MACHINE_CPUARCH=${MACHINE_ARCH:${__TO_CPUARCH}} | ||||
.endif | .endif | ||||
# Some options we need now | # Some options we need now | ||||
__DEFAULT_NO_OPTIONS= \ | __DEFAULT_NO_OPTIONS= \ | ||||
DIRDEPS_BUILD \ | DIRDEPS_BUILD \ | ||||
DIRDEPS_CACHE | DIRDEPS_CACHE | ||||
▲ Show 20 Lines • Show All 318 Lines • Show Last 20 Lines |