mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	uboot-zynq: fix build on hosts lacking pkg-config
The uboot-mvebu package incorrectly used the host pkg-config for the tool build parts, which broke the build on systems lacking pkg-config and only worked by accident on those that have it installed. Export the host-build specific environment variables for the uboot build to redirect pkg-config invocations to our staged host build pkg-config in buildroot. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
		
							parent
							
								
									208b984dda
								
							
						
					
					
						commit
						1289e00fff
					
				@ -14,6 +14,7 @@ PKG_HASH:=e49337262ecac44dbdeac140f2c6ebd1eba345e0162b0464172e7f05583ed7bb
 | 
			
		||||
include $(INCLUDE_DIR)/kernel.mk
 | 
			
		||||
include $(INCLUDE_DIR)/u-boot.mk
 | 
			
		||||
include $(INCLUDE_DIR)/package.mk
 | 
			
		||||
include $(INCLUDE_DIR)/host-build.mk
 | 
			
		||||
 | 
			
		||||
define U-Boot/Default
 | 
			
		||||
  BUILD_TARGET:=zynq
 | 
			
		||||
@ -42,4 +43,6 @@ UBOOT_TARGETS := \
 | 
			
		||||
	zed \
 | 
			
		||||
	zybo
 | 
			
		||||
 | 
			
		||||
Build/Exports:=$(Host/Exports)
 | 
			
		||||
 | 
			
		||||
$(eval $(call BuildPackage/U-Boot))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user