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. MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
bc54857ed0
commit
62652acf3a
@ -99,8 +99,7 @@ ${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTXKERN}
|
|||||||
-b ${BTXKERN} ${LOADER}.bin
|
-b ${BTXKERN} ${LOADER}.bin
|
||||||
|
|
||||||
${LOADER}.bin: ${LOADER}.sym
|
${LOADER}.bin: ${LOADER}.sym
|
||||||
cp ${.ALLSRC} ${.TARGET}
|
strip -R .comment -R .note -o ${.TARGET} ${.ALLSRC}
|
||||||
strip -R .comment -R .note ${.TARGET}
|
|
||||||
|
|
||||||
loader.help: help.common help.i386
|
loader.help: help.common help.i386
|
||||||
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
|
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user