Index: head/sysutils/u-boot-utilite/Makefile =================================================================== --- head/sysutils/u-boot-utilite/Makefile (revision 429082) +++ head/sysutils/u-boot-utilite/Makefile (revision 429083) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= u-boot PORTVERSION= 2015.07 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/:source1 \ http://www.compulab.co.il/wp-content/uploads/2015/10/:source2 PKGNAMESUFFIX= -utilite DISTFILES= u-boot-2015.07.tar.bz2:source1 \ cm-fx6_u-boot_2015-10-18.zip:source2 MAINTAINER= martin@waschbuesch.de COMMENT= Cross-build U-Boot loader for Utilite (and Utilite Pro) LICENSE= GPLv2 -BUILD_DEPENDS= ${CROSS_GCC}:devel/arm-none-eabi-gcc +BUILD_DEPENDS= ${CROSS_GCC}:devel/arm-none-eabi-gcc492 -CROSS_GCC= arm-none-eabi-gcc +CROSS_GCC= arm-none-eabi-gcc-4.9.2 EXTRA_PATCHES= ${WRKDIR}/cm-fx6-u-boot/u-boot/u-boot-2015.07-cm-fx6-3.patch:-p1 NO_ARCH= yes USES= gmake PORTSCOUT= ignore:1 U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} MAKE_ARGS+= ARCH=arm \ CC=${CROSS_GCC} \ CROSS_COMPILE=arm-none-eabi- \ HOSTCC=cc do-configure: cd ${WRKSRC}; ${MAKE_CMD} ${MAKE_ARGS} cm_fx6_config # The build results in two output files: SPL, and u-boot.img. # Combine them into a single u-boot.imx so that there is only one file to be # copied onto the boot media starting at a 1K offset on the disk. CM_FX6_FIRMWARE= ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/cm-fx6-firmware do-install: cd ${WRKSRC}; ./tools/mkimage -n arch/arm/imx-common/spl_sd.cfg.cfgtmp -T imximage -e 0x00908000 -d spl/u-boot-spl.bin spl.img ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} dd if=/dev/zero count=500 bs=1K | ${TR} '\000' '\377' > ${CM_FX6_FIRMWARE} dd if=${WRKSRC}/spl.img of=${CM_FX6_FIRMWARE} bs=1K seek=1 conv=notrunc && dd if=${WRKSRC}/u-boot.img of=${CM_FX6_FIRMWARE} bs=1K seek=64 conv=notrunc ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README .include