Changeset View
Changeset View
Standalone View
Standalone View
Makefile
Show First 20 Lines • Show All 501 Lines • ▼ Show 20 Lines | |||||
# existing system is. | # existing system is. | ||||
# | # | ||||
.if make(universe) || make(universe_kernels) || make(tinderbox) || \ | .if make(universe) || make(universe_kernels) || make(tinderbox) || \ | ||||
make(targets) || make(universe-toolchain) | make(targets) || make(universe-toolchain) | ||||
# | # | ||||
# Don't build rarely used, semi-supported architectures unless requested. | # Don't build rarely used, semi-supported architectures unless requested. | ||||
# | # | ||||
.if defined(EXTRA_TARGETS) | .if defined(EXTRA_TARGETS) | ||||
EXTRA_ARCHES_mips= mipsel mipshf mipselhf mips64el mips64hf mips64elhf | |||||
EXTRA_ARCHES_mips+= mipsn32 | |||||
# powerpcspe excluded from main list until clang fixed | # powerpcspe excluded from main list until clang fixed | ||||
EXTRA_ARCHES_powerpc= powerpcspe powerpc64le | EXTRA_ARCHES_powerpc= powerpcspe powerpc64le | ||||
.endif | .endif | ||||
TARGETS?=amd64 arm arm64 i386 mips powerpc riscv | TARGETS?=amd64 arm arm64 i386 powerpc riscv | ||||
_UNIVERSE_TARGETS= ${TARGETS} | _UNIVERSE_TARGETS= ${TARGETS} | ||||
TARGET_ARCHES_arm?= armv6 armv7 | TARGET_ARCHES_arm?= armv6 armv7 | ||||
TARGET_ARCHES_arm64?= aarch64 | TARGET_ARCHES_arm64?= aarch64 | ||||
TARGET_ARCHES_mips?= mips mips64 ${EXTRA_ARCHES_mips} | |||||
TARGET_ARCHES_powerpc?= powerpc powerpc64 ${EXTRA_ARCHES_powerpc} | TARGET_ARCHES_powerpc?= powerpc powerpc64 ${EXTRA_ARCHES_powerpc} | ||||
TARGET_ARCHES_riscv?= riscv64 riscv64sf | TARGET_ARCHES_riscv?= riscv64 riscv64sf | ||||
.for target in ${TARGETS} | .for target in ${TARGETS} | ||||
TARGET_ARCHES_${target}?= ${target} | TARGET_ARCHES_${target}?= ${target} | ||||
.endfor | .endfor | ||||
.if defined(USE_GCC_TOOLCHAINS) | .if defined(USE_GCC_TOOLCHAINS) | ||||
TOOLCHAINS_amd64= amd64-gcc6 | TOOLCHAINS_amd64= amd64-gcc6 | ||||
TOOLCHAINS_arm64= aarch64-gcc6 | TOOLCHAINS_arm64= aarch64-gcc6 | ||||
TOOLCHAINS_i386= i386-gcc6 | TOOLCHAINS_i386= i386-gcc6 | ||||
TOOLCHAINS_mips= mips-gcc6 | |||||
TOOLCHAINS_powerpc= powerpc-gcc6 powerpc64-gcc6 | TOOLCHAINS_powerpc= powerpc-gcc6 powerpc64-gcc6 | ||||
TOOLCHAIN_powerpc64= powerpc64-gcc6 | TOOLCHAIN_powerpc64= powerpc64-gcc6 | ||||
.endif | .endif | ||||
# If a target is using an external toolchain, set MAKE_PARAMS to enable use | # If a target is using an external toolchain, set MAKE_PARAMS to enable use | ||||
# of the toolchain. If the external toolchain is missing, exclude the target | # of the toolchain. If the external toolchain is missing, exclude the target | ||||
# from universe. | # from universe. | ||||
.for target in ${_UNIVERSE_TARGETS} | .for target in ${_UNIVERSE_TARGETS} | ||||
▲ Show 20 Lines • Show All 251 Lines • Show Last 20 Lines |