Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107803793
D24178.id69834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D24178.id69834.diff
View Options
Index: head/Makefile
===================================================================
--- head/Makefile
+++ head/Makefile
@@ -483,16 +483,17 @@
.if make(universe) || make(universe_kernels) || make(tinderbox) || \
make(targets) || make(universe-toolchain)
#
-# Always build architectures supported by clang. Only build architectures
-# only supported by GCC if a suitable toolchain is present or enabled.
-# In all cases, if the user specifies TARGETS on the command line,
-# honor that most of all.
+# Don't build rarely used architectures unless requested.
#
+.if defined(EXTRA_TARGETS)
+EXTRA_ARCHES_mips= mipsel mipshf mipselhf mips64el mips64hf mips64elhf
+EXTRA_ARCHES_mips+= mipsn32
+.endif
TARGETS?=amd64 arm arm64 i386 mips powerpc riscv
_UNIVERSE_TARGETS= ${TARGETS}
TARGET_ARCHES_arm?= armv6 armv7
TARGET_ARCHES_arm64?= aarch64
-TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 mipselhf mipshf mips64elhf mips64hf
+TARGET_ARCHES_mips?= mips mips64 ${EXTRA_ARCHES_mips}
# powerpcspe excluded until clang fixed
TARGET_ARCHES_powerpc?= powerpc powerpc64
TARGET_ARCHES_riscv?= riscv64 riscv64sf
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 7:46 AM (13 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15934551
Default Alt Text
D24178.id69834.diff (1 KB)
Attached To
Mode
D24178: Disable rarely used architecture variants in make universe by default.
Attached
Detach File
Event Timeline
Log In to Comment