Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153323186
D12421.id33549.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
869 B
Referenced Files
None
Subscribers
None
D12421.id33549.diff
View Options
Index: head/share/mk/src.opts.mk
===================================================================
--- head/share/mk/src.opts.mk
+++ head/share/mk/src.opts.mk
@@ -180,6 +180,7 @@
GNU_GREP_COMPAT \
HESIOD \
LIBSOFT \
+ LOADER_FORCE_LE \
NAND \
OFED \
OPENLDAP \
Index: head/sys/boot/Makefile.inc
===================================================================
--- head/sys/boot/Makefile.inc
+++ head/sys/boot/Makefile.inc
@@ -1,6 +1,6 @@
# $FreeBSD$
-.include <bsd.own.mk>
+.include <src.opts.mk>
SSP_CFLAGS=
@@ -22,3 +22,11 @@
# when this test succeeds rather than require dd to be a bootstrap tool.
DD_NOSTATUS!=(dd status=none count=0 2> /dev/null && echo status=none) || true
DD=dd ${DD_NOSTATUS}
+
+.if ${MK_LOADER_FORCE_LE} != "no"
+
+.if ${MACHINE_ARCH} == "powerpc64"
+CFLAGS+= -mlittle-endian
+.endif
+
+.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 11:41 AM (1 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31908030
Default Alt Text
D12421.id33549.diff (869 B)
Attached To
Mode
D12421: Compile loader as Little-Endian on PPC64/POWER8
Attached
Detach File
Event Timeline
Log In to Comment