ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
DEVICE_PACKAGES += -wpad-basic-mbedtls -uboot-envtools
+ DEVICE_COMPAT_VERSION := 2.0
+ DEVICE_COMPAT_MESSAGE := Partition table has been changed due to kernel size restrictions. \
+ Refer to the wiki page for instructions to migrate to the new layout: \
+ https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka
DEFAULT := n
endef