From f3fe638bd50385197214354448f41075b899bde7 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 14 Aug 2015 15:10:47 +0000 Subject: brcm63xx: move gzip build command to include/image.mk Allow other targets to make use of it. Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46601 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/image.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/image.mk') diff --git a/include/image.mk b/include/image.mk index 56c60d6087..73fc805bb5 100644 --- a/include/image.mk +++ b/include/image.mk @@ -323,6 +323,11 @@ define Build/lzma @mv $@.new $@ endef +define Build/gzip + gzip -9n -c $@ $(1) > $@.new + @mv $@.new $@ +endef + define Build/kernel-bin rm -f $@ cp $^ $@ -- cgit v1.2.3