2019-11-28 11:53:01 +00:00
|
|
|
define Device/mikrotik
|
|
|
|
DEVICE_VENDOR := MikroTik
|
2020-10-15 09:27:55 +00:00
|
|
|
KERNEL_NAME := vmlinuz
|
|
|
|
KERNEL := kernel-bin | append-dtb-elf
|
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb-elf
|
2019-11-28 11:53:01 +00:00
|
|
|
endef
|
2020-08-01 15:39:33 +00:00
|
|
|
|
|
|
|
define Device/mikrotik_nor
|
|
|
|
$(Device/mikrotik)
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 -e | \
|
|
|
|
pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
|
|
|
|
append-metadata | check-size
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/mikrotik_nand
|
|
|
|
$(Device/mikrotik)
|
|
|
|
IMAGE/sysupgrade.bin = append-kernel | kernel2minor -s 2048 -e -c | \
|
|
|
|
sysupgrade-tar kernel=$$$$@ | append-metadata
|
|
|
|
DEVICE_PACKAGES := nand-utils
|
2020-12-27 19:33:57 +00:00
|
|
|
DEFAULT := n
|
2020-08-01 15:39:33 +00:00
|
|
|
endef
|