Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107985936
D46502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
404 B
Referenced Files
None
Subscribers
None
D46502.diff
View Options
Index: Mk/Uses/kmod.mk
===================================================================
--- Mk/Uses/kmod.mk
+++ Mk/Uses/kmod.mk
@@ -51,6 +51,9 @@
l=$$(($$l-1)) ; \
done
+_MACHINE!= ${UNAME} -m
+MAKE_ENV+= MACHINE="${_MACHINE}" MACHINE_ARCH="${ARCH}"
+
PLIST_SUB+= KMODDIR="${KMODDIR:C,^/,,}"
MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" NO_XREF=yes
PLIST_FILES+= "@kld ${KMODDIR}"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 21, 5:32 AM (8 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16000714
Default Alt Text
D46502.diff (404 B)
Attached To
Mode
D46502: Mk/Uses/kmod.mk: Set MACHINE and MACHINE_ARCH to handle cross-building
Attached
Detach File
Event Timeline
Log In to Comment