summaryrefslogtreecommitdiff
path: root/target
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
parent113dd45092400606563b38530ce737f6877ee80e (diff)
downloadmtk-20170518-515d012e6daf4f1b3513688b942516211dfd6178.zip
mtk-20170518-515d012e6daf4f1b3513688b942516211dfd6178.tar.gz
mtk-20170518-515d012e6daf4f1b3513688b942516211dfd6178.tar.bz2
arc770: gzip rootfs image to save some space
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target')
-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 0f3de24..f52f840 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))