[openwrt/openwrt] musl: allow autorebuild

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


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

commit 13a5cb9d2b185a21b514af989a4fa607329a3df0
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Jan 24 16:43:28 2018 +0100

    musl: allow autorebuild
    
    Autorebuild is disabled for the toolchain to avoid build-order issues.
    However, rebuilding musl is safe, so exclude it from that restriction.
    Avoids the need for manual cleaning on kernel header <-> libc API
    changes like the ones introduced recently
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 toolchain/musl/common.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk
index 8350197..4b53d4b 100644
--- a/toolchain/musl/common.mk
+++ b/toolchain/musl/common.mk
@@ -21,9 +21,11 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
 LIBC_SO_VERSION:=$(PKG_VERSION)
 PATCH_DIR:=$(PATH_PREFIX)/patches
 
+BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
+HOST_BUILD_PREFIX:=$(TOOLCHAIN_DIR)
 HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)-$(PKG_VERSION)
 
-include $(INCLUDE_DIR)/toolchain-build.mk
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/hardening.mk
 
 MUSL_CONFIGURE:= \



More information about the lede-commits mailing list