Use ${TOOL_GZIP}
This commit is contained in:
parent
51bd91e1f7
commit
f9803142cf
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: mk.g42xxeb,v 1.2 2005/12/11 12:17:07 christos Exp $
|
# $NetBSD: mk.g42xxeb,v 1.3 2011/06/30 18:20:24 matt Exp $
|
||||||
|
|
||||||
SYSTEM_FIRST_OBJ= g42xxeb_start.o
|
SYSTEM_FIRST_OBJ= g42xxeb_start.o
|
||||||
SYSTEM_FIRST_SFILE= ${THISARM}/g42xxeb/g42xxeb_start.S
|
SYSTEM_FIRST_SFILE= ${THISARM}/g42xxeb/g42xxeb_start.S
|
||||||
|
@ -9,8 +9,8 @@ KERNEL_BASE_VIRT=0xc0200000
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
echo gzip \< $@.bin \> $@.bin.gz; \
|
echo ${TOOL_GZIP} \< $@.bin \> $@.bin.gz; \
|
||||||
gzip < $@.bin > $@.bin.gz
|
${TOOL_GZIP} < $@.bin > $@.bin.gz
|
||||||
|
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: mk.gumstix,v 1.3 2011/01/31 06:09:32 matt Exp $
|
# $NetBSD: mk.gumstix,v 1.4 2011/06/30 18:20:24 matt Exp $
|
||||||
|
|
||||||
SYSTEM_FIRST_OBJ= gumstix_start.o
|
SYSTEM_FIRST_OBJ= gumstix_start.o
|
||||||
SYSTEM_FIRST_SFILE= ${THISARM}/gumstix/gumstix_start.S
|
SYSTEM_FIRST_SFILE= ${THISARM}/gumstix/gumstix_start.S
|
||||||
|
@ -24,8 +24,8 @@ MKUBOOTIMAGEARGS_GZ= ${MKUBOOTIMAGEARGS} -C gz
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
echo gzip -c $@.bin > $@.bin.gz; \
|
echo ${TOOL_GZIP} -c $@.bin > $@.bin.gz; \
|
||||||
gzip -c $@.bin > $@.bin.gz; \
|
${TOOL_GZIP} -c $@.bin > $@.bin.gz; \
|
||||||
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
||||||
${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub
|
${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: mk.lubbock,v 1.1 2003/01/03 02:16:28 thorpej Exp $
|
# $NetBSD: mk.lubbock,v 1.2 2011/06/30 18:20:24 matt Exp $
|
||||||
|
|
||||||
SYSTEM_FIRST_OBJ= lubbock_start.o
|
SYSTEM_FIRST_OBJ= lubbock_start.o
|
||||||
SYSTEM_FIRST_SFILE= ${THISARM}/lubbock/lubbock_start.S
|
SYSTEM_FIRST_SFILE= ${THISARM}/lubbock/lubbock_start.S
|
||||||
|
@ -9,8 +9,8 @@ KERNEL_BASE_VIRT=0xc0200000
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
echo gzip \< $@.bin \> $@.bin.gz; \
|
echo ${TOOL_GZIP} \< $@.bin \> $@.bin.gz; \
|
||||||
gzip < $@.bin > $@.bin.gz
|
${TOOL_GZIP} < $@.bin > $@.bin.gz
|
||||||
|
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: mk.marvell,v 1.2 2011/01/31 06:09:32 matt Exp $
|
# $NetBSD: mk.marvell,v 1.3 2011/06/30 18:20:24 matt Exp $
|
||||||
|
|
||||||
SYSTEM_FIRST_OBJ= marvell_start.o
|
SYSTEM_FIRST_OBJ= marvell_start.o
|
||||||
SYSTEM_FIRST_SFILE= ${THISARM}/marvell/marvell_start.S
|
SYSTEM_FIRST_SFILE= ${THISARM}/marvell/marvell_start.S
|
||||||
|
@ -21,8 +21,8 @@ MKUBOOTIMAGEARGS_GZ= ${MKUBOOTIMAGEARGS} -C gz
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
echo gzip -c $@.bin > $@.bin.gz; \
|
echo ${TOOL_GZIP} -c $@.bin > $@.bin.gz; \
|
||||||
gzip -c $@.bin > $@.bin.gz; \
|
${TOOL_GZIP} -c $@.bin > $@.bin.gz; \
|
||||||
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
||||||
${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_GZ} $@.bin.gz $@.gz.ub; \
|
||||||
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \
|
echo ${TOOL_MKUBOOTIMAGE} ${MKUBOOTIMAGEARGS_NONE} $@.bin $@.ub; \
|
||||||
|
|
|
@ -9,8 +9,8 @@ KERNEL_LOAD_PHYS=0x20200000
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
echo gzip \< $@.bin \> $@.bin.gz; \
|
echo ${TOOL_GZIP} \< $@.bin \> $@.bin.gz; \
|
||||||
gzip < $@.bin > $@.bin.gz; \
|
${TOOL_GZIP} < $@.bin > $@.bin.gz; \
|
||||||
echo ${OBJCOPY} --input-target=binary --output-target=srec --change-addresses=$(KERNEL_LOAD_PHYS) -v $@.bin $@.bin.srec; \
|
echo ${OBJCOPY} --input-target=binary --output-target=srec --change-addresses=$(KERNEL_LOAD_PHYS) -v $@.bin $@.bin.srec; \
|
||||||
${OBJCOPY} --input-target=binary --output-target=srec --change-addresses=$(KERNEL_LOAD_PHYS) -v $@.bin $@.bin.srec; \
|
${OBJCOPY} --input-target=binary --output-target=srec --change-addresses=$(KERNEL_LOAD_PHYS) -v $@.bin $@.bin.srec; \
|
||||||
# echo "(perl /emb/bin/gen_tagff.perl --arch=arm --ver=4.0_BETA2 --infoprog=/emb/bin/modinfo "--hwid=MPCSA v1.x" --crc32 $@.bin.srec > $@.tff)"; \
|
# echo "(perl /emb/bin/gen_tagff.perl --arch=arm --ver=4.0_BETA2 --infoprog=/emb/bin/modinfo "--hwid=MPCSA v1.x" --crc32 $@.bin.srec > $@.tff)"; \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: mk.netwalker,v 1.1 2010/11/13 07:31:32 bsh Exp $
|
# $NetBSD: mk.netwalker,v 1.2 2011/06/30 18:20:24 matt Exp $
|
||||||
|
|
||||||
SYSTEM_FIRST_OBJ= netwalker_start.o
|
SYSTEM_FIRST_OBJ= netwalker_start.o
|
||||||
SYSTEM_FIRST_SFILE= ${THISARM}/netwalker/netwalker_start.S
|
SYSTEM_FIRST_SFILE= ${THISARM}/netwalker/netwalker_start.S
|
||||||
|
@ -9,6 +9,7 @@ KERNEL_BASE_VIRT=0xc0100000
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
gzip -9nc $@.bin > $@.bin.gz; \
|
echo ${TOOL_GZIP} -9nc $@.bin > $@.bin.gz; \
|
||||||
|
${TOOL_GZIP} -9nc $@.bin > $@.bin.gz; \
|
||||||
|
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: mk.viper,v 1.2 2005/12/11 12:17:07 christos Exp $
|
# $NetBSD: mk.viper,v 1.3 2011/06/30 18:20:24 matt Exp $
|
||||||
|
|
||||||
SYSTEM_FIRST_OBJ= viper_start.o
|
SYSTEM_FIRST_OBJ= viper_start.o
|
||||||
SYSTEM_FIRST_SFILE= ${THISARM}/viper/viper_start.S
|
SYSTEM_FIRST_SFILE= ${THISARM}/viper/viper_start.S
|
||||||
|
@ -9,8 +9,8 @@ KERNEL_BASE_VIRT=0xc0200000
|
||||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||||
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
echo ${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
${OBJCOPY} -S -O binary $@ $@.bin; \
|
${OBJCOPY} -S -O binary $@ $@.bin; \
|
||||||
echo gzip \< $@.bin \> $@.bin.gz; \
|
echo ${TOOL_GZIP} \< $@.bin \> $@.bin.gz; \
|
||||||
gzip < $@.bin > $@.bin.gz
|
${TOOL_GZIP} < $@.bin > $@.bin.gz
|
||||||
|
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin@}
|
||||||
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
EXTRA_KERNELS+= ${KERNELS:@.KERNEL.@${.KERNEL.}.bin.gz@}
|
||||||
|
|
Loading…
Reference in New Issue