$NetBSD: patch-firmware_etherboot_Makefile,v 1.1 2013/05/15 06:58:50 jnemeth Exp $ --- firmware/etherboot/Makefile.orig 2012-12-17 15:00:24.000000000 +0000 +++ firmware/etherboot/Makefile @@ -27,18 +27,10 @@ all: $(ROMS) %.rom: $D/src/arch/i386/Makefile $(MAKE) -C $D/src bin/$(*F).rom -$T: - if ! wget -O _$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 >../_$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