aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
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 /target/linux/ar71xx
parenta456082ccd0624feeafdfc24c1dd0ff8b95b5b2d (diff)
downloadupstream-ea2f6d0edf31f2870705282ff9b447777ca45e3f.tar.gz
upstream-ea2f6d0edf31f2870705282ff9b447777ca45e3f.tar.bz2
upstream-ea2f6d0edf31f2870705282ff9b447777ca45e3f.zip
ar71xx: reduce the size of the squashfs-4k binaries
SVN-Revision: 27047
Diffstat (limited to 'target/linux/ar71xx')
-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 3623a6268c..7ff7589d84 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