diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-27 18:11:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-12-27 18:33:55 +0100 |
commit | e88b2dabb69234dbfab57592faf9737a7cd226da (patch) | |
tree | 84e83df4427bfed063ea1715753fd4de3e03b873 /toolchain | |
parent | 9135ff3195668f9eb8b7b12f60d047e295e50b8a (diff) |
optimize git downloader
We now can use a GIT Hash to set a specific checkout.
If this is used, you need to define PKG_HASH.
Convert libx264 and wiringPi to the new git downloader.
Fix toolchains components to use the new git downloader.
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/Makefile.inc | 2 | ||||
-rw-r--r-- | toolchain/gcc/Makefile.inc | 7 | ||||
-rw-r--r-- | toolchain/musl/Makefile.inc | 8 | ||||
-rw-r--r-- | toolchain/uclibc/Makefile.inc | 7 |
4 files changed, 17 insertions, 7 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc index 746b6e958..f81e5a80c 100644 --- a/toolchain/binutils/Makefile.inc +++ b/toolchain/binutils/Makefile.inc @@ -35,6 +35,6 @@ endif ifeq ($(ADK_TOOLCHAIN_BINUTILS_GIT),y) PKG_VERSION:= git PKG_RELEASE:= 1 -PKG_REPO:= git://sourceware.org/git/binutils-gdb.git +PKG_SITES:= git://sourceware.org/git/binutils-gdb.git DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz endif diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc index da314a8c8..65bbeba52 100644 --- a/toolchain/gcc/Makefile.inc +++ b/toolchain/gcc/Makefile.inc @@ -51,3 +51,10 @@ PKG_RELEASE:= 1 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz LIBSTDCXXVER:= 19 endif +ifeq ($(ADK_TOOLCHAIN_GCC_GIT),y) +PKG_VERSION:= git +PKG_SITES:= git://gcc.gnu.org/git/gcc.git +PKG_RELEASE:= 1 +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz +LIBSTDCXXVER:= 19 +endif diff --git a/toolchain/musl/Makefile.inc b/toolchain/musl/Makefile.inc index 4fd2e0902..e8e6ea767 100644 --- a/toolchain/musl/Makefile.inc +++ b/toolchain/musl/Makefile.inc @@ -4,11 +4,13 @@ PKG_NAME:= musl ifeq ($(ADK_LIBC_VERSION),git) PKG_VERSION:= git -PKG_REPO:= git://git.musl-libc.org/musl +PKG_RELEASE:= 1 +PKG_SITES:= git://git.musl-libc.org/musl +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz else PKG_VERSION:= $(ADK_LIBC_VERSION) -PKG_SITES:= http://www.musl-libc.org/releases/ -endif PKG_RELEASE:= 1 PKG_HASH:= 352362b1724cc9740f4c3ce0fe02aae45e4de9809ea4ac961f31aedc11b87393 +PKG_SITES:= http://www.musl-libc.org/releases/ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +endif diff --git a/toolchain/uclibc/Makefile.inc b/toolchain/uclibc/Makefile.inc index 70d1132ba..05647793e 100644 --- a/toolchain/uclibc/Makefile.inc +++ b/toolchain/uclibc/Makefile.inc @@ -5,11 +5,12 @@ PKG_NAME:= uClibc ifeq ($(ADK_LIBC_VERSION),git) PKG_VERSION:= 0.9.34-git PKG_RELEASE:= 1 -PKG_REPO:= git://git.uclibc.org/uClibc.git +PKG_SITES:= git://git.uclibc.org/uClibc.git +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz else PKG_VERSION:= $(ADK_LIBC_VERSION) PKG_RELEASE:= 1 -PKG_SITES:= http://uclibc.org/downloads/ -endif PKG_HASH:= 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 +PKG_SITES:= http://uclibc.org/downloads/ DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz +endif |