summaryrefslogtreecommitdiff
path: root/cross/nios2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-06-19 16:20:27 +0000
committerwiz <wiz@pkgsrc.org>2016-06-19 16:20:27 +0000
commitdb7abbc353d1b10197fc3827e5c8f8b06fa1dc82 (patch)
tree01ba272d9a2bb0fea62601f35282981211e965d0 /cross/nios2
parentf747b173881bcd7657b1d4adb6179cffcde36973 (diff)
downloadpkgsrc-db7abbc353d1b10197fc3827e5c8f8b06fa1dc82.tar.gz
Move remaining users of USE_CROSSBASE to just install into ${PREFIX}/cross.
To simplify infrastructure. Ok joerg@ XXX: nios2-gcc3 loops endlessly during build, before and after change, so untested. XXX: nios2-gcc does not build on -current, in the same way before and after the change, so untested.
Diffstat (limited to 'cross/nios2')
-rw-r--r--cross/nios2/Makefile.common10
1 files changed, 4 insertions, 6 deletions
diff --git a/cross/nios2/Makefile.common b/cross/nios2/Makefile.common
index b10a46efd68..9dc2e6fc8b5 100644
--- a/cross/nios2/Makefile.common
+++ b/cross/nios2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2014/01/27 18:41:11 wiz Exp $ -*- Makefile -*-
+# $NetBSD: Makefile.common,v 1.5 2016/06/19 16:20:28 wiz Exp $ -*- Makefile -*-
#
# used by cross/nios2-binutils/Makefile
# used by cross/nios2-gcc/Makefile
@@ -12,15 +12,13 @@ MASTER_SITES= https://sourcery.mentor.com/GNUToolchain/package11649/public/nios
EXTRACT_SUFX= .tar.bz2
GNU_CONFIGURE= yes
-INFO_FILES= #empty
-USE_PKGLOCALEDIR= yes
+INFO_FILES= yes
NIOS2_TARGET?= nios2-elf
PLIST_SUBST+= NIOS2_TARGET=${NIOS2_TARGET:Q}
-USE_CROSSBASE= yes
-BUILD_DEFS+= CROSSBASE
-PATH:= ${CROSSBASE}/bin:${PATH}
+GNU_CONFIGURE_PREFIX= ${PREFIX}/cross
+PATH:= ${PREFIX}/cross/bin:${PATH}
BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
# MASTER_SITES with https:// and FETCH_USING= curl