The functional equivalent of a Debian base install, including kernel, bootloader, and systemd init (approx. 350 MiB) is about 20 MiB (compressed) when built with Buildroot.
It's mostly bash. And a bit of C for tools. Works on ARM, whatever really, as long as there is a kernel and a toolchain.