svn commit: r393752 - head/sysutils/u-boot-rpi

Ian Lepore ian at FreeBSD.org
Sun Aug 9 01:38:56 UTC 2015


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:


More information about the svn-ports-all mailing list