summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-01-24 16:46:22 +0100
committerFelix Fietkau <nbd@nbd.name>2018-01-25 10:54:14 +0100
commit074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb (patch)
treecdfecdff8b02d553b4c28e2bddaf29fb4f398de0
parent13a5cb9d2b185a21b514af989a4fa607329a3df0 (diff)
downloadmtk-20170518-074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb.zip
mtk-20170518-074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb.tar.gz
mtk-20170518-074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb.tar.bz2
musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step
Avoids Build/Prepare quilt related hacks Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--toolchain/musl/common.mk12
1 files changed, 1 insertions, 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) \
);