-r $@ \
-o $@.new \
-a $(call rootfs_align,$(FILESYSTEM)) \
- $(if $(findstring sysupgrade,$1),-j -X 0x40000) \
- $(if $(findstring factory,$1),-j -X 0x40000 -s) \
+ $(if $(findstring sysupgrade,$1),-j -X 0x40000 -s) \
+ $(if $(findstring factory,$1),-j -X 0x40000) \
$(if $(findstring initramfs,$1),-s -c)
@mv $@.new $@
endef
define Device/tplink-8mlzma
$(Device/tplink)
TPLINK_FLASHLAYOUT := 8Mlzma
- IMAGE_SIZE := 8000k
+ IMAGE_SIZE := 7936k
+endef
+
+define Device/tplink-16mlzma
+$(Device/tplink)
+ TPLINK_FLASHLAYOUT := 16Mlzma
+ IMAGE_SIZE := 15872k
endef
define Device/tl-wdr4300-v1