aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/image/mikrotik.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq40xx/image/mikrotik.mk')
-rw-r--r--target/linux/ipq40xx/image/mikrotik.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/image/mikrotik.mk b/target/linux/ipq40xx/image/mikrotik.mk
index e69de29bb2..9509ef8577 100644
--- a/target/linux/ipq40xx/image/mikrotik.mk
+++ b/target/linux/ipq40xx/image/mikrotik.mk
@@ -0,0 +1,20 @@
+define Device/mikrotik_nor
+ DEVICE_VENDOR := MikroTik
+ BLOCKSIZE := 64k
+ IMAGE_SIZE := 16128k
+ KERNEL_NAME := vmlinux
+ KERNEL := kernel-bin | append-dtb-elf
+ IMAGES = sysupgrade.bin
+ IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 | \
+ pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
+ append-metadata | check-size
+endef
+
+define Device/mikrotik_hap-ac2
+ $(call Device/mikrotik_nor)
+ DEVICE_MODEL := hAP ac2
+ SOC := qcom-ipq4018
+ DEVICE_PACKAGES := ipq-wifi-mikrotik_hap-ac2 -kmod-ath10k-ct \
+ kmod-ath10k-ct-smallbuffers
+endef
+TARGET_DEVICES += mikrotik_hap-ac2