Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 01:44:23 +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: r393753 - head/sysutils/u-boot-beaglebone
Message-ID:  <201508090144.t791iNKT072704@repo.freebsd.org>

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

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

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

Modified: head/sysutils/u-boot-beaglebone/Makefile
==============================================================================
--- head/sysutils/u-boot-beaglebone/Makefile	Sun Aug  9 01:38:55 2015	(r393752)
+++ head/sysutils/u-boot-beaglebone/Makefile	Sun Aug  9 01:44:22 2015	(r393753)
@@ -12,7 +12,9 @@ COMMENT=	Cross-build U-Boot loader for B
 
 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
 
@@ -26,6 +28,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?201508090144.t791iNKT072704>