Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #3500

Category None
Changed by Rui Salvaterra <rsalvaterraohnoyoudont@gmail.com>
Changed at Sat 01 Aug 2020 13:54:39
Repository https://git.openwrt.org/openwrt/openwrt.git
Branch master
Revision f2af32c20c7529650858f6804e2bfd35fe706ced

Comments

wireguard-tools: allow compiling with MIPS16 instructions
The wg utility compiles and runs without issues in MIPS16 mode, despite setting
PKG_USE_MIPS16:=0 in the makefile. Let's remove this, allowing for a substantial
size reduction of the wg executable. Since wg is a just a configuration utility,
it shouldn't be performance-critical, as the crypto heavy-lifting is done on the
kernel side.

wg sizes for both modes:

MIPS32: 64309 bytes
MIPS16: 42501 bytes

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Changed files