From: Felix Fietkau Date: Mon, 6 Apr 2015 19:26:30 +0000 (+0000) Subject: ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped... X-Git-Tag: reboot~3456 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=df7bb89edd95b1a13f88b23d93449787bd15dc31;p=openwrt%2Fstaging%2Fxback.git ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400) Signed-off-by: Felix Fietkau SVN-Revision: 45281 --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 9459683afb..8766756871 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -57,8 +57,8 @@ define Build/mktplinkfw -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