"strip -R section" command run "strip" (without option) as well.
there is no need to call both.
(binaries checked with sha1)
original diff from danj@
ok deraadt@
-# $OpenBSD: Makefile,v 1.40 2021/01/05 15:10:42 deraadt Exp $
+# $OpenBSD: Makefile,v 1.41 2021/02/13 18:44:17 semarie Exp $
FS= install${OSrev}.img
FSSIZE= 1359872
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
cp ${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot
- strip ${MOUNT_POINT}/boot
strip -R .comment -R .SUNW_ctf ${MOUNT_POINT}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${MOUNT_POINT}/boot
-# $OpenBSD: Makefile,v 1.10 2020/05/18 06:20:43 otto Exp $
+# $OpenBSD: Makefile,v 1.11 2021/02/13 18:44:17 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
cp ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
- strip ${.OBJDIR}/boot
strip -R .comment -R .SUNW_ctf ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
bsd.gz: bsd.rd
cp bsd.rd bsd.strip
- strip bsd.strip
strip -R .comment -R .SUNW_ctf bsd.strip
gzip -9cn bsd.strip > bsd.gz
-# $OpenBSD: Makefile,v 1.24 2021/01/05 15:10:42 deraadt Exp $
+# $OpenBSD: Makefile,v 1.25 2021/02/13 18:44:18 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 9920
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
cp ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
- strip ${.OBJDIR}/boot
strip -R .comment -R .SUNW_ctf ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
bsd.gz: bsd.rd
cp bsd.rd bsd.strip
- strip bsd.strip
strip -R .comment -R .SUNW_ctf bsd.strip
gzip -9cn bsd.strip > bsd.gz
-# $OpenBSD: Makefile,v 1.9 2020/05/18 06:20:43 otto Exp $
+# $OpenBSD: Makefile,v 1.10 2021/02/13 18:44:18 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
cp ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
- strip ${.OBJDIR}/boot
strip -R .comment -R .SUNW_ctf ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
bsd.gz: bsd.rd
cp bsd.rd bsd.strip
- strip bsd.strip
strip -R .comment -R .SUNW_ctf bsd.strip
gzip -9cn bsd.strip > bsd.gz
-# $OpenBSD: Makefile,v 1.18 2021/01/05 15:10:43 deraadt Exp $
+# $OpenBSD: Makefile,v 1.19 2021/02/13 18:44:18 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 8064
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
cp ${DESTDIR}/usr/mdec/boot ${.OBJDIR}/boot
- strip ${.OBJDIR}/boot
strip -R .comment -R .SUNW_ctf ${.OBJDIR}/boot
installboot -v -r ${MOUNT_POINT} `cat vnd` \
${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
bsd.gz: bsd.rd
cp bsd.rd bsd.strip
- strip bsd.strip
strip -R .comment -R .SUNW_ctf bsd.strip
gzip -9cn bsd.strip > bsd.gz
-# $OpenBSD: Makefile,v 1.27 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.28 2021/02/13 18:44:18 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 18432
bsd.strip: bsd.rd
cp bsd.rd bsd.strip
- strip bsd.strip
strip -R .comment -R .SUNW_ctf bsd.strip
bsd.rd: mr.fs bsd