Author: jogo Date: 2015-08-14 17:10:47 +0200 (Fri, 14 Aug 2015) New Revision: 46601
Modified: trunk/include/image.mk trunk/target/linux/brcm63xx/image/Makefile Log: brcm63xx: move gzip build command to include/image.mk Allow other targets to make use of it. Signed-off-by: Jonas Gorski <[email protected]> Modified: trunk/include/image.mk =================================================================== --- trunk/include/image.mk 2015-08-14 15:10:42 UTC (rev 46600) +++ trunk/include/image.mk 2015-08-14 15:10:47 UTC (rev 46601) @@ -323,6 +323,11 @@ @mv [email protected] $@ endef +define Build/gzip + gzip -9n -c $@ $(1) > [email protected] + @mv [email protected] $@ +endef + define Build/kernel-bin rm -f $@ cp $^ $@ Modified: trunk/target/linux/brcm63xx/image/Makefile =================================================================== --- trunk/target/linux/brcm63xx/image/Makefile 2015-08-14 15:10:42 UTC (rev 46600) +++ trunk/target/linux/brcm63xx/image/Makefile 2015-08-14 15:10:47 UTC (rev 46601) @@ -38,11 +38,6 @@ cat [email protected] >> $@ endef -define Build/gzip - gzip -9 -c $@ > [email protected] - mv [email protected] $@ -endef - define Build/hcs-initramfs $(STAGING_DIR_HOST)/bin/hcsmakeimage --magic_bytes=$(HCS_MAGIC_BYTES) \ --rev_maj=$(HCS_REV_MAJ) --rev_min=$(HCS_REV_MIN) --input_file=$@ \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
