Skip to content

Commit

Permalink
Remove special cases for armeb in the build.
Browse files Browse the repository at this point in the history
Differential Revision:  https://reviews.freebsd.org/D16257
  • Loading branch information
bsdimp committed Jul 17, 2018
1 parent 000ad38 commit cd812ef
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
3 changes: 1 addition & 2 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/libclang_rt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion share/mk/bsd.cpu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion share/mk/local.meta.sys.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion share/mk/src.opts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion targets/pseudo/clang/Makefile.depend
Original file line number Diff line number Diff line change
Expand Up @@ -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 \

Expand Down
3 changes: 1 addition & 2 deletions targets/pseudo/userland/lib/Makefile.depend
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit cd812ef

Please sign in to comment.