Remove special cases for armeb in the build.

Differential Revision:  https://reviews.freebsd.org/D16257
This commit is contained in:
Warner Losh 2018-07-17 23:23:54 +00:00
parent ff9452772d
commit 71cb2dfcbc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336437
7 changed files with 7 additions and 9 deletions

View file

@ -157,8 +157,7 @@ SUBDIR.${MK_LDNS}+= libldns
# built for certain architectures.
.if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang" && \
(${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
(${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb") || \
(${MACHINE_CPUARCH} == "i386"))
${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386")
_libclang_rt= libclang_rt
.endif

View file

@ -19,7 +19,7 @@ SUBDIR+= ubsan_standalone_cxx
.endif
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
(${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb")
${MACHINE_CPUARCH} == "arm"
SUBDIR+= profile
.endif

View file

@ -346,7 +346,7 @@ MACHINE_CPU += armv7
. endif
# armv6 and armv7 are a hybrid. It can use the softfp ABI, but doesn't emulate
# floating point in the general case, so don't define softfp for it at this
# time. arm and armeb are pure softfp, so define it for them.
# time. arm is pure softfp, so define it for them.
. if ${MACHINE_ARCH:Marmv[67]*} == ""
MACHINE_CPU += softfp
. endif

View file

@ -14,7 +14,7 @@ MK_INSTALL_AS_USER= yes
.endif
# from src/Makefile (for universe)
TARGET_ARCHES_arm?= arm armeb armv6 armv7
TARGET_ARCHES_arm?= arm armv6 armv7
TARGET_ARCHES_arm64?= aarch64
TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 mipsn32el
TARGET_ARCHES_powerpc?= powerpc powerpc64 powerpcspe

View file

@ -321,7 +321,7 @@ __DEFAULT_YES_OPTIONS+=LLDB
__DEFAULT_NO_OPTIONS+=LLDB
.endif
# LLVM lacks support for FreeBSD 64-bit atomic operations for ARMv4/ARMv5
.if ${__T} == "arm" || ${__T} == "armeb"
.if ${__T} == "arm"
BROKEN_OPTIONS+=LLDB
.endif
# GDB in base is generally less functional than GDB in ports. Ports GDB

View file

@ -28,7 +28,7 @@ DIRDEPS+= \
.endif
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
(${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb")
${MACHINE_CPUARCH} == "arm"
DIRDEPS+= \
lib/libclang_rt/profile \

View file

@ -193,8 +193,7 @@ DIRDEPS = \
.if ${MK_CLANG} != "no" && \
(${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
(${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb") || \
(${MACHINE_CPUARCH} == "i386"))
${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386")
DIRDEPS+= \
lib/libclang_rt/asan-preinit \
lib/libclang_rt/asan \