blob: 9a30590eb33b53e9a12af3071df60b43b48fca9f [file] [log] [blame] [raw]
Uses of xargs(1) can be converted to shell command substitution.
diff -ru --exclude-from freebsd-src-diff-exclude-names /usr/src/sys/conf/kmod.mk freebsd-11.1/sys/conf/kmod.mk
--- /usr/src/sys/conf/kmod.mk 2017-07-21 07:41:43.000000000 +0800
+++ freebsd-11.1/sys/conf/kmod.mk 2020-01-25 22:41:39.716238000 +0800
@@ -248,8 +248,9 @@
.else
grep -v '^#' < ${EXPORT_SYMS} > export_syms
.endif
- ${AWK} -f ${SYSDIR}/conf/kmod_syms.awk ${.TARGET} \
- export_syms | xargs -J% ${OBJCOPY} % ${.TARGET}
+ #${AWK} -f ${SYSDIR}/conf/kmod_syms.awk ${.TARGET} \
+ # export_syms | xargs -J % ${OBJCOPY} % ${.TARGET}
+ ${OBJCOPY} `${AWK} -f ${SYSDIR}/conf/kmod_syms.awk ${.TARGET} export_syms` ${.TARGET}
.endif
.endif
.if !defined(DEBUG_FLAGS) && ${__KLD_SHARED} == no