[openwrt/openwrt] musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 25 01:54:38 PST 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb

commit 074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jan 24 16:46:22 2018 +0100

    musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step
    
    Avoids Build/Prepare quilt related hacks
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 toolchain/musl/common.mk | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk
index 4b53d4b..497aa8d 100644
--- a/toolchain/musl/common.mk
+++ b/toolchain/musl/common.mk
@@ -39,18 +39,8 @@ MUSL_CONFIGURE:= \
 		--disable-gcc-wrapper \
 		--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
+	ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
 	( cd $(HOST_BUILD_DIR); rm -f config.cache; \
 		$(MUSL_CONFIGURE) \
 	);



More information about the lede-commits mailing list