Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
details: https://anonhg.NetBSD.org/src/rev/27753e534069
branches: trunk
changeset: 331206:27753e534069
user: apb <apb%NetBSD.org@localhost>
date: Tue Aug 05 15:40:58 2014 +0000
description:
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is
actually pigz.
diffstat:
distrib/alpha/floppy-GENERIC/Makefile | 4 ++--
distrib/alpha/rz25dist/Makefile | 10 +++++-----
distrib/cobalt/Makefile | 4 ++--
distrib/common/Makefile.image | 4 ++--
distrib/common/Makefile.mdset | 8 ++++----
distrib/common/Makefile.minirootkmod | 4 ++--
distrib/common/Makefile.tarfloppy | 4 ++--
distrib/common/bootimage/Makefile.bootimage | 4 ++--
distrib/evbarm/gzboot/gzimg/Makefile | 6 +++---
distrib/ews4800mips/floppies/instkernel/Makefile | 4 ++--
distrib/prep/floppies/kernel-generic/Makefile | 4 ++--
distrib/rs6000/bootfs/Makefile | 6 +++---
distrib/sparc64/xminiroot/Makefile | 4 ++--
distrib/x68k/floppies/bootfloppy.generic/Makefile | 4 ++--
etc/Makefile | 6 +++---
external/mit/xorg/share/fonts/Makefile.bdf | 4 ++--
external/mit/xorg/share/fonts/encodings/Makefile.enc | 4 ++--
share/mk/bsd.man.mk | 4 ++--
sys/arch/cobalt/stand/boot/Makefile | 4 ++--
sys/arch/evbmips/conf/Makefile.evbmips.inc | 4 ++--
sys/arch/evbppc/conf/Makefile.obs405.inc | 6 +++---
sys/arch/ews4800mips/stand/boot/Makefile | 4 ++--
sys/arch/powerpc/conf/Makefile.powerpc | 6 +++---
x11/share/fonts/bdf/Makefile.bdf | 4 ++--
x11/share/fonts/encodings/Makefile.enc | 4 ++--
25 files changed, 60 insertions(+), 60 deletions(-)
diffs (truncated from 497 to 300 lines):
diff -r 891a75da9b04 -r 27753e534069 distrib/alpha/floppy-GENERIC/Makefile
--- a/distrib/alpha/floppy-GENERIC/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/alpha/floppy-GENERIC/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.22 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -42,7 +42,7 @@
@rm -f ${.TARGET} ${.TARGET}.tmp
cp ${.ALLSRC} ${.TARGET}.tmp
${STRIP} ${.TARGET}.tmp
- ${TOOL_GZIP} -9nf ${.TARGET}.tmp
+ ${TOOL_GZIP_N} -9f ${.TARGET}.tmp
mv ${.TARGET}.tmp.gz ${.TARGET}
CLEANFILES+= netbsd netbsd.tmp netbsd.tmp.gz
diff -r 891a75da9b04 -r 27753e534069 distrib/alpha/rz25dist/Makefile
--- a/distrib/alpha/rz25dist/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/alpha/rz25dist/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.31 2014/08/05 15:40:58 apb Exp $
.include "../../../Makefile.inc"
@@ -77,21 +77,21 @@
umount ${DESTDIR}/usr ${DESTDIR}
/bin/rm -f $@
dd if=/dev/r${DESTDISK}c bs=`expr ${SECPERCYL} \* 512` \
- count=${CYLS} | ${TOOL_GZIP} -9n > $@
+ count=${CYLS} | ${TOOL_GZIP_N} -9 > $@
bin.tar.gz: mount-fs build-fs
/bin/rm -f $@
(cd ${DESTDIR} ; find . | grep -v '^./etc' | \
grep -v '^./usr/X11R6' | grep -v '^./netbsd' | \
- grep -v '^./boot' | pax -w -d | ${TOOL_GZIP} -9n) > $@
+ grep -v '^./boot' | pax -w -d | ${TOOL_GZIP_N} -9) > $@
etc.tar.gz: mount-fs build-fs
/bin/rm -f $@
- (cd ${DESTDIR} ; find ./etc | pax -w -d | ${TOOL_GZIP} -9n) > $@
+ (cd ${DESTDIR} ; find ./etc | pax -w -d | ${TOOL_GZIP_N} -9) > $@
x11.tar.gz: mount-fs build-fs
/bin/rm -f $@
- (cd ${DESTDIR} ; find ./usr/X11R6 | pax -w -d | ${TOOL_GZIP} -9n) > $@
+ (cd ${DESTDIR} ; find ./usr/X11R6 | pax -w -d | ${TOOL_GZIP_N} -9) > $@
.endif
diff -r 891a75da9b04 -r 27753e534069 distrib/cobalt/Makefile
--- a/distrib/cobalt/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/cobalt/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.5 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -9,7 +9,7 @@
TARGETS+= release
release: check_RELEASEDIR .WAIT ${BOOT}
- ${TOOL_GZIP} -9nc ${BOOT} \
+ ${TOOL_GZIP_N} -9c ${BOOT} \
> ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/boot.gz
iso_image:
diff -r 891a75da9b04 -r 27753e534069 distrib/common/Makefile.image
--- a/distrib/common/Makefile.image Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/common/Makefile.image Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.image,v 1.33 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile.image,v 1.34 2014/08/05 15:40:58 apb Exp $
#
# Makefile snippet to build a tree from the provided lists,
# and make an ffs file system image from that tree
@@ -103,7 +103,7 @@
${IMAGE}.gz: ${IMAGE}
${_MKTARGET_CREATE}
-rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
realall: ${IMAGE}
diff -r 891a75da9b04 -r 27753e534069 distrib/common/Makefile.mdset
--- a/distrib/common/Makefile.mdset Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/common/Makefile.mdset Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mdset,v 1.39 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile.mdset,v 1.40 2014/08/05 15:40:58 apb Exp $
#
# Makefile snippet to ${TOOL_MDSETIMAGE} file system images into kernels
#
@@ -110,7 +110,7 @@
${_KERNEL.${_K}.${_F}}.${_S}.gz: ${_KERNEL.${_K}.${_F}}.${_S}
${_MKTARGET_CREATE}
-rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
.endif # }
.endfor # }
@@ -150,7 +150,7 @@
${TOOL_MDSETIMAGE} ${MDSETIMAGEFLAGS} ${.TARGET}.tmp ${_I}
.endif
.if !defined(MDSET_NOSYMBOLS.${_FILENAME}) && !defined(MDSET_NOSYMBOLS)
- ${NM} ${.TARGET}.tmp | ${TOOL_GZIP} -9n > ${.TARGET}.symbols.gz
+ ${NM} ${.TARGET}.tmp | ${TOOL_GZIP_N} -9 > ${.TARGET}.symbols.gz
.endif
.if !defined(MDSET_NOSTRIP.${_FILENAME}) && !defined(MDSET_NOSTRIP)
${STRIP} -R .eh_frame -R .eh_frame_hdr -R .comment -R .ident ${.TARGET}.tmp
@@ -168,7 +168,7 @@
${_KERNEL.${_K}.${_F}}.gz: ${_KERNEL.${_K}.${_F}}
${_MKTARGET_CREATE}
-rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
.endif # }
.endif
diff -r 891a75da9b04 -r 27753e534069 distrib/common/Makefile.minirootkmod
--- a/distrib/common/Makefile.minirootkmod Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/common/Makefile.minirootkmod Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.minirootkmod,v 1.2 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile.minirootkmod,v 1.3 2014/08/05 15:40:58 apb Exp $
#
# Makefile snippet to build a miniroot kernel module (e.g. miniroot.kmod)
#
@@ -46,7 +46,7 @@
${OBJCOPY} --add-section miniroot=${RAMDISKFS} \
--set-section-flags miniroot=alloc,contents,load,data \
${SRCMOD} ${DSTMOD}.tmp
- ${TOOL_GZIP} -9nc < ${DSTMOD}.tmp > ${DSTMOD}
+ ${TOOL_GZIP_N} -9c < ${DSTMOD}.tmp > ${DSTMOD}
rm -f ${DSTMOD}.tmp
.include <bsd.prog.mk>
diff -r 891a75da9b04 -r 27753e534069 distrib/common/Makefile.tarfloppy
--- a/distrib/common/Makefile.tarfloppy Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/common/Makefile.tarfloppy Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.tarfloppy,v 1.17 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile.tarfloppy,v 1.18 2014/08/05 15:40:58 apb Exp $
#
# Makefile snippet to create a set of ustar floppies.
# Each floppy has an 8KB header, followed by part or all of the ustar archive.
@@ -54,7 +54,7 @@
CLEANFILES+= netbsd netbsd.tmp
.if ${FLOPPY_NETBSD:E}=="gz"
COPY_CMD= gunzip -c ${.ALLSRC} > ${.TARGET}.tmp
-COMPRESS_CMD= ${TOOL_GZIP} -9nc ${.TARGET}.tmp > ${.TARGET}; \
+COMPRESS_CMD= ${TOOL_GZIP_N} -9c ${.TARGET}.tmp > ${.TARGET}; \
rm -f ${.TARGET}.tmp
.else
COPY_CMD= cp ${.ALLSRC} ${.TARGET}.tmp
diff -r 891a75da9b04 -r 27753e534069 distrib/common/bootimage/Makefile.bootimage
--- a/distrib/common/bootimage/Makefile.bootimage Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/common/bootimage/Makefile.bootimage Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootimage,v 1.8 2014/01/27 21:37:17 apb Exp $
+# $NetBSD: Makefile.bootimage,v 1.9 2014/08/05 15:40:58 apb Exp $
#
# Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved.
#
@@ -390,7 +390,7 @@
CLEANFILES+= ${IMGBASE}.img.gz ${IMGBASE}.img.gz.tmp
${IMGBASE}.img.gz: ${IMGBASE}.img
- ${TOOL_GZIP} -9nc ${IMGBASE}.img > ${.TARGET}.tmp
+ ${TOOL_GZIP_N} -9c ${IMGBASE}.img > ${.TARGET}.tmp
mv ${.TARGET}.tmp ${.TARGET}
clean:
diff -r 891a75da9b04 -r 27753e534069 distrib/evbarm/gzboot/gzimg/Makefile
--- a/distrib/evbarm/gzboot/gzimg/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/evbarm/gzboot/gzimg/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2014/03/01 01:52:13 matt Exp $
+# $NetBSD: Makefile,v 1.27 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -76,12 +76,12 @@
gzimg_${I}_flash_${R}: .NOTMAIN ${GZB${G}} ${KERNOBJDIR}/${K}/${W}.bin
@echo "Populating ${.TARGET}"
-rm -f ${.TARGET}.kern.gz
- ${TOOL_GZIP} -9nc ${KERNOBJDIR}/${K}/${W}.bin > ${.TARGET}.kern.gz
+ ${TOOL_GZIP_N} -9c ${KERNOBJDIR}/${K}/${W}.bin > ${.TARGET}.kern.gz
${TOOL_CAT} ${GZB${G}} ${.TARGET}.kern.gz > ${.TARGET}
gzimg_${I}_flash_${R}.gz: .NOTMAIN gzimg_${I}_flash_${R}
-rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
CLEANFILES+= gzimg_${I}_flash_${R}.kern gzimg_${I}_flash_${R}.kern.gz \
gzimg_${I}_flash_${R}
diff -r 891a75da9b04 -r 27753e534069 distrib/ews4800mips/floppies/instkernel/Makefile
--- a/distrib/ews4800mips/floppies/instkernel/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/ews4800mips/floppies/instkernel/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.6 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -20,7 +20,7 @@
gunzip -c ${DESTDIR}/usr/mdec/boot_kernel.gz > ${BOOT_RAMDISK}.tmp
${TOOL_MDSETIMAGE} ${BOOT_RAMDISK}.tmp netbsd-RAMDISK.gz
${ELF2ECOFF} ${BOOT_RAMDISK}.tmp ${BOOT_RAMDISK}.coff
- ${TOOL_GZIP} -9nc ${BOOT_RAMDISK}.coff > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${BOOT_RAMDISK}.coff > ${.TARGET}
CLEANFILES+= ${BOOT_RAMDISK}.tmp ${BOOT_RAMDISK}.coff ${BOOT_RAMDISK}.gz
diff -r 891a75da9b04 -r 27753e534069 distrib/prep/floppies/kernel-generic/Makefile
--- a/distrib/prep/floppies/kernel-generic/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/prep/floppies/kernel-generic/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.11 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -12,7 +12,7 @@
${KERNEL}: ${KERN}
-rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
realall: ${KERNEL}
diff -r 891a75da9b04 -r 27753e534069 distrib/rs6000/bootfs/Makefile
--- a/distrib/rs6000/bootfs/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/rs6000/bootfs/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.3 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -16,10 +16,10 @@
BOOT_RELEASEDIR= installation/bootfs
${IMAGE}.gz: ${KERNEL} ${BOOTLOADER}
- ${TOOL_GZIP} -cd ${KERNEL} > ${TMPKERNEL}
+ ${TOOL_GZIP_N} -cd ${KERNEL} > ${TMPKERNEL}
${TOOL_POWERPCMKBOOTIMAGE} -m ${MACHINE} \
-b ${BOOTLOADER} -k ${TMPKERNEL} ${IMAGE}
- ${TOOL_GZIP} -9nc ${IMAGE} > ${IMAGE}.tmp
+ ${TOOL_GZIP_N} -9c ${IMAGE} > ${IMAGE}.tmp
mv ${IMAGE}.tmp ${.TARGET}
CLEANFILES+= ${IMAGE} ${IMAGE}.tmp ${IMAGE}.gz
diff -r 891a75da9b04 -r 27753e534069 distrib/sparc64/xminiroot/Makefile
--- a/distrib/sparc64/xminiroot/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/sparc64/xminiroot/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/05/27 19:04:29 palle Exp $
+# $NetBSD: Makefile,v 1.32 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -32,7 +32,7 @@
netbsd.gz: ${KERNOBJDIR}/GENERIC/netbsd
-rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
clean: localclean
diff -r 891a75da9b04 -r 27753e534069 distrib/x68k/floppies/bootfloppy.generic/Makefile
--- a/distrib/x68k/floppies/bootfloppy.generic/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/distrib/x68k/floppies/bootfloppy.generic/Makefile Tue Aug 05 15:40:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/01/27 08:18:07 apb Exp $
+# $NetBSD: Makefile,v 1.9 2014/08/05 15:40:58 apb Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -28,7 +28,7 @@
netbsd.gz: ${KERNOBJDIR}/GENERIC/netbsd
@rm -f ${.TARGET}
- ${TOOL_GZIP} -9nc ${.ALLSRC} > ${.TARGET}
+ ${TOOL_GZIP_N} -9c ${.ALLSRC} > ${.TARGET}
.include "${DISTRIBDIR}/common/Makefile.tarfloppy"
diff -r 891a75da9b04 -r 27753e534069 etc/Makefile
--- a/etc/Makefile Tue Aug 05 15:25:20 2014 +0000
+++ b/etc/Makefile Tue Aug 05 15:40:58 2014 +0000
Home |
Main Index |
Thread Index |
Old Index