Index: head/sysutils/u-boot-tools/Makefile =================================================================== --- head/sysutils/u-boot-tools/Makefile +++ head/sysutils/u-boot-tools/Makefile @@ -3,7 +3,7 @@ PORTNAME= u-boot-tools DISTVERSION= 2017.09 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/ DISTNAME= u-boot-${PORTVERSION} @@ -19,13 +19,14 @@ ALL_TARGET= tools-only MAKE_ARGS= ARCH=sandbox \ CC="${CC}" \ + HOSTCC="${CC}" \ KBUILD_VERBOSE=1 \ NOSTDINC_FLAGS="" \ PLIST_FILES= bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info do-configure: - (cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} sandbox_defconfig) + (cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} sandbox_defconfig) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin