Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154855455
D14178.id39717.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
692 B
Referenced Files
None
Subscribers
None
D14178.id39717.diff
View Options
Index: head/Makefile.inc1
===================================================================
--- head/Makefile.inc1
+++ head/Makefile.inc1
@@ -56,7 +56,13 @@
# Cross toolchain changes must be in effect before bsd.compiler.mk
# so that gets the right CC, and pass CROSS_TOOLCHAIN to submakes.
.if defined(CROSS_TOOLCHAIN)
+.if exists(${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk)
.include "${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk"
+.elif exists(${CROSS_TOOLCHAIN})
+.include "${CROSS_TOOLCHAIN}"
+.else
+.error CROSS_TOOLCHAIN is '${CROSS_TOOLCHAIN}' which is invalid
+.endif
CROSSENV+=CROSS_TOOLCHAIN="${CROSS_TOOLCHAIN}"
.endif
.if defined(CROSS_TOOLCHAIN_PREFIX)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 3:00 PM (4 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32528463
Default Alt Text
D14178.id39717.diff (692 B)
Attached To
Mode
D14178: Allow CROSS_TOOLCHAIN to be a path to a file.
Attached
Detach File
Event Timeline
Log In to Comment