mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
sysutils/u-boot-tools: Use CC as HOSTCC for building tools
Submitted by: jhibbits Reviewed by: bapt, manu Approved by: brd Differential Revision: https://reviews.freebsd.org/D14264
This commit is contained in:
parent
fdcba517c9
commit
9848660de4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461966
@ -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 @@ CONFLICT= uboot-mkimage
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user