27 lines
862 B
Text
27 lines
862 B
Text
|
$NetBSD: patch-tools_firmware_etherboot_Makefile,v 1.1 2021/04/18 12:31:26 bouyer Exp $
|
||
|
|
||
|
--- tools/firmware/etherboot/Makefile.orig 2019-12-17 15:23:09.000000000 +0100
|
||
|
+++ tools/firmware/etherboot/Makefile 2020-05-08 16:59:46.337172477 +0200
|
||
|
@@ -32,18 +32,10 @@
|
||
|
%.rom: $D/src/arch/i386/Makefile
|
||
|
$(MAKE) -C $D/src bin/$(*F).rom
|
||
|
|
||
|
-$T:
|
||
|
- set -e; 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-${IPXE_GIT_TAG} $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 <patches/$$i || exit 1 ; \
|
||
|
done
|