[openwrt/openwrt] build: remove backwards compatibility for PKG_USE_MIPS16

LEDE Commits lede-commits at lists.infradead.org
Fri May 12 04:16:56 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d440ebb2a80b8ac98d7f5d6025b7946ab824b084

commit d440ebb2a80b8ac98d7f5d6025b7946ab824b084
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Thu Mar 23 10:13:43 2023 +0100

    build: remove backwards compatibility for PKG_USE_MIPS16
    
    All package feeds have been refactored to PKG_BUILD_FLAGS:=no-mips16.
    
    Signed-off-by: Andre Heider <a.heider at gmail.com>
---
 include/package.mk | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/package.mk b/include/package.mk
index d80f3bce49..f03cb15f05 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -24,12 +24,6 @@ PKG_JOBS?=$(if $(PKG_BUILD_PARALLEL),$(MAKE_J),-j1)
 endif
 
 PKG_BUILD_FLAGS?=
-# TODO remove this when all packages moved to PKG_BUILD_FLAGS=no-mips16
-PKG_USE_MIPS16?=1
-ifneq ($(strip $(PKG_USE_MIPS16)),1)
-  PKG_BUILD_FLAGS+=no-mips16
-endif
-
 __unknown_flags=$(filter-out no-iremap no-mips16 gc-sections no-gc-sections lto no-lto,$(PKG_BUILD_FLAGS))
 ifneq ($(__unknown_flags),)
   $(error unknown PKG_BUILD_FLAGS: $(__unknown_flags))




More information about the lede-commits mailing list