aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-15 14:11:15 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-15 14:11:26 +0200
commitce009d16a16b04c8d728490a759bb7303cd6d0bd (patch)
tree3bc2b563a4fa81d3497df20dfa0001972e59bca4 /target/linux/ramips/image
parent0b45bec22c59cc6e6b2fa71dc9a88386c5587132 (diff)
downloadupstream-ce009d16a16b04c8d728490a759bb7303cd6d0bd.tar.gz
upstream-ce009d16a16b04c8d728490a759bb7303cd6d0bd.tar.bz2
upstream-ce009d16a16b04c8d728490a759bb7303cd6d0bd.zip
ramips: fix Archer C20i image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt7620.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 4acc6b3d8b..2a344247f1 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -3,7 +3,7 @@
#
define Build/tplink-header
- $(STAGING_DIR_HOST)/bin/mktplinkfw2 -V "ver. 2.0" -B $(1) \
+ $(STAGING_DIR_HOST)/bin/mktplinkfw2 -a 0x4 -V "ver. 2.0" -B $(1) \
-o $@.new -k $@ && mv $@.new $@
endef
@@ -46,7 +46,6 @@ endef
define Device/ArcherC20i
DTS := ArcherC20i
- IMAGES += factory.bin
KERNEL := $(KERNEL_DTB)
KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC20i -c
IMAGE/sysupgrade.bin := $(KERNEL_DTB) | tplink-header ArcherC20i -j -r $(KDIR)/root.squashfs