$NetBSD: patch-tools_firmware_etherboot_Makefile,v 1.1 2018/07/24 13:40:11 bouyer Exp $ --- tools/firmware/etherboot/Makefile.orig 2018-04-17 19:21:31.000000000 +0200 +++ tools/firmware/etherboot/Makefile 2018-04-23 17:55:13.000000000 +0200 @@ -27,18 +27,10 @@ %.rom: $D/src/arch/i386/Makefile $(MAKE) -C $D/src bin/$(*F).rom -$T: - if ! $(FETCHER) _$T $(IPXE_TARBALL_URL); then \ - $(GIT) clone $(IPXE_GIT_URL) $D.git; \ - (cd $D.git && $(GIT) archive --format=tar --prefix=$D/ \ - $(IPXE_GIT_TAG) | gzip -n >../_$T); \ - rm -rf $D.git; \ - fi - mv _$T $T +$D: + ln -sf $(WRKSRC)/../ipxe $D -$D/src/arch/i386/Makefile: $T Config - rm -rf $D - gzip -dc $T | tar xf - +$D/src/arch/i386/Makefile: $D Config for i in $$(cat patches/series) ; do \ patch -d $D -p1 --quiet