summaryrefslogtreecommitdiff
path: root/distrib/sparc64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-28 16:26:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-28 16:26:08 +0000
commit7654fe8c61a6849cd04f4315c6763f0acce7548a (patch)
treeb4a125babc721236219c656165b46e1bb2826b91 /distrib/sparc64
parent1c0a19872cea3d4e2d7bc04ad91c55ff32eb04cc (diff)
incorporate GZIPFLAGS into place everywhere
Diffstat (limited to 'distrib/sparc64')
-rw-r--r--distrib/sparc64/bsd.rd/Makefile5
-rw-r--r--distrib/sparc64/ramdisk/Makefile6
-rw-r--r--distrib/sparc64/ramdiskB/Makefile6
3 files changed, 6 insertions, 11 deletions
diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile
index 660432ce948..9883e7ae4dc 100644
--- a/distrib/sparc64/bsd.rd/Makefile
+++ b/distrib/sparc64/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.39 2019/04/28 15:21:50 deraadt Exp $
+# $OpenBSD: Makefile,v 1.40 2019/04/28 16:26:07 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -8,7 +8,6 @@ LISTS?= ${.CURDIR}/list
UTILS?= ${TOP}/../miniroot
STRIPOPTS?= -R .SUNW_ctf
-GZIPFLAGS?= -9fn
MTREE= ${UTILS}/mtree.conf
all: bsd.rd
@@ -19,7 +18,7 @@ MAKEFSARGS_RD= -o disklabel=${DISKTYPE},minfree=0,density=4096
bsd.rd: bsd.rd_unz
objcopy -Sg -R .comment bsd.rd_unz bsd.strip
strip ${STRIPOPTS} bsd.strip
- gzip -c ${GZIPFLAGS} bsd.strip > bsd.rd
+ gzip -c -9nv bsd.strip > bsd.rd
bsd.rd_unz: bsd ${IMAGE}
cp bsd bsd.rd_unz
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile
index ca11ca0efae..36d8f372d2e 100644
--- a/distrib/sparc64/ramdisk/Makefile
+++ b/distrib/sparc64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.41 2019/04/28 15:21:50 deraadt Exp $
+# $OpenBSD: Makefile,v 1.42 2019/04/28 16:26:07 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -14,8 +14,6 @@ FLOPPY= floppy${REV}.fs
FLOPPYSIZE?= 2880
FLOPPYTYPE?= floppy
-GZIPFLAGS?= -9nv
-
DISKTYPE= rdroot
MAKEFSARGS_RD= -o disklabel=${DISKTYPE},minfree=0,density=4096
@@ -29,7 +27,7 @@ all ${IMAGE}:
all: ${FLOPPY} bsd.rd
bsd.gz: bsd.rd
- gzip ${GZIPFLAGS} < bsd.rd > bsd.gz
+ gzip -9nv < bsd.rd > bsd.gz
${FLOPPY}: bsd.gz ${BOOT} /usr/
dd if=/dev/zero of=${FLOPPY} count=${FLOPPYSIZE}
diff --git a/distrib/sparc64/ramdiskB/Makefile b/distrib/sparc64/ramdiskB/Makefile
index c31056d51bb..299c58ec282 100644
--- a/distrib/sparc64/ramdiskB/Makefile
+++ b/distrib/sparc64/ramdiskB/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2019/04/28 15:21:50 deraadt Exp $
+# $OpenBSD: Makefile,v 1.36 2019/04/28 16:26:07 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -14,8 +14,6 @@ FLOPPY= floppyB${REV}.fs
FLOPPYSIZE?= 2880
FLOPPYTYPE?= floppy
-GZIPFLAGS?= -9nv
-
DISKTYPE= rdroot
MAKEFSARGS_RD= -o disklabel=${DISKTYPE},minfree=0,density=8192
@@ -29,7 +27,7 @@ all ${IMAGE}:
all: ${FLOPPY} bsd.rd
bsd.gz: bsd.rd
- gzip ${GZIPFLAGS} < bsd.rd > bsd.gz
+ gzip -9nv < bsd.rd > bsd.gz
${FLOPPY}: bsd.gz ${BOOT} /usr/
dd if=/dev/zero of=${FLOPPY} count=${FLOPPYSIZE}