summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-05-31 22:53:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-05-31 22:53:18 +0000
commitea2f6d0edf31f2870705282ff9b447777ca45e3f (patch)
treed577072b51236dd31136b6b211d28a4a2a1e7062
parenta456082ccd0624feeafdfc24c1dd0ff8b95b5b2d (diff)
downloadmtk-20170518-ea2f6d0edf31f2870705282ff9b447777ca45e3f.zip
mtk-20170518-ea2f6d0edf31f2870705282ff9b447777ca45e3f.tar.gz
mtk-20170518-ea2f6d0edf31f2870705282ff9b447777ca45e3f.tar.bz2
ar71xx: reduce the size of the squashfs-4k binaries
SVN-Revision: 27047
-rw-r--r--target/linux/ar71xx/image/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 3623a62..7ff7589 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -808,12 +808,11 @@ define Image/Build/Profile/Madwifi
endef
define Image/Build/squashfs
- $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
dd if=$(KDIR)/root.squashfs of=$(KDIR)/root.squashfs-4k.tmp0 bs=4k conv=sync
$(call add_jffs2_mark,$(KDIR)/root.squashfs-4k.tmp0)
dd if=$(KDIR)/root.squashfs-4k.tmp0 of=$(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-4k bs=4k conv=sync
- $(call add_jffs2_mark,$(BIN_DIR)/$(IMG_PREFIX)-root.squashfs-4k)
rm -f $(KDIR)/root.squashfs-4k.tmp0
+ $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
endef
define Image/Build/Initramfs