From 074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 24 Jan 2018 16:46:22 +0100 Subject: [PATCH] musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step Avoids Build/Prepare quilt related hacks Signed-off-by: Felix Fietkau --- 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 4b53d4b556c..497aa8df0d8 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) \ );