From owner-svn-ports-all@freebsd.org Thu Apr 9 04:20:28 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F0502AD5AF; Thu, 9 Apr 2020 04:20:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48yScC6d9zz43X1; Thu, 9 Apr 2020 04:20:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DA7E56C69; Thu, 9 Apr 2020 04:20:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0394KRA1061967; Thu, 9 Apr 2020 04:20:27 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0394KROB061966; Thu, 9 Apr 2020 04:20:27 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202004090420.0394KROB061966@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 9 Apr 2020 04:20:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r531170 - head/net/ipxe X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/net/ipxe X-SVN-Commit-Revision: 531170 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2020 04:20:28 -0000 Author: tobik Date: Thu Apr 9 04:20:27 2020 New Revision: 531170 URL: https://svnweb.freebsd.org/changeset/ports/531170 Log: net/ipxe: Pet portfmt and clean up stale comment Modified: head/net/ipxe/Makefile Modified: head/net/ipxe/Makefile ============================================================================== --- head/net/ipxe/Makefile Thu Apr 9 01:16:14 2020 (r531169) +++ head/net/ipxe/Makefile Thu Apr 9 04:20:27 2020 (r531170) @@ -17,39 +17,33 @@ USES= gmake perl5 shebangfix USE_BINUTILS= yes USE_GCC= yes USE_GITHUB= yes -# iPXE hasn't had a release since 2010. -# See iPXE's FAQ at http://ipxe.org/faq -# -# Q: Which version of iPXE should I use? -# -# A: iPXE uses a rolling release model, in which every commit is intended -# to be production-ready. You should always use the latest code. -# GH_TAGNAME= 3fe683ebab29afacf224e6b0921f6329bebcdca7 USE_PERL5= build - -ALL_TARGET= bin/ipxe.dsk bin/ipxe.lkrn bin/ipxe.pxe bin/ipxe.usb bin/undionly.kpxe -# VMware ROMs -ALL_TARGET+= bin/8086100f.mrom bin/808610d3.mrom bin/10222000.rom bin/15ad07b0.rom -MAKE_ARGS= HOST_CC=${CC} \ - PERL=${PERL} \ - CC=${CC} \ +SHEBANG_FILES= util/geniso util/gensdsk +MAKE_ARGS= AR=${AR} \ + ARCH=${ARCH:S/amd64/i386/} \ AS=${AS} \ + CC=${CC} \ + HOST_CC=${CC} \ LD=${LD} \ - SIZE=${SIZE} \ - AR=${AR} \ - RANLIB=${RANLIB} \ - OBJCOPY=${OBJCOPY} \ NM=${NM} \ - OBJDUMP=${OBJDUMP} \ - ARCH=${ARCH:S/amd64/i386/} \ NO_WERROR=1 \ - V=1 \ - ${IPXE_MAKE_ARGS} -PLIST_FILES= ${ALL_TARGET:S@^bin/@${DATADIR}/@} -SHEBANG_FILES= util/geniso util/gensdsk + OBJCOPY=${OBJCOPY} \ + OBJDUMP=${OBJDUMP} \ + PERL=${PERL} \ + RANLIB=${RANLIB} \ + SIZE=${SIZE} \ + V=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 \ + bin/undionly.kpxe +# VMware ROMs +ALL_TARGET+= bin/8086100f.mrom bin/808610d3.mrom bin/10222000.rom \ + bin/15ad07b0.rom SUB_FILES= pkg-message WRKSRC_SUBDIR= src +PLIST_FILES= ${ALL_TARGET:S@^bin/@${DATADIR}/@} # Possible options are listed in ${WRKSRC}/config/*.h and # http://ipxe.org/buildcfg. Add a ! prefix to an option to undef it @@ -65,23 +59,23 @@ _IPXE_BUILDCFG= branding:PRODUCT_NAME="${PKGNAME} (${O general:PING_CMD \ general:POWEROFF_CMD -OPTIONS_DEFAULT= ISO EFI -OPTIONS_DEFINE= ISO EFI +OPTIONS_DEFINE= EFI ISO +OPTIONS_DEFAULT= EFI ISO EFI_DESC= Create EFI image ISO_DESC= Create bootable CD image -EFI_ARCHS= i386 ${ARCH:Mamd64:S/amd64/x86_64/} -.for _arch in ${EFI_ARCHS} +_EFI_ARCHS= ${ARCH:Mamd64:S/amd64/x86_64/} i386 +.for _arch in ${_EFI_ARCHS} EFI_PLIST_FILES+= ${DATADIR}/ipxe.efi-${_arch} .endfor -ISO_ALL_TARGET= bin/ipxe.iso -ISO_BUILD_DEPENDS= bash:shells/bash \ - ${LOCALBASE}/share/syslinux/bios/core/isolinux.bin:sysutils/syslinux \ - mkisofs:sysutils/cdrtools -ISO_MAKE_ARGS= ISOLINUX_BIN="${WRKSRC}/isolinux.bin" \ - LDLINUX_C32="${LOCALBASE}/share/syslinux/bios/com32/elflink/ldlinux/ldlinux.c32" +ISO_BUILD_DEPENDS= ${LOCALBASE}/share/syslinux/bios/core/isolinux.bin:sysutils/syslinux \ + bash:shells/bash \ + mkisofs:sysutils/cdrtools +ISO_MAKE_ARGS= ISOLINUX_BIN="${WRKSRC}/isolinux.bin" \ + LDLINUX_C32="${LOCALBASE}/share/syslinux/bios/com32/elflink/ldlinux/ldlinux.c32" +ISO_ALL_TARGET= bin/ipxe.iso .include @@ -110,7 +104,7 @@ pre-build-ISO-on: ${INSTALL} -m 644 ${LOCALBASE}/share/syslinux/bios/core/isolinux.bin ${WRKSRC}/isolinux.bin do-build-EFI-on: -.for _arch in ${EFI_ARCHS} +.for _arch in ${_EFI_ARCHS} ${DO_MAKE_BUILD} ARCH=${_arch} -C ${WRKSRC} bin-${_arch}-efi/ipxe.efi .endfor @@ -119,7 +113,7 @@ do-install: cd ${WRKSRC} && ${INSTALL_DATA} ${ALL_TARGET} ${STAGEDIR}${DATADIR} do-install-EFI-on: -.for _arch in ${EFI_ARCHS} +.for _arch in ${_EFI_ARCHS} ${INSTALL_DATA} ${WRKSRC}/bin-${_arch}-efi/ipxe.efi ${STAGEDIR}${DATADIR}/ipxe.efi-${_arch} .endfor