Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 01:38:56 +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: r393752 - head/sysutils/u-boot-rpi
Message-ID:  <201508090138.t791cusr068760@repo.freebsd.org>

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

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

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

Modified: head/sysutils/u-boot-rpi/Makefile
==============================================================================
--- head/sysutils/u-boot-rpi/Makefile	Sun Aug  9 01:37:34 2015	(r393751)
+++ head/sysutils/u-boot-rpi/Makefile	Sun Aug  9 01:38:55 2015	(r393752)
@@ -14,9 +14,11 @@ COMMENT=	Cross-build U-Boot loader for R
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=  arm-none-eabi-gcc:${PORTSDIR}/devel/arm-none-eabi-gcc \
+BUILD_DEPENDS=	${CROSS_GCC}:${PORTSDIR}/devel/arm-none-eabi-gcc492 \
 		gsed:${PORTSDIR}/textproc/gsed
 
+CROSS_GCC=	arm-none-eabi-gcc-4.9.2
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	gonzoua
 GH_PROJECT=	u-boot-pi
@@ -43,6 +45,7 @@ PLIST_FILES=	${U_BOOT_DIR}/u-boot.img \
 MAKE_ARGS+=	ARCH=arm \
 		CROSS_COMPILE=arm-none-eabi- \
 		HOSTCC=cc \
+		CC=${CROSS_GCC} \
 		SED=gsed
 
 do-configure:



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