Browse Source

ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 45281
Felix Fietkau 10 years ago
parent
commit
df7bb89edd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      target/linux/ar71xx/image/Makefile

+ 2 - 2
target/linux/ar71xx/image/Makefile

@@ -57,8 +57,8 @@ define Build/mktplinkfw
 		-r $@ \
 		-o [email protected] \
 		-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 [email protected] $@
 endef