mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	uClibc: fix headers install on prepare with QUILT=1
SVN-Revision: 24100
This commit is contained in:
		
							parent
							
								
									ff46ed446d
								
							
						
					
					
						commit
						c0915e5983
					
				@ -68,6 +68,12 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
 | 
				
			|||||||
define Host/Prepare
 | 
					define Host/Prepare
 | 
				
			||||||
	$(call Host/SetToolchainInfo)
 | 
						$(call Host/SetToolchainInfo)
 | 
				
			||||||
	$(call Host/Prepare/Default)
 | 
						$(call Host/Prepare/Default)
 | 
				
			||||||
 | 
						$(if $(strip $(QUILT)), \
 | 
				
			||||||
 | 
							cd $(HOST_BUILD_DIR); \
 | 
				
			||||||
 | 
							if $(QUILT_CMD) next >/dev/null 2>&1; then \
 | 
				
			||||||
 | 
								$(QUILT_CMD) push -a; \
 | 
				
			||||||
 | 
							fi
 | 
				
			||||||
 | 
						)
 | 
				
			||||||
	ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
 | 
						ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
 | 
				
			||||||
	$(GEN_CONFIG) > $(HOST_BUILD_DIR)/.config
 | 
						$(GEN_CONFIG) > $(HOST_BUILD_DIR)/.config
 | 
				
			||||||
	$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(BUILD_DIR_TOOLCHAIN)/linux-dev/include\",g' \
 | 
						$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(BUILD_DIR_TOOLCHAIN)/linux-dev/include\",g' \
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user