What system can I build OpenWrt on?

A case-sensitive file system is required.
The OpenWrt buildroot build system works on GNU/Linux, macOS and BSD.

It is recommended to use a Linux environment. This optional in a VM or with a suitable *nix compatibility layer: