summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-06 19:26:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-06 19:26:30 +0000
commitdf7bb89edd95b1a13f88b23d93449787bd15dc31 (patch)
tree19c5698e3f25340867c0956545a832a9777f01e4 /target/linux
parent22b1f47555c17eb324d1e1ac277f49f857c03173 (diff)
downloadmaster-31e0f0ae-df7bb89edd95b1a13f88b23d93449787bd15dc31.tar.gz
master-31e0f0ae-df7bb89edd95b1a13f88b23d93449787bd15dc31.tar.bz2
master-31e0f0ae-df7bb89edd95b1a13f88b23d93449787bd15dc31.zip
ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45281
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile4
1 files changed, 2 insertions, 2 deletions
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