Compiling VyOS for MediaTek MT7621 / Ubiquiti EdgeRouter-X

Hello there,

I want to know what would be required so that I could potentially compile and use VyOS on ER-X from Ubiquiti if that’s even doable?

Technical specifications:
CPU: MIPS 1004Kc V2.15 (4 cores, I think)
Storage: 214.9MB or so. (No USB)
RAM: 247 MB (according to free -h)
Current kernel: 4.14.54-UBNT
Bootloader: U-boot