View | Details | Raw Unified | Return to bug 254600 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/ipxe/Makefile (-6 / +19 lines)
Lines 1-7 Link Here
1
# Created by: Guerkan Karaman <gk.freebsd@googlemail.com>
1
# Created by: Guerkan Karaman <gk.freebsd@googlemail.com>
2
2
3
PORTNAME=	ipxe
3
PORTNAME=	ipxe
4
DISTVERSION=	g20210413
4
DISTVERSION=	g20210414
5
PORTEPOCH=	1
5
PORTEPOCH=	1
6
CATEGORIES=	net
6
CATEGORIES=	net
7
7
Lines 10-26 COMMENT= Open source network boot firmware Link Here
10
10
11
LICENSE=	GPLv2
11
LICENSE=	GPLv2
12
12
13
ONLY_FOR_ARCHS=	amd64 i386
13
ONLY_FOR_ARCHS=		aarch64 amd64 i386
14
ONLY_FOR_ARCHS_REASON=	not yet ported to anything other than amd64/i386
14
ONLY_FOR_ARCHS_REASON=	Not yet ported to other platforms
15
15
16
USES=		gmake perl5 shebangfix
16
USES=		gmake perl5 shebangfix
17
USE_BINUTILS=	yes
17
USE_BINUTILS=	yes
18
USE_GCC=	yes:build
18
USE_GCC=	yes:build
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_TAGNAME=	8ca43cc
20
GH_TAGNAME=	85d179f
21
USE_PERL5=	build
21
USE_PERL5=	build
22
MAKE_ARGS=	AR=${AR} \
22
MAKE_ARGS=	AR=${AR} \
23
		ARCH=${ARCH:S/amd64/i386/} \
24
		AS=${AS} \
23
		AS=${AS} \
25
		CC=${CC} \
24
		CC=${CC} \
26
		HOST_CC=${CC} \
25
		HOST_CC=${CC} \
Lines 34-39 MAKE_ARGS= AR=${AR} \ Link Here
34
		SIZE=${SIZE} \
33
		SIZE=${SIZE} \
35
		V=1
34
		V=1
36
35
36
PORTSCOUT=	skipv:1.21.1
37
37
# Append user-settable build args from make.conf
38
# Append user-settable build args from make.conf
38
MAKE_ARGS+=	${IPXE_MAKE_ARGS}
39
MAKE_ARGS+=	${IPXE_MAKE_ARGS}
39
ALL_TARGET=	bin/ipxe.dsk bin/ipxe.lkrn bin/ipxe.pxe bin/ipxe.usb \
40
ALL_TARGET=	bin/ipxe.dsk bin/ipxe.lkrn bin/ipxe.pxe bin/ipxe.usb \
Lines 67-73 ISO_DESC= Create bootable CD image Link Here
67
68
68
EFI_BUILD_DEPENDS=	bash:shells/bash \
69
EFI_BUILD_DEPENDS=	bash:shells/bash \
69
			mformat:emulators/mtools
70
			mformat:emulators/mtools
70
_EFI_ARCHS=		${ARCH:Mamd64:S/amd64/x86_64/} i386
71
_EFI_ARCHS=		${ARCH:Maarch64:S/aarch64/arm64/} ${ARCH:Mamd64:S/amd64/x86_64/} i386
71
_EFI_TARGETS=		ipxe snp snponly
72
_EFI_TARGETS=		ipxe snp snponly
72
.for _arch in ${_EFI_ARCHS}
73
.for _arch in ${_EFI_ARCHS}
73
. for _target in ${_EFI_TARGETS}
74
. for _target in ${_EFI_TARGETS}
Lines 85-90 ISO_ALL_TARGET= bin/ipxe.iso Link Here
85
86
86
.include <bsd.port.pre.mk>
87
.include <bsd.port.pre.mk>
87
88
89
.if ${ARCH} == amd64 || ${ARCH} == i386
90
MAKE_ARGS+=	ARCH=${ARCH:S/amd64/i386/}
91
.elif ${ARCH} == aarch64
92
MAKE_ARGS+=	ARCH=${ARCH:S/aarch64/arm64/}
93
USES+=		localbase
94
.endif
95
88
# Add user supplied build configuration after port options etc have
96
# Add user supplied build configuration after port options etc have
89
# been processed as they might want to overwrite some settings.
97
# been processed as they might want to overwrite some settings.
90
_IPXE_BUILDCFG+=	${IPXE_BUILDCFG}
98
_IPXE_BUILDCFG+=	${IPXE_BUILDCFG}
Lines 97-102 BUILD_DEPENDS+= gcsplit:sysutils/coreutils Link Here
97
MAKE_ARGS+=	CSPLIT=gcsplit
105
MAKE_ARGS+=	CSPLIT=gcsplit
98
.endif
106
.endif
99
107
108
post-patch:
109
.if ${ARCH} == aarch64
110
	${REINPLACE_CMD} -e 's/pcbios/efi/g' ${WRKSRC}/Makefile.housekeeping
111
.endif
112
100
do-configure:
113
do-configure:
101
.for _cat _opt in ${_IPXE_BUILDCFG:C/\:/ /}
114
.for _cat _opt in ${_IPXE_BUILDCFG:C/\:/ /}
102
	@${ECHO_CMD} '#undef ${_opt:S/^!//:C/(.*)=(.*)/\1/}' >> ${WRKSRC}/config/local/${_cat}.h
115
	@${ECHO_CMD} '#undef ${_opt:S/^!//:C/(.*)=(.*)/\1/}' >> ${WRKSRC}/config/local/${_cat}.h
(-)b/net/ipxe/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1618392901
1
TIMESTAMP = 1618863953
2
SHA256 (ipxe-ipxe-g20210413-8ca43cc_GH0.tar.gz) = c55d3d45d486a62460152323e329eadb2a24f9f4ef52567efdb3fcccb965f936
2
SHA256 (ipxe-ipxe-g20210414-85d179f_GH0.tar.gz) = b7708a3ef561b6353caf32b530cf173c2e823bcd557807325faa2792d69b930c
3
SIZE (ipxe-ipxe-g20210413-8ca43cc_GH0.tar.gz) = 3955775
3
SIZE (ipxe-ipxe-g20210414-85d179f_GH0.tar.gz) = 3957019

Return to bug 254600