summaryrefslogtreecommitdiff
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
parent0b45bec22c59cc6e6b2fa71dc9a88386c5587132 (diff)
downloadmtk-20170518-ce009d16a16b04c8d728490a759bb7303cd6d0bd.zip
mtk-20170518-ce009d16a16b04c8d728490a759bb7303cd6d0bd.tar.gz
mtk-20170518-ce009d16a16b04c8d728490a759bb7303cd6d0bd.tar.bz2
ramips: fix Archer C20i image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-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 4acc6b3..2a34424 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