diff options
Diffstat (limited to 'target/linux/ipq40xx/image/mikrotik.mk')
-rw-r--r-- | target/linux/ipq40xx/image/mikrotik.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/image/mikrotik.mk b/target/linux/ipq40xx/image/mikrotik.mk index 31497608be..bfff58597f 100644 --- a/target/linux/ipq40xx/image/mikrotik.mk +++ b/target/linux/ipq40xx/image/mikrotik.mk @@ -10,6 +10,16 @@ define Device/mikrotik_nor check-size | append-metadata endef +define Device/mikrotik_nand + DEVICE_VENDOR := MikroTik + KERNEL_NAME := vmlinux + KERNEL_INITRAMFS := kernel-bin | append-dtb-elf + KERNEL := kernel-bin | append-dtb-elf | package-kernel-ubifs | \ + ubinize-kernel + IMAGES := nand-sysupgrade.bin + IMAGE/nand-sysupgrade.bin := sysupgrade-tar | append-metadata +endef + define Device/mikrotik_hap-ac2 $(call Device/mikrotik_nor) DEVICE_MODEL := hAP ac2 @@ -19,6 +29,17 @@ define Device/mikrotik_hap-ac2 endef TARGET_DEVICES += mikrotik_hap-ac2 +define Device/mikrotik_hap-ac3 + $(call Device/mikrotik_nand) + DEVICE_MODEL := hAP ac3 + SOC := qcom-ipq4019 + BLOCKSIZE := 128k + PAGESIZE := 2048 + KERNEL_UBIFS_OPTS = -m $$(PAGESIZE) -e 124KiB -c $$(PAGESIZE) -x none + DEVICE_PACKAGES := kmod-ledtrig-gpio ipq-wifi-mikrotik_hap-ac3 +endef +TARGET_DEVICES += mikrotik_hap-ac3 + define Device/mikrotik_sxtsq-5-ac $(call Device/mikrotik_nor) DEVICE_MODEL := SXTsq 5 ac (RBSXTsqG-5acD) |