From: Felix Fietkau Date: Wed, 24 Jan 2018 15:46:22 +0000 (+0100) Subject: musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb;p=librecmc%2Flibrecmc.git musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step Avoids Build/Prepare quilt related hacks Signed-off-by: Felix Fietkau --- diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk index 4b53d4b556..497aa8df0d 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) \ );