X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d0c10785e702f0e56029aee4c4f8f9bfcf03a5e9..870ff6020cbbf82ee48adfd8d92e7156d1c57de6:/toolchain/uClibc/Makefile diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index e8407fb9c..42ff5abf4 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -10,11 +10,11 @@ include $(INCLUDE_DIR)/target.mk PKG_NAME:=uClibc PKG_VERSION:=$(call qstrip,$(CONFIG_UCLIBC_VERSION)) ifeq ($(CONFIG_UCLIBC_VERSION_NPTL),y) - PKG_SOURCE_URL:=http://www.uclibc.org/svn/branches/uClibc-nptl - PKG_SOURCE_PROTO:=svn - PKG_SOURCE_VERSION:=25804 + PKG_SOURCE_URL:=git://git.busybox.net/uClibc + PKG_SOURCE_PROTO:=git + PKG_SOURCE_VERSION:=0949826e9501e9f08767aeb476ea1464bf95f218 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) - PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-r$(PKG_SOURCE_VERSION).tar.gz + PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz LIBC_SO_VERSION:=0.9.30-svn else PKG_SOURCE_URL:=http://www.uclibc.org/downloads @@ -88,12 +88,13 @@ endef define Host/Configure endef -UCLIBC_MAKE := PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \ +UCLIBC_MAKE = PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=/ \ HOSTCC="$(HOSTCC)" \ CPU_CFLAGS="$(TARGET_CFLAGS)" \ + LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \ DOSTRIP="" define Host/Compile @@ -114,6 +115,7 @@ endef define Host/Install $(UCLIBC_MAKE) PREFIX= utils + $(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin $(INSTALL_DIR) $(TOOLCHAIN_DIR)/usr/bin $(INSTALL_BIN) \ $(HOST_BUILD_DIR)/utils/ldd \