summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/glibc/Makefile.inc9
-rw-r--r--toolchain/musl/Makefile.inc9
2 files changed, 14 insertions, 4 deletions
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index f5f397d35..287254733 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -2,10 +2,15 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= glibc
-PKG_VERSION:= 2.19
+ifeq ($(ADK_LIBC_VERSION),git)
+PKG_VERSION:= git
+PKG_REPO:= git://sourceware.org/git/glibc.git
+else
+PKG_VERSION:= $(ADK_LIBC_VERSION)
+PKG_SITES:= ${MASTER_SITE_GNU:=glibc/}
+endif
PKG_RELEASE:= 1
PKG_MD5SUM:= e26b8cc666b162f999404b03970f14e4
-PKG_SITES:= ${MASTER_SITE_GNU:=glibc/}
GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
--host=$(GNU_TARGET_NAME) \
--with-headers=$(STAGING_TARGET_DIR)/usr/include \
diff --git a/toolchain/musl/Makefile.inc b/toolchain/musl/Makefile.inc
index 067a371d4..9b0fb88b8 100644
--- a/toolchain/musl/Makefile.inc
+++ b/toolchain/musl/Makefile.inc
@@ -2,8 +2,13 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= musl
-PKG_VERSION:= 1.1.4
+ifeq ($(ADK_LIBC_VERSION),git)
+PKG_VERSION:= git
+PKG_REPO:= git://git.musl-libc.org/musl
+else
+PKG_VERSION:= $(ADK_LIBC_VERSION)
+PKG_SITES:= http://www.musl-libc.org/releases/
+endif
PKG_RELEASE:= 1
PKG_MD5SUM:= f18f3bdbe088438cd64a5313c19a7312
-PKG_SITES:= http://www.musl-libc.org/releases/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz