I don't have a MIPS toolchain on this computer to test this at the moment, but maybe this will shave off a little bit from the .ko... strip $(nm --defined-only wireguard.ko | grep -Ev '(^0+ | __)' | cut -d ' ' -f 3 | xargs -n 1 echo -N) wireguard.ko