FreeBSD Bugzilla – Attachment 224477 Details for
Bug 254600
net/ipxe: update to newer commit and enable arm64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] net/ipxe: enable aarch64 (arm64)
PR254600_git_diff.patch (text/plain), 2.71 KB, created by
Vinícius Zavam
on 2021-04-27 19:15:07 UTC
(
hide
)
Description:
[PATCH] net/ipxe: enable aarch64 (arm64)
Filename:
MIME Type:
Creator:
Vinícius Zavam
Created:
2021-04-27 19:15:07 UTC
Size:
2.71 KB
patch
obsolete
>diff --git a/net/ipxe/Makefile b/net/ipxe/Makefile >index e4025538b..d7a80c8df 100644 >--- a/net/ipxe/Makefile >+++ b/net/ipxe/Makefile >@@ -1,7 +1,7 @@ > # Created by: Guerkan Karaman <gk.freebsd@googlemail.com> > > PORTNAME= ipxe >-DISTVERSION= g20210413 >+DISTVERSION= g20210414 > PORTEPOCH= 1 > CATEGORIES= net > >@@ -10,17 +10,16 @@ COMMENT= Open source network boot firmware > > LICENSE= GPLv2 > >-ONLY_FOR_ARCHS= amd64 i386 >-ONLY_FOR_ARCHS_REASON= not yet ported to anything other than amd64/i386 >+ONLY_FOR_ARCHS= aarch64 amd64 i386 >+ONLY_FOR_ARCHS_REASON= Not yet ported to other platforms > > USES= gmake perl5 shebangfix > USE_BINUTILS= yes > USE_GCC= yes:build > USE_GITHUB= yes >-GH_TAGNAME= 8ca43cc >+GH_TAGNAME= 85d179f > USE_PERL5= build > MAKE_ARGS= AR=${AR} \ >- ARCH=${ARCH:S/amd64/i386/} \ > AS=${AS} \ > CC=${CC} \ > HOST_CC=${CC} \ >@@ -34,6 +33,8 @@ MAKE_ARGS= AR=${AR} \ > SIZE=${SIZE} \ > V=1 > >+PORTSCOUT= skipv:1.21.1 >+ > # Append user-settable build args from make.conf > MAKE_ARGS+= ${IPXE_MAKE_ARGS} > ALL_TARGET= bin/ipxe.dsk bin/ipxe.lkrn bin/ipxe.pxe bin/ipxe.usb \ >@@ -67,7 +68,7 @@ ISO_DESC= Create bootable CD image > > EFI_BUILD_DEPENDS= bash:shells/bash \ > mformat:emulators/mtools >-_EFI_ARCHS= ${ARCH:Mamd64:S/amd64/x86_64/} i386 >+_EFI_ARCHS= ${ARCH:Maarch64:S/aarch64/arm64/} ${ARCH:Mamd64:S/amd64/x86_64/} i386 > _EFI_TARGETS= ipxe snp snponly > .for _arch in ${_EFI_ARCHS} > . for _target in ${_EFI_TARGETS} >@@ -85,6 +86,13 @@ ISO_ALL_TARGET= bin/ipxe.iso > > .include <bsd.port.pre.mk> > >+.if ${ARCH} == amd64 || ${ARCH} == i386 >+MAKE_ARGS+= ARCH=${ARCH:S/amd64/i386/} >+.elif ${ARCH} == aarch64 >+MAKE_ARGS+= ARCH=${ARCH:S/aarch64/arm64/} >+USES+= localbase >+.endif >+ > # Add user supplied build configuration after port options etc have > # been processed as they might want to overwrite some settings. > _IPXE_BUILDCFG+= ${IPXE_BUILDCFG} >@@ -97,6 +105,11 @@ BUILD_DEPENDS+= gcsplit:sysutils/coreutils > MAKE_ARGS+= CSPLIT=gcsplit > .endif > >+post-patch: >+.if ${ARCH} == aarch64 >+ ${REINPLACE_CMD} -e 's/pcbios/efi/g' ${WRKSRC}/Makefile.housekeeping >+.endif >+ > do-configure: > .for _cat _opt in ${_IPXE_BUILDCFG:C/\:/ /} > @${ECHO_CMD} '#undef ${_opt:S/^!//:C/(.*)=(.*)/\1/}' >> ${WRKSRC}/config/local/${_cat}.h >diff --git a/net/ipxe/distinfo b/net/ipxe/distinfo >index 4793d4bc3..5168f4c72 100644 >--- a/net/ipxe/distinfo >+++ b/net/ipxe/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1618392901 >-SHA256 (ipxe-ipxe-g20210413-8ca43cc_GH0.tar.gz) = c55d3d45d486a62460152323e329eadb2a24f9f4ef52567efdb3fcccb965f936 >-SIZE (ipxe-ipxe-g20210413-8ca43cc_GH0.tar.gz) = 3955775 >+TIMESTAMP = 1618863953 >+SHA256 (ipxe-ipxe-g20210414-85d179f_GH0.tar.gz) = b7708a3ef561b6353caf32b530cf173c2e823bcd557807325faa2792d69b930c >+SIZE (ipxe-ipxe-g20210414-85d179f_GH0.tar.gz) = 3957019
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
egypcio
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 254600
:
224127
|
224477
|
225321
|
233434