musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step
Avoids Build/Prepare quilt related hacks Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		| @@ -39,18 +39,8 @@ MUSL_CONFIGURE:= \ | |||||||
| 		--disable-gcc-wrapper \ | 		--disable-gcc-wrapper \ | ||||||
| 		--enable-debug | 		--enable-debug | ||||||
|  |  | ||||||
| define Host/Prepare |  | ||||||
| 	$(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) |  | ||||||
| endef |  | ||||||
|  |  | ||||||
| define Host/Configure | define Host/Configure | ||||||
|  | 	ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) | ||||||
| 	( cd $(HOST_BUILD_DIR); rm -f config.cache; \ | 	( cd $(HOST_BUILD_DIR); rm -f config.cache; \ | ||||||
| 		$(MUSL_CONFIGURE) \ | 		$(MUSL_CONFIGURE) \ | ||||||
| 	); | 	); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau