aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-08-09 09:47:54 +0800
committerian <ian@FreeBSD.org>2015-08-09 09:47:54 +0800
commit3cc80e4acafb27138ef2e186396bbf8a28734327 (patch)
treec4fe10da9f571dcb81708156daac2024e2910528 /sysutils
parente3761fd11934c1aecdd4c49d76a78fe7d0c8d0c8 (diff)
downloadfreebsd-ports-gnome-3cc80e4acafb27138ef2e186396bbf8a28734327.tar.gz
freebsd-ports-gnome-3cc80e4acafb27138ef2e186396bbf8a28734327.tar.zst
freebsd-ports-gnome-3cc80e4acafb27138ef2e186396bbf8a28734327.zip
Use gcc 4.9.2 to cross-compile u-boot for pandaboard.
Approved by: rpaulo
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/u-boot-pandaboard/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/u-boot-pandaboard/Makefile b/sysutils/u-boot-pandaboard/Makefile
index f7a1fd427280..28a03a737b53 100644
--- a/sysutils/u-boot-pandaboard/Makefile
+++ b/sysutils/u-boot-pandaboard/Makefile
@@ -11,7 +11,9 @@ COMMENT= Cross-build U-Boot loader for PandaBoard
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: