Date: Wed, 4 Jan 2017 01:23:15 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r311220 - stable/11/sys/boot/i386/loader Message-ID: <201701040123.v041NFON005468@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Wed Jan 4 01:23:15 2017 New Revision: 311220 URL: https://svnweb.freebsd.org/changeset/base/311220 Log: MFC r310661: loader: use strip -o instead of cp and strip in place It is simpler and cleaner to have strip produce the stripped output directly than copying the input to the output first. Modified: stable/11/sys/boot/i386/loader/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/boot/i386/loader/Makefile ============================================================================== --- stable/11/sys/boot/i386/loader/Makefile Wed Jan 4 00:57:29 2017 (r311219) +++ stable/11/sys/boot/i386/loader/Makefile Wed Jan 4 01:23:15 2017 (r311220) @@ -102,8 +102,7 @@ ${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTX -b ${BTXKERN} ${LOADER}.bin ${LOADER}.bin: ${LOADER}.sym - cp ${.ALLSRC} ${.TARGET} - strip -R .comment -R .note ${.TARGET} + strip -R .comment -R .note -o ${.TARGET} ${.ALLSRC} loader.help: help.common help.i386 cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701040123.v041NFON005468>