2020-04-24 23:36:52 +00:00
|
|
|
hack to make etherboot use prefetched ipxe
|
|
|
|
|
|
|
|
diff --git a/tools/firmware/etherboot/Makefile b/tools/firmware/etherboot/Makefile
|
2023-03-15 16:39:30 +00:00
|
|
|
index ed9e11305f..979a3acea8 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/tools/firmware/etherboot/Makefile
|
|
|
|
+++ b/tools/firmware/etherboot/Makefile
|
|
|
|
@@ -16,6 +16,7 @@ IPXE_TARBALL_URL ?= $(XEN_EXTFILES_URL)/ipxe-git-$(IPXE_GIT_TAG).tar.gz
|
|
|
|
|
|
|
|
D=ipxe
|
|
|
|
T=ipxe.tar.gz
|
|
|
|
+G=ipxe.git
|
|
|
|
|
|
|
|
ROMS = $(addprefix $D/src/bin/, $(addsuffix .rom, $(ETHERBOOT_NICS)))
|
2023-03-15 16:39:30 +00:00
|
|
|
ROM = $D/src/bin/ipxe.bin
|
|
|
|
@@ -41,9 +42,9 @@ $T:
|
2020-04-24 23:36:52 +00:00
|
|
|
fi
|
|
|
|
mv _$T $T
|
|
|
|
|
|
|
|
-$D/src/arch/i386/Makefile: $T Config
|
|
|
|
- rm -rf $D
|
|
|
|
- gzip -dc $T | tar xf -
|
|
|
|
+$D/src/arch/i386/Makefile: $G Config
|
|
|
|
+ mkdir $D
|
|
|
|
+ cp -a $G/* $D
|
|
|
|
for i in $$(cat patches/series) ; do \
|
|
|
|
patch -d $D -p1 --quiet <patches/$$i || exit 1 ; \
|
|
|
|
done
|