Install emsdk
run emmake make ARCH=wasm32 emscripten_defconfig
to pick up the default configuration. You can then customize your build with emmake make ARCH=wasm32 menuconfig
or by editing .config
, if you know what you're doing.
Then just emmake make ARCH=wasm32
.