aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--admin/netdata/Makefile2
-rw-r--r--admin/sudo/Makefile2
-rw-r--r--devel/delve/Makefile2
-rw-r--r--devel/gitlab-runner/Makefile2
-rw-r--r--devel/lttng-tools/Makefile2
-rw-r--r--devel/packr/Makefile2
-rw-r--r--lang/erlang/Makefile2
-rw-r--r--lang/golang/golang/Makefile2
-rw-r--r--lang/luajit/Makefile2
-rw-r--r--lang/node-arduino-firmata/Makefile2
-rw-r--r--lang/node-cylon/Makefile2
-rw-r--r--lang/node-hid/Makefile2
-rw-r--r--lang/node-homebridge/Makefile2
-rw-r--r--lang/node-javascript-obfuscator/Makefile2
-rw-r--r--lang/node-serialport-bindings/Makefile2
-rw-r--r--lang/node-serialport/Makefile2
-rw-r--r--lang/node/Makefile2
-rw-r--r--lang/php8/Makefile2
-rw-r--r--lang/python/python-greenlet/Makefile4
-rw-r--r--libs/alsa-lib/Makefile2
-rw-r--r--libs/boost/Makefile2
-rw-r--r--libs/gnutls/Makefile2
-rw-r--r--libs/libaio/Makefile2
-rw-r--r--libs/libev/Makefile2
-rw-r--r--libs/libffi/Makefile2
-rw-r--r--libs/libftdi/Makefile2
-rw-r--r--libs/libftdi1/Makefile2
-rw-r--r--libs/libjpeg-turbo/Makefile3
-rw-r--r--libs/libmad/Makefile2
-rw-r--r--libs/libmraa/Makefile2
-rw-r--r--libs/libseccomp/Makefile2
-rw-r--r--libs/libsodium/Makefile2
-rw-r--r--libs/libssh/Makefile2
-rw-r--r--libs/libupm/Makefile2
-rw-r--r--libs/liburcu/Makefile2
-rw-r--r--libs/libv4l/Makefile2
-rw-r--r--libs/libvorbisidec/Makefile2
-rw-r--r--libs/lttng-ust/Makefile2
-rw-r--r--libs/nacl/Makefile2
-rw-r--r--libs/postgresql/Makefile2
-rw-r--r--multimedia/gst1-libav/Makefile2
-rw-r--r--multimedia/imagemagick/Makefile2
-rw-r--r--multimedia/tvheadend/Makefile2
-rw-r--r--net/adguardhome/Makefile2
-rw-r--r--net/bind/Makefile2
-rw-r--r--net/cloudflared/Makefile2
-rw-r--r--net/cloudreve/Makefile2
-rw-r--r--net/cni-route-override/Makefile2
-rw-r--r--net/crowdsec-firewall-bouncer/Makefile2
-rw-r--r--net/crowdsec/Makefile2
-rw-r--r--net/dns-over-https/Makefile2
-rw-r--r--net/dnscrypt-proxy2/Makefile2
-rw-r--r--net/dnslookup/Makefile2
-rw-r--r--net/dnsproxy/Makefile2
-rw-r--r--net/dnstap/Makefile2
-rw-r--r--net/frp/Makefile2
-rw-r--r--net/gateway-go/Makefile2
-rw-r--r--net/geoipupdate/Makefile2
-rw-r--r--net/geth/Makefile2
-rw-r--r--net/gg/Makefile2
-rw-r--r--net/git-lfs/Makefile2
-rw-r--r--net/irtt/Makefile2
-rw-r--r--net/kcptun/Makefile2
-rw-r--r--net/krb5/Makefile2
-rw-r--r--net/librespeed-go/Makefile2
-rw-r--r--net/natmap/Makefile2
-rw-r--r--net/nebula/Makefile2
-rw-r--r--net/netbird/Makefile2
-rw-r--r--net/netsniff-ng/Makefile2
-rw-r--r--net/nextdns/Makefile2
-rw-r--r--net/obfs4proxy/Makefile2
-rw-r--r--net/ocserv/Makefile2
-rw-r--r--net/ola/Makefile2
-rw-r--r--net/ooniprobe/Makefile2
-rw-r--r--net/openconnect/Makefile2
-rw-r--r--net/openvswitch/Makefile2
-rw-r--r--net/overture/Makefile2
-rw-r--r--net/ovn/Makefile2
-rw-r--r--net/rclone/Makefile2
-rw-r--r--net/reaver/Makefile2
-rw-r--r--net/restic-rest-server/Makefile2
-rw-r--r--net/shadowsocks-libev/Makefile2
-rw-r--r--net/sing-box/Makefile2
-rw-r--r--net/snowflake/Makefile2
-rw-r--r--net/tailscale/Makefile2
-rw-r--r--net/tgt/Makefile2
-rw-r--r--net/tor-fw-helper/Makefile2
-rw-r--r--net/trojan-go/Makefile2
-rw-r--r--net/v2ray-core/Makefile2
-rw-r--r--net/v2raya/Makefile2
-rw-r--r--net/wifi-presence/Makefile2
-rw-r--r--net/xray-core/Makefile2
-rw-r--r--net/yggdrasil/Makefile2
-rw-r--r--net/znc/Makefile2
-rw-r--r--net/ztdns/Makefile2
-rw-r--r--sound/mpd/Makefile2
-rw-r--r--sound/owntone/Makefile2
-rw-r--r--sound/pulseaudio/Makefile2
-rw-r--r--sound/shine/Makefile2
-rw-r--r--utils/audit/Makefile2
-rw-r--r--utils/cni-plugins-nft/Makefile2
-rw-r--r--utils/cni-plugins/Makefile2
-rw-r--r--utils/cni/Makefile3
-rw-r--r--utils/collectd/Makefile2
-rw-r--r--utils/containerd/Makefile2
-rw-r--r--utils/coremark/Makefile2
-rw-r--r--utils/ctop/Makefile2
-rw-r--r--utils/docker-compose/Makefile2
-rw-r--r--utils/docker/Makefile2
-rw-r--r--utils/dockerd/Makefile2
-rw-r--r--utils/domoticz/Makefile2
-rw-r--r--utils/haveged/Makefile2
-rw-r--r--utils/librespeed-cli/Makefile2
-rw-r--r--utils/lxc/Makefile2
-rw-r--r--utils/mariadb/Makefile2
-rw-r--r--utils/miniflux/Makefile2
-rw-r--r--utils/oci-runtime-tools/Makefile2
-rw-r--r--utils/podman/Makefile2
-rw-r--r--utils/prometheus-statsd-exporter/Makefile2
-rw-r--r--utils/prometheus/Makefile2
-rw-r--r--utils/qemu/Makefile2
-rw-r--r--utils/restic/Makefile2
-rw-r--r--utils/runc/Makefile2
-rw-r--r--utils/syncthing/Makefile2
-rw-r--r--utils/telegraf/Makefile2
-rw-r--r--utils/yq/Makefile2
126 files changed, 128 insertions, 128 deletions
diff --git a/admin/netdata/Makefile b/admin/netdata/Makefile
index e471f27b2..5bee33424 100644
--- a/admin/netdata/Makefile
+++ b/admin/netdata/Makefile
@@ -24,7 +24,7 @@ PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/admin/sudo/Makefile b/admin/sudo/Makefile
index 9b90d1fc5..8b67832ca 100644
--- a/admin/sudo/Makefile
+++ b/admin/sudo/Makefile
@@ -23,7 +23,7 @@ PKG_CPE_ID:=cpe:/a:todd_miller:sudo
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/devel/delve/Makefile b/devel/delve/Makefile
index 498b5b3f3..35183636c 100644
--- a/devel/delve/Makefile
+++ b/devel/delve/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Niels Widger <niels@qacafe.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/go-delve/delve/
GO_PKG_BUILD_PKG:=github.com/go-delve/delve/cmd/dlv/
diff --git a/devel/gitlab-runner/Makefile b/devel/gitlab-runner/Makefile
index 51d3a07f7..4e1ac59ac 100644
--- a/devel/gitlab-runner/Makefile
+++ b/devel/gitlab-runner/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/gitlab-runner-v$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=gitlab.com/gitlab-org/gitlab-runner
include $(INCLUDE_DIR)/package.mk
diff --git a/devel/lttng-tools/Makefile b/devel/lttng-tools/Makefile
index 3325efdaa..7e20de149 100644
--- a/devel/lttng-tools/Makefile
+++ b/devel/lttng-tools/Makefile
@@ -19,7 +19,7 @@ PKG_MAINTAINER:=
PKG_LICENSE:=LGPL-2.1 GPL-2.0
PKG_LICENSE_FILES:=COPYING
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
diff --git a/devel/packr/Makefile b/devel/packr/Makefile
index 9966783c3..cffaf140e 100644
--- a/devel/packr/Makefile
+++ b/devel/packr/Makefile
@@ -25,7 +25,7 @@ HOST_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/gobuffalo/packr
GO_PKG_BUILD_PKG:=github.com/gobuffalo/packr/packr
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 6ae68319c..f26fc11b7 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -21,7 +21,7 @@ PKG_MAINTAINER:=Arnaud Sautaux <arnaud.sautaux@infoteam.ch>
PKG_CPE_ID:=cpe:/a:erlang:erlang
PKG_BUILD_DEPENDS:=erlang/host openssl
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_ASLR_PIE:=0
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/otp_src_$(PKG_VERSION)
diff --git a/lang/golang/golang/Makefile b/lang/golang/golang/Makefile
index 535c6e4aa..8bffca8fa 100644
--- a/lang/golang/golang/Makefile
+++ b/lang/golang/golang/Makefile
@@ -30,7 +30,7 @@ PKG_CPE_ID:=cpe:/a:golang:go
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_DIR:=$(BUILD_DIR)/go-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_GO_PREFIX:=/usr
PKG_GO_VERSION_ID:=$(GO_VERSION_MAJOR_MINOR)
diff --git a/lang/luajit/Makefile b/lang/luajit/Makefile
index 20f0b9fa3..3ce1555b6 100644
--- a/lang/luajit/Makefile
+++ b/lang/luajit/Makefile
@@ -13,7 +13,7 @@ PKG_MAINTAINER:=Morteza Milani <milani@pichak.co>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYRIGHT
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
diff --git a/lang/node-arduino-firmata/Makefile b/lang/node-arduino-firmata/Makefile
index c915afb54..90c1c5b34 100644
--- a/lang/node-arduino-firmata/Makefile
+++ b/lang/node-arduino-firmata/Makefile
@@ -17,7 +17,7 @@ PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
PKG_HASH:=d7157e02867eae82887cb5e17b90c963fe7489bacd464110bfd20c672b8d5a98
PKG_BUILD_DEPENDS:=node/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
diff --git a/lang/node-cylon/Makefile b/lang/node-cylon/Makefile
index 347b6bbb7..28b3c635b 100644
--- a/lang/node-cylon/Makefile
+++ b/lang/node-cylon/Makefile
@@ -19,7 +19,7 @@ PKG_HASH:=06ac7a8e2e6012577d2f4b043af766bf28a1d3e2a0d50e46629dab4f0bb65104
PKG_SOURCE_SUBDIR:=$(PKG_SRC_NAME)-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=node/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=Apache-2.0
diff --git a/lang/node-hid/Makefile b/lang/node-hid/Makefile
index ae9c77936..575f9d579 100644
--- a/lang/node-hid/Makefile
+++ b/lang/node-hid/Makefile
@@ -17,7 +17,7 @@ PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
PKG_HASH:=6c1f05935215feed4e8d2f4aecf31abbad8fa783d252b0bd6041ed2f2e96e9ba
PKG_BUILD_DEPENDS:=node/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT or X11
diff --git a/lang/node-homebridge/Makefile b/lang/node-homebridge/Makefile
index 0b71fafb8..7c6d124bc 100644
--- a/lang/node-homebridge/Makefile
+++ b/lang/node-homebridge/Makefile
@@ -14,7 +14,7 @@ PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
PKG_HASH:=f91ab0058707a0498d97d87f45f19682065f80660fac942e0985caf9bb205f2a
PKG_BUILD_DEPENDS:=node/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=ISC Apache-2.0
diff --git a/lang/node-javascript-obfuscator/Makefile b/lang/node-javascript-obfuscator/Makefile
index 7f4232563..48b2a6d3a 100644
--- a/lang/node-javascript-obfuscator/Makefile
+++ b/lang/node-javascript-obfuscator/Makefile
@@ -18,7 +18,7 @@ HOST_BUILD_PARALLEL:=1
HOST_BUILD_DEPENDS:=node/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Zbynek Kocur <zbynek.kocur@fel.cvut.cz>
PKG_LICENSE:=BSD-2-Clause
diff --git a/lang/node-serialport-bindings/Makefile b/lang/node-serialport-bindings/Makefile
index 70731e7ff..e6352781f 100644
--- a/lang/node-serialport-bindings/Makefile
+++ b/lang/node-serialport-bindings/Makefile
@@ -15,7 +15,7 @@ PKG_SOURCE_URL:=https://registry.npmjs.org/@$(PKG_NPM_SCOPE)/$(PKG_NPM_NAME)/-/
PKG_HASH:=aec200860bd175e4b14b4ab1aa56a5f750172b6c8e20ccb234846206395848d4
PKG_BUILD_DEPENDS:=node/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
diff --git a/lang/node-serialport/Makefile b/lang/node-serialport/Makefile
index ee1d6e404..336d4b2e7 100644
--- a/lang/node-serialport/Makefile
+++ b/lang/node-serialport/Makefile
@@ -17,7 +17,7 @@ PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
PKG_HASH:=e19fe993ad16ae0e03fc42e24cfe4babf8fd90f8358e1885d5e216277dda1086
PKG_BUILD_DEPENDS:=node/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
PKG_LICENSE:=MIT
diff --git a/lang/node/Makefile b/lang/node/Makefile
index 6da85cc12..5471d752d 100644
--- a/lang/node/Makefile
+++ b/lang/node/Makefile
@@ -26,7 +26,7 @@ HOST_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=python3/host
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_ASLR_PIE:=0
include $(INCLUDE_DIR)/host-build.mk
diff --git a/lang/php8/Makefile b/lang/php8/Makefile
index 0ca19d979..47b18d025 100644
--- a/lang/php8/Makefile
+++ b/lang/php8/Makefile
@@ -19,7 +19,7 @@ PKG_SOURCE_URL:=http://www.php.net/distributions/
PKG_HASH:=b9b566686e351125d67568a33291650eb8dfa26614d205d70d82e6e92613d457
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PHP8_MODULES= \
bcmath \
diff --git a/lang/python/python-greenlet/Makefile b/lang/python/python-greenlet/Makefile
index 8c2d64b26..cc9b4f896 100644
--- a/lang/python/python-greenlet/Makefile
+++ b/lang/python/python-greenlet/Makefile
@@ -18,7 +18,7 @@ PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
# FIXME: remove when GCC10 is the oldest supported compiler, or the issue goes away
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
@@ -42,7 +42,7 @@ define Package/python3-greenlet/description
endef
# FIXME: remove when GCC10 is the oldest supported compiler, or the issue goes away
-# This is required in addition to PKG_USE_MIPS16:=0 because otherwise MIPS16
+# This is required in addition to PKG_BUILD_FLAGS:=no-mips16 because otherwise MIPS16
# flags are inherited from the Python base package (via sysconfig module)
ifdef CONFIG_USE_MIPS16
TARGET_CFLAGS += -mno-mips16 -mno-interlink-mips16
diff --git a/libs/alsa-lib/Makefile b/libs/alsa-lib/Makefile
index b59d2f3b9..2636a7962 100644
--- a/libs/alsa-lib/Makefile
+++ b/libs/alsa-lib/Makefile
@@ -22,7 +22,7 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/boost/Makefile b/libs/boost/Makefile
index 9180e9ecb..bf72531fb 100644
--- a/libs/boost/Makefile
+++ b/libs/boost/Makefile
@@ -29,7 +29,7 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)_$(PKG_SOURCE_VERSION)
HOST_BUILD_PARALLEL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile
index 211470205..6ab3bfcfc 100644
--- a/libs/gnutls/Makefile
+++ b/libs/gnutls/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gnutls
PKG_VERSION:=3.7.8
PKG_RELEASE:=$(AUTORELEASE)
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7
diff --git a/libs/libaio/Makefile b/libs/libaio/Makefile
index 48501f705..850199f73 100644
--- a/libs/libaio/Makefile
+++ b/libs/libaio/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=LGPL-2.1-only
PKG_LICENSE_FILES:=COPYING
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/libev/Makefile b/libs/libev/Makefile
index 8db14d475..61173841e 100644
--- a/libs/libev/Makefile
+++ b/libs/libev/Makefile
@@ -20,7 +20,7 @@ PKG_MAINTAINER:=Karl Palsson <karlp@tweak.net.au>
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile
index 901a4f3a4..e5ffda139 100644
--- a/libs/libffi/Makefile
+++ b/libs/libffi/Makefile
@@ -21,7 +21,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
diff --git a/libs/libftdi/Makefile b/libs/libftdi/Makefile
index f644b5321..7e5dccb88 100644
--- a/libs/libftdi/Makefile
+++ b/libs/libftdi/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=LGPL-2.0
PKG_LICENSE_FILES:=COPYING.LIB
CMAKE_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
diff --git a/libs/libftdi1/Makefile b/libs/libftdi1/Makefile
index dee2b6573..60985f130 100644
--- a/libs/libftdi1/Makefile
+++ b/libs/libftdi1/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=LGPL-2.1-only
PKG_LICENSE_FILES:=COPYING.LIB
CMAKE_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
diff --git a/libs/libjpeg-turbo/Makefile b/libs/libjpeg-turbo/Makefile
index 7aed20d33..7c530bdc5 100644
--- a/libs/libjpeg-turbo/Makefile
+++ b/libs/libjpeg-turbo/Makefile
@@ -12,7 +12,8 @@ PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
PKG_LICENSE:=BSD-3-Clause IJG zlib
PKG_LICENSE_FILES:=LICENSE.md
-PKG_USE_MIPS16:=0 #Allows ASM compilation for speed.
+# Allows ASM compilation for speed
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
diff --git a/libs/libmad/Makefile b/libs/libmad/Makefile
index 595c9607d..569f402b7 100644
--- a/libs/libmad/Makefile
+++ b/libs/libmad/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:underbit:mad_libmad
CMAKE_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
diff --git a/libs/libmraa/Makefile b/libs/libmraa/Makefile
index 0a85d1f14..14868194d 100644
--- a/libs/libmraa/Makefile
+++ b/libs/libmraa/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_BUILD_DEPENDS:=swig/host
CMAKE_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PYTHON3_PKG_BUILD:=0
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/libseccomp/Makefile b/libs/libseccomp/Makefile
index 4ed45f8c4..248432424 100644
--- a/libs/libseccomp/Makefile
+++ b/libs/libseccomp/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libseccomp
PKG_VERSION:=2.5.4
PKG_RELEASE:=$(AUTORELEASE)
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/seccomp/libseccomp/releases/download/v$(PKG_VERSION)/
diff --git a/libs/libsodium/Makefile b/libs/libsodium/Makefile
index dbccb9d0f..d0589dca4 100644
--- a/libs/libsodium/Makefile
+++ b/libs/libsodium/Makefile
@@ -20,7 +20,7 @@ PKG_MAINTAINER:=Damiano Renfer <x9w2n7xnu@relay.firefox.com>
PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=LICENSE
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
diff --git a/libs/libssh/Makefile b/libs/libssh/Makefile
index b170f679d..d2b1e7d94 100644
--- a/libs/libssh/Makefile
+++ b/libs/libssh/Makefile
@@ -22,7 +22,7 @@ PKG_CPE_ID:=cpe:/a:libssh:libssh
CMAKE_INSTALL:=1
CMAKE_BINARY_SUBDIR:=build
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
diff --git a/libs/libupm/Makefile b/libs/libupm/Makefile
index a48247ffd..058dedf9b 100644
--- a/libs/libupm/Makefile
+++ b/libs/libupm/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
CMAKE_INSTALL:=1
CMAKE_BINARY_SUBDIR:=build
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PYTHON3_PKG_BUILD:=0
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/liburcu/Makefile b/libs/liburcu/Makefile
index 6db265c89..d6afbf8a3 100644
--- a/libs/liburcu/Makefile
+++ b/libs/liburcu/Makefile
@@ -24,7 +24,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/userspace-rcu-$(PKG_VERSION)
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/libv4l/Makefile b/libs/libv4l/Makefile
index 22b3cd15f..fa577da2e 100644
--- a/libs/libv4l/Makefile
+++ b/libs/libv4l/Makefile
@@ -15,7 +15,7 @@ PKG_HASH:=65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
diff --git a/libs/libvorbisidec/Makefile b/libs/libvorbisidec/Makefile
index 7d751631c..079af96d4 100644
--- a/libs/libvorbisidec/Makefile
+++ b/libs/libvorbisidec/Makefile
@@ -21,7 +21,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/lttng-ust/Makefile b/libs/lttng-ust/Makefile
index 90e8d1e95..270d80ec0 100644
--- a/libs/lttng-ust/Makefile
+++ b/libs/lttng-ust/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=LGPL-2.1 GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:lttng:ust
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
diff --git a/libs/nacl/Makefile b/libs/nacl/Makefile
index 53b76befe..5b5d9a22e 100644
--- a/libs/nacl/Makefile
+++ b/libs/nacl/Makefile
@@ -18,7 +18,7 @@ PKG_HASH:=4f277f89735c8b0b8a6bbd043b3efb3fa1cc68a9a5da6a076507d067fc3b3bf8
PKG_LICENSE:=PublicDomain
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile
index 7450393b9..13b167698 100644
--- a/libs/postgresql/Makefile
+++ b/libs/postgresql/Makefile
@@ -19,7 +19,7 @@ PKG_SOURCE_URL:=\
PKG_HASH:=64fdf23d734afad0dfe4077daca96ac51dcd697e68ae2d3d4ca6c45cb14e21ae
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_FIXUP:=autoreconf
PKG_MACRO_PATHS:=config
PKG_BUILD_DEPENDS:=postgresql/host
diff --git a/multimedia/gst1-libav/Makefile b/multimedia/gst1-libav/Makefile
index 25a16fea9..40ddb74a6 100644
--- a/multimedia/gst1-libav/Makefile
+++ b/multimedia/gst1-libav/Makefile
@@ -21,7 +21,7 @@ PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> \
PKG_LICENSE:=GPL-2.0-or-later LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING COPYING.LIB
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GST_VERSION:=1.0
diff --git a/multimedia/imagemagick/Makefile b/multimedia/imagemagick/Makefile
index 8c4e97775..59dbe0bb3 100644
--- a/multimedia/imagemagick/Makefile
+++ b/multimedia/imagemagick/Makefile
@@ -21,7 +21,7 @@ PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:imagemagick:imagemagick
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile
index 4db9918c7..1af5b6dd2 100644
--- a/multimedia/tvheadend/Makefile
+++ b/multimedia/tvheadend/Makefile
@@ -16,7 +16,7 @@ PKG_LICENSE_FILES:=LICENSE.md
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
diff --git a/net/adguardhome/Makefile b/net/adguardhome/Makefile
index 328c1329e..da7e9f534 100644
--- a/net/adguardhome/Makefile
+++ b/net/adguardhome/Makefile
@@ -20,7 +20,7 @@ PKG_MAINTAINER:=Dobroslaw Kijowski <dobo90@gmail.com>
PKG_BUILD_DEPENDS:=golang/host node/host node-yarn/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/AdguardTeam/AdGuardHome
GO_PKG_BUILD_PKG:=github.com/AdguardTeam/AdGuardHome
diff --git a/net/bind/Makefile b/net/bind/Makefile
index dfa48cb52..f98a4fd2c 100644
--- a/net/bind/Makefile
+++ b/net/bind/Makefile
@@ -28,7 +28,7 @@ PKG_FIXUP:=autoreconf
PKG_REMOVE_FILES:=aclocal.m4 libtool.m4
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_CONFIG_DEPENDS := \
diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile
index fb2c2f1ec..aa91da866 100644
--- a/net/cloudflared/Makefile
+++ b/net/cloudflared/Makefile
@@ -18,7 +18,7 @@ PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/cloudflare/cloudflared
GO_PKG_LDFLAGS_X:=main.Version=$(PKG_VERSION)
diff --git a/net/cloudreve/Makefile b/net/cloudreve/Makefile
index 21a1443b1..1d6a65e9a 100644
--- a/net/cloudreve/Makefile
+++ b/net/cloudreve/Makefile
@@ -19,7 +19,7 @@ PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_BUILD_DEPENDS:=golang/host node/host node-yarn/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/cloudreve/Cloudreve/v3
GO_PKG_LDFLAGS_X:= \
diff --git a/net/cni-route-override/Makefile b/net/cni-route-override/Makefile
index 6208eea36..d24228bb6 100644
--- a/net/cni-route-override/Makefile
+++ b/net/cni-route-override/Makefile
@@ -16,7 +16,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/redhat-nfvpe/$(PKG_NAME)/
GO_PKG_BUILD_PKG:=github.com/redhat-nfvpe/$(PKG_NAME)/cmd/route-override
diff --git a/net/crowdsec-firewall-bouncer/Makefile b/net/crowdsec-firewall-bouncer/Makefile
index b8ea0b18e..713bd740a 100644
--- a/net/crowdsec-firewall-bouncer/Makefile
+++ b/net/crowdsec-firewall-bouncer/Makefile
@@ -19,7 +19,7 @@ PKG_MAINTAINER:=Gerald Kerma <gandalf@gk2.net>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_DIR:=$(BUILD_DIR)/cs-firewall-bouncer-$(PKG_VERSION)
CSFB_BUILD_VERSION?=v$(PKG_VERSION)
diff --git a/net/crowdsec/Makefile b/net/crowdsec/Makefile
index d3b235996..aa939df95 100644
--- a/net/crowdsec/Makefile
+++ b/net/crowdsec/Makefile
@@ -19,7 +19,7 @@ PKG_MAINTAINER:=Gerald Kerma <gandalf@gk2.net>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
CWD_SYSTEM:=openwrt
diff --git a/net/dns-over-https/Makefile b/net/dns-over-https/Makefile
index a5722fb2e..48f6f296c 100644
--- a/net/dns-over-https/Makefile
+++ b/net/dns-over-https/Makefile
@@ -18,7 +18,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/m13253/dns-over-https
GO_PKG_INSTALL_BIN_PATH:=/usr/sbin
diff --git a/net/dnscrypt-proxy2/Makefile b/net/dnscrypt-proxy2/Makefile
index 137e71bb9..5e1226892 100644
--- a/net/dnscrypt-proxy2/Makefile
+++ b/net/dnscrypt-proxy2/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/DNSCrypt/dnscrypt-proxy
diff --git a/net/dnslookup/Makefile b/net/dnslookup/Makefile
index d4da7b21b..1c178a76b 100644
--- a/net/dnslookup/Makefile
+++ b/net/dnslookup/Makefile
@@ -18,7 +18,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/ameshkov/dnslookup
GO_PKG_LDFLAGS_X:=main.VersionString=v$(PKG_VERSION)
diff --git a/net/dnsproxy/Makefile b/net/dnsproxy/Makefile
index 2e5724ed9..072716053 100644
--- a/net/dnsproxy/Makefile
+++ b/net/dnsproxy/Makefile
@@ -18,7 +18,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/AdguardTeam/dnsproxy
GO_PKG_LDFLAGS_X:=main.VersionString=v$(PKG_VERSION)
diff --git a/net/dnstap/Makefile b/net/dnstap/Makefile
index 774c84a4c..78ee90681 100644
--- a/net/dnstap/Makefile
+++ b/net/dnstap/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/golang-dnstap-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/dnstap/golang-dnstap
diff --git a/net/frp/Makefile b/net/frp/Makefile
index 7adbac02c..fb8ee9af4 100644
--- a/net/frp/Makefile
+++ b/net/frp/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/fatedier/frp
GO_PKG_BUILD_PKG:=github.com/fatedier/frp/cmd/...
diff --git a/net/gateway-go/Makefile b/net/gateway-go/Makefile
index dd8430393..01536c3e3 100644
--- a/net/gateway-go/Makefile
+++ b/net/gateway-go/Makefile
@@ -15,7 +15,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/gateway-go-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/OpenIoTHub/gateway-go
diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile
index 6348bfc8f..4cb37a3a8 100644
--- a/net/geoipupdate/Makefile
+++ b/net/geoipupdate/Makefile
@@ -16,7 +16,7 @@ PKG_MAINTAINER:=Matthew Hagan <mnhagan88@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/maxmind/geoipupdate
GO_PKG_LDFLAGS_X:= \
diff --git a/net/geth/Makefile b/net/geth/Makefile
index 373cf48ea..29024e2a4 100644
--- a/net/geth/Makefile
+++ b/net/geth/Makefile
@@ -21,7 +21,7 @@ PKG_LICENSE_FILES:=COPYING COPYING.LESSER
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_CONFIG_DEPENDS:=CONFIG_BUILD_NLS
GO_PKG:=github.com/ethereum/go-ethereum
diff --git a/net/gg/Makefile b/net/gg/Makefile
index 4d68c343e..deaab9d16 100644
--- a/net/gg/Makefile
+++ b/net/gg/Makefile
@@ -18,7 +18,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/mzz2017/gg
GO_PKG_LDFLAGS_X:=$(GO_PKG)/cmd.Version=$(PKG_VERSION)
diff --git a/net/git-lfs/Makefile b/net/git-lfs/Makefile
index 104c1c445..2576bb6b0 100644
--- a/net/git-lfs/Makefile
+++ b/net/git-lfs/Makefile
@@ -21,7 +21,7 @@ PKG_LICENSE_FILES:=LICENSE.md
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/git-lfs/git-lfs
diff --git a/net/irtt/Makefile b/net/irtt/Makefile
index 102391f76..61d04a0f0 100644
--- a/net/irtt/Makefile
+++ b/net/irtt/Makefile
@@ -20,7 +20,7 @@ PKG_MAINTAINER:=Marcel Vital <ralmina@tuta.io>
PKG_BUILD_DIR:=$(BUILD_DIR)/irtt-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/heistp/irtt
diff --git a/net/kcptun/Makefile b/net/kcptun/Makefile
index 18829384d..a52cc6750 100644
--- a/net/kcptun/Makefile
+++ b/net/kcptun/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE.md
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/xtaci/kcptun
diff --git a/net/krb5/Makefile b/net/krb5/Makefile
index bdad2543b..e02337b50 100644
--- a/net/krb5/Makefile
+++ b/net/krb5/Makefile
@@ -23,7 +23,7 @@ PKG_HASH:=704aed49b19eb5a7178b34b2873620ec299db08752d6a8574f95d41879ab8851
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/net/librespeed-go/Makefile b/net/librespeed-go/Makefile
index bb5557b0d..8ff5570a1 100644
--- a/net/librespeed-go/Makefile
+++ b/net/librespeed-go/Makefile
@@ -18,7 +18,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/librespeed/speedtest
diff --git a/net/natmap/Makefile b/net/natmap/Makefile
index 7c70475b3..a8b7221c7 100644
--- a/net/natmap/Makefile
+++ b/net/natmap/Makefile
@@ -12,7 +12,7 @@ PKG_MAINTAINER:=Richard Yu <yurichard3839@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=License
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/net/nebula/Makefile b/net/nebula/Makefile
index 2fdac24f5..d9befd3f2 100644
--- a/net/nebula/Makefile
+++ b/net/nebula/Makefile
@@ -17,7 +17,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/slackhq/nebula
GO_PKG_BUILD_PKG:= \
diff --git a/net/netbird/Makefile b/net/netbird/Makefile
index 44defd354..da1881eb6 100644
--- a/net/netbird/Makefile
+++ b/net/netbird/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/netbirdio/netbird
GO_PKG_BUILD_PKG:=$(GO_PKG)/client
diff --git a/net/netsniff-ng/Makefile b/net/netsniff-ng/Makefile
index 396cc6c86..aa6dfc420 100644
--- a/net/netsniff-ng/Makefile
+++ b/net/netsniff-ng/Makefile
@@ -12,7 +12,7 @@ PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_CONFIG_DEPENDS:= \
diff --git a/net/nextdns/Makefile b/net/nextdns/Makefile
index fb9ca8c88..f5ca3a677 100644
--- a/net/nextdns/Makefile
+++ b/net/nextdns/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/nextdns/nextdns
GO_PKG_LDFLAGS_X:=main.version=$(PKG_VERSION)
diff --git a/net/obfs4proxy/Makefile b/net/obfs4proxy/Makefile
index 39d9b2d1a..794ecec20 100644
--- a/net/obfs4proxy/Makefile
+++ b/net/obfs4proxy/Makefile
@@ -22,7 +22,7 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=gitlab.com/yawning/obfs4.git
diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile
index b969a8e43..4b197ad4e 100644
--- a/net/ocserv/Makefile
+++ b/net/ocserv/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ocserv
PKG_VERSION:=1.1.6
PKG_RELEASE:=2
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
diff --git a/net/ola/Makefile b/net/ola/Makefile
index 3a2f1a85b..a434b90dd 100644
--- a/net/ola/Makefile
+++ b/net/ola/Makefile
@@ -23,7 +23,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
HOST_BUILD_DEPENDS:=protobuf/host
PKG_BUILD_DEPENDS:=ola/host
diff --git a/net/ooniprobe/Makefile b/net/ooniprobe/Makefile
index 01f5fd041..01a7006ff 100644
--- a/net/ooniprobe/Makefile
+++ b/net/ooniprobe/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE.md
PKG_BUILD_DIR:=$(BUILD_DIR)/probe-cli-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/ooni/probe-cli
diff --git a/net/openconnect/Makefile b/net/openconnect/Makefile
index 6bf724eeb..e4c776726 100644
--- a/net/openconnect/Makefile
+++ b/net/openconnect/Makefile
@@ -23,7 +23,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_OPENCONNECT_GNUTLS \
CONFIG_OPENCONNECT_OPENSSL \
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile
index a10fb8572..5106f6086 100644
--- a/net/openvswitch/Makefile
+++ b/net/openvswitch/Makefile
@@ -28,7 +28,7 @@ PKG_CPE_ID:=cpe:/a:openvswitch:openvswitch
PKG_BUILD_DIR:=$(ovs_builddir)
PKG_BUILD_DEPENDS+=python3/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
diff --git a/net/overture/Makefile b/net/overture/Makefile
index d11748c6f..528311386 100644
--- a/net/overture/Makefile
+++ b/net/overture/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/shawn1m/overture
GO_PKG_BUILD_PKG:=$(GO_PKG)/main
diff --git a/net/ovn/Makefile b/net/ovn/Makefile
index 8d6d8ef97..7c5afae92 100644
--- a/net/ovn/Makefile
+++ b/net/ovn/Makefile
@@ -23,7 +23,7 @@ PKG_CPE_ID:=cpe:/a:openvswitch:openvswitch
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DEPENDS+=python3/host
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
diff --git a/net/rclone/Makefile b/net/rclone/Makefile
index 43806bfbc..731a0582e 100644
--- a/net/rclone/Makefile
+++ b/net/rclone/Makefile
@@ -20,7 +20,7 @@ PKG_MAINTAINER:=Elon Huang <elonhhuang@gmail.com> \
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/rclone/rclone
GO_PKG_EXCLUDES:=test
diff --git a/net/reaver/Makefile b/net/reaver/Makefile
index a95529e6e..7d8dd3958 100644
--- a/net/reaver/Makefile
+++ b/net/reaver/Makefile
@@ -20,7 +20,7 @@ PKG_HASH:=e329a0da0b6dd888916046535ff86a6aa144644561937954e560bb1810ab6702
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=docs/LICENSE
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_AUTOMAKE_PATHS:=src
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
diff --git a/net/restic-rest-server/Makefile b/net/restic-rest-server/Makefile
index e33e46dcc..fedd526fa 100644
--- a/net/restic-rest-server/Makefile
+++ b/net/restic-rest-server/Makefile
@@ -15,7 +15,7 @@ PKG_MAINTAINER:=Tom Stöveken <tom@naaa.de>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/restic/rest-server/
GO_PKG_BUILD_PKG:=github.com/restic/rest-server/cmd/rest-server/
diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile
index fe6953e28..7bd094f74 100644
--- a/net/shadowsocks-libev/Makefile
+++ b/net/shadowsocks-libev/Makefile
@@ -27,7 +27,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=c-ares pcre
diff --git a/net/sing-box/Makefile b/net/sing-box/Makefile
index 15d4368f6..a20a2b401 100644
--- a/net/sing-box/Makefile
+++ b/net/sing-box/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Van Waholtz <brvphoenix@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/sagernet/sing-box
GO_PKG_BUILD_PKG:=$(GO_PKG)/cmd/sing-box
diff --git a/net/snowflake/Makefile b/net/snowflake/Makefile
index cba160c64..c29fe98d4 100644
--- a/net/snowflake/Makefile
+++ b/net/snowflake/Makefile
@@ -15,7 +15,7 @@ PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>, Nick Hainke <vincent@syste
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=git.torproject.org/pluggable-transports/snowflake.git/v2
diff --git a/net/tailscale/Makefile b/net/tailscale/Makefile
index 6dd8fb7aa..b3d280f35 100644
--- a/net/tailscale/Makefile
+++ b/net/tailscale/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/tailscale-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=\
tailscale.com/cmd/tailscale \
diff --git a/net/tgt/Makefile b/net/tgt/Makefile
index fe3f2f111..2a5c113c1 100644
--- a/net/tgt/Makefile
+++ b/net/tgt/Makefile
@@ -15,7 +15,7 @@ PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=GPL-2.0-only
PKG_CPE_ID:=cpe:/a:zaal:tgt
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/net/tor-fw-helper/Makefile b/net/tor-fw-helper/Makefile
index f0a6d438d..e46159d12 100644
--- a/net/tor-fw-helper/Makefile
+++ b/net/tor-fw-helper/Makefile
@@ -23,7 +23,7 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=git.torproject.org/tor-fw-helper.git
diff --git a/net/trojan-go/Makefile b/net/trojan-go/Makefile
index 0fe239e0e..1f05030e7 100644
--- a/net/trojan-go/Makefile
+++ b/net/trojan-go/Makefile
@@ -18,7 +18,7 @@ PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/p4gefau1t/trojan-go
GO_PKG_BUILD_PKG:=$(GO_PKG)
diff --git a/net/v2ray-core/Makefile b/net/v2ray-core/Makefile
index 1263b9dcc..49980c364 100644
--- a/net/v2ray-core/Makefile
+++ b/net/v2ray-core/Makefile
@@ -18,7 +18,7 @@ PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/v2fly/v2ray-core/v5
GO_PKG_BUILD_PKG:=$(GO_PKG)/main
diff --git a/net/v2raya/Makefile b/net/v2raya/Makefile
index 9bb77c928..4339635ed 100644
--- a/net/v2raya/Makefile
+++ b/net/v2raya/Makefile
@@ -19,7 +19,7 @@ PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/v2rayA/v2rayA
GO_PKG_LDFLAGS_X:= \
diff --git a/net/wifi-presence/Makefile b/net/wifi-presence/Makefile
index 6f9f6f89b..8a0bd79ea 100644
--- a/net/wifi-presence/Makefile
+++ b/net/wifi-presence/Makefile
@@ -13,7 +13,7 @@ PKG_MAINTAINER:=Adam Williams <pwnfactory@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/awilliams/wifi-presence
GO_PKG_BUILD_PKG:=$(GO_PKG)/cmd/wifi-presence
diff --git a/net/xray-core/Makefile b/net/xray-core/Makefile
index eb5246b40..fe5843287 100644
--- a/net/xray-core/Makefile
+++ b/net/xray-core/Makefile
@@ -15,7 +15,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/Xray-core-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/xtls/xray-core
GO_PKG_BUILD_PKG:=github.com/xtls/xray-core/main
diff --git a/net/yggdrasil/Makefile b/net/yggdrasil/Makefile
index bdc3157e4..a40a9f5be 100644
--- a/net/yggdrasil/Makefile
+++ b/net/yggdrasil/Makefile
@@ -15,7 +15,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/yggdrasil-network/yggdrasil-go
GO_PKG_BUILD_PKG:=github.com/yggdrasil-network/yggdrasil-go/cmd/...
diff --git a/net/znc/Makefile b/net/znc/Makefile
index 694247e36..20af11197 100644
--- a/net/znc/Makefile
+++ b/net/znc/Makefile
@@ -21,7 +21,7 @@ PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:znc:znc
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_CONFIG_DEPENDS:= CONFIG_ZNC_ICU
diff --git a/net/ztdns/Makefile b/net/ztdns/Makefile
index d5517cd89..21ba5991f 100644
--- a/net/ztdns/Makefile
+++ b/net/ztdns/Makefile
@@ -16,7 +16,7 @@ PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/uxbh/ztdns
diff --git a/sound/mpd/Makefile b/sound/mpd/Makefile
index b330a8ae1..732e23c87 100644
--- a/sound/mpd/Makefile
+++ b/sound/mpd/Makefile
@@ -22,7 +22,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_BUILD_PATENTED \
CONFIG_IPV6 \
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
diff --git a/sound/owntone/Makefile b/sound/owntone/Makefile
index 6619a55bc..0c4ba66a9 100644
--- a/sound/owntone/Makefile
+++ b/sound/owntone/Makefile
@@ -16,7 +16,7 @@ PKG_SOURCE_URL:=https://github.com/owntone/owntone-server/releases/download/$(PK
PKG_HASH:=c9ee0152dc488f782a25a68e72d24c109882bef3dd2914315fe499c8415fd898
PKG_FIXUP:=autoreconf
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_INSTALL:=1
PKG_MAINTAINER:=Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
diff --git a/sound/pulseaudio/Makefile b/sound/pulseaudio/Makefile
index bfc36bd86..0b400a42e 100644
--- a/sound/pulseaudio/Makefile
+++ b/sound/pulseaudio/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=GPL LICENSE
PKG_CPE_ID:=cpe:/a:pulseaudio:pulseaudio
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
diff --git a/sound/shine/Makefile b/sound/shine/Makefile
index 680377aa2..c645f39f7 100644
--- a/sound/shine/Makefile
+++ b/sound/shine/Makefile
@@ -21,7 +21,7 @@ PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/utils/audit/Makefile b/utils/audit/Makefile
index 80f3416c8..b376a18d6 100644
--- a/utils/audit/Makefile
+++ b/utils/audit/Makefile
@@ -21,7 +21,7 @@ PKG_CPE_ID:=cpe:/a:linux_audit_project:linux_audit
PKG_FIXUP:=autoreconf
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-packages/$(PKG_NAME)-$(PKG_VERSION)
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/utils/cni-plugins-nft/Makefile b/utils/cni-plugins-nft/Makefile
index b82a162b7..771f728e8 100644
--- a/utils/cni-plugins-nft/Makefile
+++ b/utils/cni-plugins-nft/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/greenpau/cni-plugins/
GO_PKG_BUILD_PKG:=github.com/greenpau/cni-plugins/cmd/cni-nftables-portmap \
diff --git a/utils/cni-plugins/Makefile b/utils/cni-plugins/Makefile
index 31495b68c..3615de5f4 100644
--- a/utils/cni-plugins/Makefile
+++ b/utils/cni-plugins/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>, Paul Spooren <mail@aparcar
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/containernetworking/plugins/
GO_PKG_BUILD_PKG:=github.com/containernetworking/plugins/plugins/main/... \
diff --git a/utils/cni/Makefile b/utils/cni/Makefile
index 8a04e5843..aeb7161fd 100644
--- a/utils/cni/Makefile
+++ b/utils/cni/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>, Paul Spooren <mail@aparcar
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/containernetworking/cni/
GO_PKG_BUILD_PKG:=github.com/containernetworking/cni/cnitool
@@ -22,7 +22,6 @@ GO_PKG_BUILD_PKG:=github.com/containernetworking/cni/cnitool
include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk
-PKG_USE_MIPS16:=0
GO_PKG_BUILD_VARS += GO111MODULE=auto
define Package/cni
diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile
index 270d93d7f..acbe85aa1 100644
--- a/utils/collectd/Makefile
+++ b/utils/collectd/Makefile
@@ -23,7 +23,7 @@ PKG_CPE_ID:=cpe:/a:collectd:collectd
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_CONFIG_DEPENDS:= \
PACKAGE_COLLECTD_ENCRYPTED_NETWORK \
diff --git a/utils/containerd/Makefile b/utils/containerd/Makefile
index 2181235df..bfb07c5a9 100644
--- a/utils/containerd/Makefile
+++ b/utils/containerd/Makefile
@@ -15,7 +15,7 @@ PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/containerd/containerd
diff --git a/utils/coremark/Makefile b/utils/coremark/Makefile
index dc7c13eeb..aead11c66 100644
--- a/utils/coremark/Makefile
+++ b/utils/coremark/Makefile
@@ -22,7 +22,7 @@ PKG_MAINTAINER:=Lim Guo Wei <limguowei@gmail.com> \
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE.md
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/utils/ctop/Makefile b/utils/ctop/Makefile
index 65180fad6..09b8722b0 100644
--- a/utils/ctop/Makefile
+++ b/utils/ctop/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/bcicen/ctop
diff --git a/utils/docker-compose/Makefile b/utils/docker-compose/Makefile
index b172870e0..6ea5c0e59 100644
--- a/utils/docker-compose/Makefile
+++ b/utils/docker-compose/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/docker/compose/v2
GO_PKG_BUILD_PKG:=github.com/docker/compose/v2/cmd
diff --git a/utils/docker/Makefile b/utils/docker/Makefile
index 7586bd4dc..e099a5dce 100644
--- a/utils/docker/Makefile
+++ b/utils/docker/Makefile
@@ -17,7 +17,7 @@ PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=$(PKG_GIT_URL)
diff --git a/utils/dockerd/Makefile b/utils/dockerd/Makefile
index 4246fe1ad..80cdf0531 100644
--- a/utils/dockerd/Makefile
+++ b/utils/dockerd/Makefile
@@ -17,7 +17,7 @@ PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/docker/docker
diff --git a/utils/domoticz/Makefile b/utils/domoticz/Makefile
index 8fde8c25a..a480caae0 100644
--- a/utils/domoticz/Makefile
+++ b/utils/domoticz/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=GPL-3.0
PKG_LICENSE_FILES:=License.txt
PKG_BUILD_DEPENDS:=python3 minizip cereal
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
diff --git a/utils/haveged/Makefile b/utils/haveged/Makefile
index 05cdc5929..bbb60cff6 100644
--- a/utils/haveged/Makefile
+++ b/utils/haveged/Makefile
@@ -20,7 +20,7 @@ PKG_LICENSE:=GPLv3
PKG_MAINTAINER:=Hannu Nyman <hannu.nyman@iki.fi>
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
diff --git a/utils/librespeed-cli/Makefile b/utils/librespeed-cli/Makefile
index a816fdaec..07117a8d4 100644
--- a/utils/librespeed-cli/Makefile
+++ b/utils/librespeed-cli/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/speedtest-cli-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/librespeed/speedtest-cli
diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile
index 94b606afc..15ebd3001 100644
--- a/utils/lxc/Makefile
+++ b/utils/lxc/Makefile
@@ -19,7 +19,7 @@ PKG_HASH:=bea08d2e49efcee34fa58acd2bc95c0adc64d291c07f4cfaf4ac1d8ac5a36f45
PKG_MAINTAINER:=Marko Ratkaj <markoratkaj@gmail.com>
PKG_LICENSE:=LGPL-2.1-or-later BSD-2-Clause GPL-2.0
PKG_LICENSE_FILES:=COPYING LICENSE.GPL2 LICENSE.LGPL2.1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk
diff --git a/utils/mariadb/Makefile b/utils/mariadb/Makefile
index 6bbf2f657..1f9f50922 100644
--- a/utils/mariadb/Makefile
+++ b/utils/mariadb/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=COPYING THIRDPARTY
PKG_CPE_ID:=cpe:/a:mariadb:mariadb
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
HOST_BUILD_DEPENDS:=libxml2/host
# Without libevent2 tests/async_queries sporadically fails on the bots
diff --git a/utils/miniflux/Makefile b/utils/miniflux/Makefile
index 99a7f34ff..3d633c30a 100644
--- a/utils/miniflux/Makefile
+++ b/utils/miniflux/Makefile
@@ -22,7 +22,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/v2-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=miniflux.app
GO_PKG_LDFLAGS_X:=miniflux.app/version.Version=$(PKG_VERSION)
diff --git a/utils/oci-runtime-tools/Makefile b/utils/oci-runtime-tools/Makefile
index e0ae1126c..7b69ddebb 100644
--- a/utils/oci-runtime-tools/Makefile
+++ b/utils/oci-runtime-tools/Makefile
@@ -17,7 +17,7 @@ PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/opencontainers/runtime-tools/
GO_PKG_LDFLAGS_X:=main.gitCommit=$(PKG_SOURCE_VERSION) main.version=$(PKG_SOURCE_VERSION)
diff --git a/utils/podman/Makefile b/utils/podman/Makefile
index 4584f4a2c..441082cb0 100644
--- a/utils/podman/Makefile
+++ b/utils/podman/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
PKG_BUILD_DEPENDS:=golang/host protobuf/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/utils/prometheus-statsd-exporter/Makefile b/utils/prometheus-statsd-exporter/Makefile
index e9682a543..27c7a958b 100644
--- a/utils/prometheus-statsd-exporter/Makefile
+++ b/utils/prometheus-statsd-exporter/Makefile
@@ -15,7 +15,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/prometheus/statsd_exporter
diff --git a/utils/prometheus/Makefile b/utils/prometheus/Makefile
index b06f667dc..c511b70dd 100644
--- a/utils/prometheus/Makefile
+++ b/utils/prometheus/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Paul Spooren <mail@aparcar.org>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/prometheus/prometheus/
GO_PKG_BUILD_PKG:=github.com/prometheus/prometheus/cmd/prometheus/
diff --git a/utils/qemu/Makefile b/utils/qemu/Makefile
index 7f97b392c..8e5819c40 100644
--- a/utils/qemu/Makefile
+++ b/utils/qemu/Makefile
@@ -21,7 +21,7 @@ PKG_CPE_ID:=cpe:/a:qemu:qemu
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_DEPENDS+=spice-protocol
diff --git a/utils/restic/Makefile b/utils/restic/Makefile
index e3cde4282..7f08ccf4f 100644
--- a/utils/restic/Makefile
+++ b/utils/restic/Makefile
@@ -14,7 +14,7 @@ PKG_MAINTAINER:=Tom Stöveken <tom@naaa.de>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/restic/restic/
GO_PKG_BUILD_PKG:=github.com/restic/restic/cmd/restic/
diff --git a/utils/runc/Makefile b/utils/runc/Makefile
index 568f26ef3..ea2529184 100644
--- a/utils/runc/Makefile
+++ b/utils/runc/Makefile
@@ -15,7 +15,7 @@ PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/opencontainers/runc
diff --git a/utils/syncthing/Makefile b/utils/syncthing/Makefile
index ecd21ad7d..be1d98372 100644
--- a/utils/syncthing/Makefile
+++ b/utils/syncthing/Makefile
@@ -17,7 +17,7 @@ PKG_CPE_ID:=cpe:/a:syncthing:syncthing
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/syncthing/syncthing
GO_PKG_BUILD_PKG:=\
diff --git a/utils/telegraf/Makefile b/utils/telegraf/Makefile
index c0a5676b2..d8764e167 100644
--- a/utils/telegraf/Makefile
+++ b/utils/telegraf/Makefile
@@ -16,7 +16,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/influxdata/telegraf
GO_PKG_BUILD_PKG:=github.com/influxdata/telegraf/cmd/telegraf
diff --git a/utils/yq/Makefile b/utils/yq/Makefile
index 4349a9898..4f5bfd373 100644
--- a/utils/yq/Makefile
+++ b/utils/yq/Makefile
@@ -14,7 +14,7 @@ PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
-PKG_USE_MIPS16:=0
+PKG_BUILD_FLAGS:=no-mips16
GO_PKG:=github.com/mikefarah/yq/v4
GO_PKG_LDFLAGS_X:=$(GO_PKG)/cmd.Version=$(PKG_VERSION)