blob: c50baed8db3ac1e50ffa041a63d04635d5e060f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= u-boot-tools
DISTVERSION= 2020.07
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/
DISTNAME= u-boot-${PORTVERSION}
MAINTAINER= uboot@FreeBSD.org
COMMENT= U-boot related tools
LICENSE= GPLv2
BROKEN_SSL= libressl
BROKEN_SSL_REASON_libressl= not supported by the upstream
USES= bison compiler:c11 gmake python:build ssl tar:bzip2
CONFLICTS= 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} ${MAKE_ARGS} tools-only_defconfig)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tools/fit_info ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tools/mkenvimage ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tools/mkimage ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|