summaryrefslogtreecommitdiff
path: root/cross/nios2/Makefile.common
diff options
context:
space:
mode:
authormef <mef>2013-11-18 06:41:27 +0000
committermef <mef>2013-11-18 06:41:27 +0000
commit63941e0f4f37fa7e153f984fbf21d36c16a3ee14 (patch)
treea9e292f1a63df8adf1ccb0ea388ae813783057f2 /cross/nios2/Makefile.common
parent24766010b8e8e462f4867e5f3351fad73b71287a (diff)
downloadpkgsrc-63941e0f4f37fa7e153f984fbf21d36c16a3ee14.tar.gz
As proposed in following mail:
http://mail-index.netbsd.org/pkgsrc-users/2013/11/16/msg018897.html (1) Import nios2-binutils 2.23 (CodeSourcery derived) from wip. (2) nios2-gcc41 now does not include nios2/Makefile.common, and unnecessary buildlink3 line to kpathsea removed. (3) Switch nios2/Makefile.common to provide above (1) package. (4) Import nios2-gcc 4.7.3 (CodeSourcery derived) from wip, including file (3) nios2/Makefile.common and DEPENDS (1) binutils. (5) Switch all gcc's, nios2-gcc{3,41} to DEPENDS above (1) binutils. (6) Delete nios2-binutils220 (2.20).
Diffstat (limited to 'cross/nios2/Makefile.common')
-rw-r--r--cross/nios2/Makefile.common18
1 files changed, 11 insertions, 7 deletions
diff --git a/cross/nios2/Makefile.common b/cross/nios2/Makefile.common
index 9511d8b73e0..8dad99a7049 100644
--- a/cross/nios2/Makefile.common
+++ b/cross/nios2/Makefile.common
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile.common,v 1.2 2013/11/16 07:41:00 mef Exp $
+# $NetBSD: Makefile.common,v 1.3 2013/11/18 06:41:27 mef Exp $ -*- Makefile -*-
#
-# used by cross/nios2-binutils220/Makefile
-# used by cross/nios2-gcc41/Makefile
+# used by cross/nios2-binutils/Makefile
+# used by cross/nios2-gcc/Makefile
# sentinel to avoid duplicate
.if !defined(NIOS2_MAKEFILECOMMON)
NIOS2_MAKEFILECOMMON= # yes
-
-MASTER_SITES= ftp://ftp.altera.com/outgoing/download/support/ip/processors/nios2/gnu/
-DISTNAME= nios2_gnu_gcc4_13.0
-EXTRACT_SUFX= .gz
+DISTNAME= sourceryg++-2013.05-43-nios2-linux-gnu.src
+CATEGORIES= cross
+MASTER_SITES= https://sourcery.mentor.com/GNUToolchain/package11649/public/nios2-linux-gnu/
+EXTRACT_SUFX= .tar.bz2
+FETCH_USING= curl
GNU_CONFIGURE= yes
+INFO_FILES= #empty
USE_PKGLOCALEDIR= yes
NIOS2_TARGET?= nios2-elf
@@ -22,6 +24,8 @@ BUILD_DEFS+= CROSSBASE
PATH:= ${CROSSBASE}/bin:${PATH}
BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
+# MASTER_SITES with https:// and FETCH_USING= curl
+BUILD_DEPENDS+= curl-[0-9]*:../../www/curl
.if defined(GNU_CONFIGURE)
CONFIGURE_ARGS= # reset