1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

sysutils/u-boot-tools: fix build on non-arm non-x86

Changing target to tools-only_defconfig will omit the parts that need EFI and will still build the binaries this port needs.

PR:	259118
This commit is contained in:
Piotr Kubaj 2021-10-27 17:11:46 +00:00
parent 4821a9406d
commit d846f9860a

View File

@ -11,7 +11,6 @@ COMMENT= U-boot related tools
LICENSE= GPLv2
BROKEN_powerpc64= fails to build: include/config_distro_bootcmd.h:279:3: sandbox EFI support is only supported on ARM and x86
BROKEN_SSL= libressl
BROKEN_SSL_REASON_libressl= not supported by the upstream
@ -28,7 +27,7 @@ MAKE_ARGS= ARCH=sandbox \
PLIST_FILES= bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info
do-configure:
(cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} sandbox_defconfig)
(cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} tools-only_defconfig)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin