summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-27 18:11:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-27 18:33:55 +0100
commite88b2dabb69234dbfab57592faf9737a7cd226da (patch)
tree84e83df4427bfed063ea1715753fd4de3e03b873 /toolchain/gcc
parent9135ff3195668f9eb8b7b12f60d047e295e50b8a (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/gcc')
-rw-r--r--toolchain/gcc/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
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