mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
ar71xx: reduce the size of the squashfs-4k binaries
SVN-Revision: 27047
This commit is contained in:
parent
a456082ccd
commit
ea2f6d0edf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user