From de750029f42feb180f12671fa9a8e17a49432fe2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 24 Feb 2014 21:10:11 +0000 Subject: toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer to being functional than before) Signed-off-by: Felix Fietkau SVN-Revision: 39750 --- toolchain/musl/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'toolchain/musl/Makefile') diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile index f95bb05..66b874e 100644 --- a/toolchain/musl/Makefile +++ b/toolchain/musl/Makefile @@ -7,6 +7,10 @@ HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.musl_installed HOST_BUILD_PARALLEL:=1 +MUSL_MAKEOPTS = -C $(HOST_BUILD_DIR) \ + DESTDIR="$(TOOLCHAIN_DIR)/" \ + LIBCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" + define Host/SetToolchainInfo $(SED) 's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),' $(TOOLCHAIN_DIR)/info.mk $(SED) 's,^\(LIBC_URL\)=.*,\1=http://www.musl-libc.org/,' $(TOOLCHAIN_DIR)/info.mk @@ -15,12 +19,12 @@ define Host/SetToolchainInfo endef define Host/Compile - $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) all + $(MAKE) $(HOST_JOBS) $(MUSL_MAKEOPTS) all endef define Host/Install $(call Host/SetToolchainInfo) - $(MAKE) -C $(HOST_BUILD_DIR) DESTDIR="$(TOOLCHAIN_DIR)/" install + $(MAKE) $(MUSL_MAKEOPTS) DESTDIR="$(TOOLCHAIN_DIR)/" install endef $(eval $(call HostBuild)) -- cgit v1.1