mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	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@gmail.com>
This commit is contained in:
		
							parent
							
								
									1fda304d8e
								
							
						
					
					
						commit
						d440ebb2a8
					
				@ -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))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user