svn commit: r311220 - stable/11/sys/boot/i386/loader

Ed Maste emaste at FreeBSD.org
Wed Jan 4 01:23:16 UTC 2017


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}


More information about the svn-src-all mailing list