Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103039660
D45146.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
908 B
Referenced Files
None
Subscribers
None
D45146.diff
View Options
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -71,6 +71,8 @@
KMODUNLOAD?= /sbin/kldunload
KMODISLOADED?= /sbin/kldstat -q -n
OBJCOPY?= objcopy
+XARGS?= xargs
+XARGS_J?= -J
.include "kmod.opts.mk"
.include <bsd.sysdir.mk>
@@ -275,12 +277,12 @@
grep -v '^#' < ${EXPORT_SYMS} > export_syms
.endif
${AWK} -f ${SYSDIR}/conf/kmod_syms.awk ${.TARGET} \
- export_syms | xargs -J% ${OBJCOPY} % ${.TARGET}
+ export_syms | ${XARGS} ${XARGS_J} % ${OBJCOPY} % ${.TARGET}
.endif
.endif # defined(EXPORT_SYMS)
.if defined(PREFIX_SYMS)
${AWK} -v prefix=${PREFIX_SYMS} -f ${SYSDIR}/conf/kmod_syms_prefix.awk \
- ${.TARGET} /dev/null | xargs -J% ${OBJCOPY} % ${.TARGET}
+ ${.TARGET} /dev/null | ${XARGS} ${XARGS_J} % ${OBJCOPY} % ${.TARGET}
.endif
.if !defined(DEBUG_FLAGS) && ${__KLD_SHARED} == no
${OBJCOPY} --strip-debug ${.TARGET}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 3:47 AM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14753713
Default Alt Text
D45146.diff (908 B)
Attached To
Mode
D45146: kmod.mk use ${XARGS}
Attached
Detach File
Event Timeline
Log In to Comment