Browse Source

fix git version for gdb

Waldemar Brodkorb 9 years ago
parent
commit
cff08d4c80
1 changed files with 6 additions and 0 deletions
  1. 6 0
      toolchain/gdb/Makefile.inc

+ 6 - 0
toolchain/gdb/Makefile.inc

@@ -24,3 +24,9 @@ PKG_SITES:=		http://distfiles.openadk.org/
 DISTFILES:=		gdb-6.7.1-avr32-2.1.5.tar.bz2
 WRKDIST=		$(WRKDIR)/gdb-6.7.1-avr32-2.1.5
 endif
+ifeq ($(ADK_TOOLCHAIN_GDB_GIT),y)
+PKG_VERSION:=		git
+PKG_RELEASE:=		1
+PKG_SITES:=		git://sourceware.org/git/binutils-gdb.git
+DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif