diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-01-24 16:46:22 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-01-25 10:54:14 +0100 |
commit | 074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb (patch) | |
tree | cdfecdff8b02d553b4c28e2bddaf29fb4f398de0 /toolchain | |
parent | 13a5cb9d2b185a21b514af989a4fa607329a3df0 (diff) | |
download | upstream-074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb.tar.gz upstream-074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb.tar.bz2 upstream-074fa8dfe42c525f4ac21e9f11e912d49ae1c5eb.zip |
musl: move BUILD_DIR_TOOLCHAIN/musl symlink to configure step
Avoids Build/Prepare quilt related hacks
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/musl/common.mk | 12 |
1 files changed, 1 insertions, 11 deletions
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) \ ); |