From 088d0d605131eeb43dc1c4ab21631ea7e51f8501 Mon Sep 17 00:00:00 2001 From: John Thomson Date: Sat, 24 Jun 2017 09:38:13 +1000 Subject: [PATCH] Fix OVMF apply patches series --- tools/firmware/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile index a5a6802..875e7e5 100644 --- a/tools/firmware/Makefile +++ b/tools/firmware/Makefile @@ -20,6 +20,9 @@ ovmf-dir: sed 's|python |python2 |g' -i "ovmf-dir/BaseTools/BinWrappers/PosixLike"/* || true sed 's|python |python2 |g' -i "ovmf-dir/BaseTools/Tests/GNUmakefile" cp ovmf-makefile ovmf-dir/Makefile; + for i in $$(cat ovmf-patches/series); do \ + patch -d ovmf-dir -Np1 < ovmf-patches/$$i || exit 1; \ + done seabios-dir: GIT=$(GIT) $(XEN_ROOT)/scripts/git-checkout.sh $(SEABIOS_UPSTREAM_URL) $(SEABIOS_UPSTREAM_REVISION) seabios-dir -- 2.13.1