summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-09-17 16:34:03 +0000
committerderaadt <deraadt@openbsd.org>2017-09-17 16:34:03 +0000
commitb2af30831b0937df36d09032e36a1e67412de560 (patch)
tree5ccf61c39c3d9f3c4bb8499fea25fb18934f9d04
parentSome further shrinking, but obviously not enough. Something unknown (diff)
downloadwireguard-openbsd-b2af30831b0937df36d09032e36a1e67412de560.tar.xz
wireguard-openbsd-b2af30831b0937df36d09032e36a1e67412de560.zip
use strip directly. The layers if macros are not actually helpful.
-rw-r--r--distrib/ramdisk/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/distrib/ramdisk/Makefile b/distrib/ramdisk/Makefile
index 154890a5758..7d2856b1625 100644
--- a/distrib/ramdisk/Makefile
+++ b/distrib/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.50 2017/08/12 19:41:16 jasper Exp $
+# $OpenBSD: Makefile,v 1.51 2017/09/17 16:34:03 deraadt Exp $
REV= ${OSrev}
@@ -25,8 +25,6 @@ RDSETROOT_EXT_SRC=${.CURDIR}/../common/elf32.c ${.CURDIR}/../common/elf64.c
CRUNCHGENOPTS?=-E
KERNEL?= RAMDISK
UTILS?= ${.CURDIR}/../miniroot
-STRIP?= strip
-STRIPOPTS?= -R .SUNW_ctf
LISTS= ${.CURDIR}/list ${ARCHDIR}/list.local
MTREE= ${UTILS}/mtree.conf
@@ -81,7 +79,7 @@ bsd:
bsd.rd: bsd ${IMAGE} rdsetroot
cp bsd bsd.rd
${.OBJDIR}/rdsetroot bsd.rd ${IMAGE}
- ${STRIP} ${STRIPOPTS} bsd.rd
+ strip -R .SUNW_ctf bsd.rd
bsd.gz: bsd.rd
${GZIPCMD} ${GZIPFLAGS} < bsd.rd > bsd.gz