Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 01:46:47 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393754 - head/sysutils/u-boot-duovero
Message-ID:  <201508090146.t791klks072900@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian (src committer)
Date: Sun Aug  9 01:46:46 2015
New Revision: 393754
URL: https://svnweb.freebsd.org/changeset/ports/393754

Log:
  Use gcc 4.9.2 to cross-compile u-boot for duovero.
  
  Approved by:	rpaulo

Modified:
  head/sysutils/u-boot-duovero/Makefile

Modified: head/sysutils/u-boot-duovero/Makefile
==============================================================================
--- head/sysutils/u-boot-duovero/Makefile	Sun Aug  9 01:44:22 2015	(r393753)
+++ head/sysutils/u-boot-duovero/Makefile	Sun Aug  9 01:46:46 2015	(r393754)
@@ -11,7 +11,9 @@ COMMENT=	Cross-build U-Boot loader for D
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=  arm-none-eabi-gcc:${PORTSDIR}/devel/arm-none-eabi-gcc
+BUILD_DEPENDS=	${CROSS_GCC}:${PORTSDIR}/devel/arm-none-eabi-gcc492
+
+CROSS_GCC=	arm-none-eabi-gcc-4.9.2
 
 NO_ARCH=	yes
 
@@ -25,6 +27,7 @@ PLIST_FILES=	${U_BOOT_DIR}/u-boot.img \
 		${U_BOOT_DIR}/README
 
 MAKE_ARGS+=	ARCH=arm \
+		CC=${CROSS_GCC} \
 		CROSS_COMPILE=arm-none-eabi-
 
 do-configure:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508090146.t791klks072900>