aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/arc770/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-13 16:22:13 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-13 16:59:28 +0100
commit515d012e6daf4f1b3513688b942516211dfd6178 (patch)
treefb6d081d0ee6648c1495b78b1a7938688dd79663 /target/linux/arc770/image/Makefile
parent113dd45092400606563b38530ce737f6877ee80e (diff)
downloadupstream-515d012e6daf4f1b3513688b942516211dfd6178.tar.gz
upstream-515d012e6daf4f1b3513688b942516211dfd6178.tar.bz2
upstream-515d012e6daf4f1b3513688b942516211dfd6178.zip
arc770: gzip rootfs image to save some space
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/arc770/image/Makefile')
-rw-r--r--target/linux/arc770/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/arc770/image/Makefile b/target/linux/arc770/image/Makefile
index 0f3de24ebc..f52f84017d 100644
--- a/target/linux/arc770/image/Makefile
+++ b/target/linux/arc770/image/Makefile
@@ -81,6 +81,7 @@ define Image/Build
$(call Image/Build/$(1),$(1))
$(call Image/Build/SDCard,$(1))
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
+ $(call Image/Gzip,$(BIN_DIR)/$(IMG_PREFIX)-root.$(1))
endef
$(eval $(call BuildImage))