ramips/image: Add Archer C50 to mt7620 Makefile
authorHenryk Heisig <hyniu@o2.pl>
Fri, 24 Jun 2016 11:09:21 +0000 (13:09 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Fri, 24 Jun 2016 11:09:21 +0000 (13:09 +0200)
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
target/linux/ramips/image/mt7620.mk

index 935f755923107466d5b77cd43d3534de1971b558..33f94a48e9245e84f0a18b40eff79d3485703ff6 100644 (file)
@@ -50,6 +50,15 @@ define Device/ArcherC20i
 endef
 TARGET_DEVICES += ArcherC20i
 
+define Device/ArcherC50
+  DTS := ArcherC50
+  KERNEL := $(KERNEL_DTB)
+  KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC50 -c
+  IMAGE/sysupgrade.bin := append-kernel | tplink-header ArcherC50 -j -r $(KDIR)/root.squashfs
+  DEVICE_TITLE := TP-Link ArcherC50
+endef
+TARGET_DEVICES += ArcherC50
+
 ex2700_mtd_size=3866624
 define Device/ex2700
   DTS := EX2700