[OpenWrt Wiki] Build system essentials
openwrt.org › docs › guide-developerOct 15, 2021 · We are building OpenWrt on an x86_64 system for a router that uses a MIPS32 architecture, so we can't use the same toolchain we use to generate programs we run on our x86_64 system. We need to first build a toolchain for the MIPS32 system, and then build all of the things that it needs to run OpenWrt using that toolchain.
[OpenWrt Wiki] OpenWrt on UEFI based x86 systems
openwrt.org › docs › guide-developerTo build an EFI-compatible OpenWrt image: Run make menuconfig. Go to Target Images and make sure that the option Build GRUB EFI images (Linux x86 or x86_64 host only) is checked. Select additional packages as necessary and finally save changes and exit menuconfig. Run make as usual to build the image. The resulting image (s) will be available ...