[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.6] tools/firmware: update OVMF Makefile, when necessary



commit 59ce6a543f3c00d241ea0e85f932df610cdc25bb
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Wed Nov 28 17:43:33 2018 +0000
Commit:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CommitDate: Mon Apr 29 16:29:10 2019 +0100

    tools/firmware: update OVMF Makefile, when necessary
    
    [ This is two commits from master aka staging-4.12: ]
    
    OVMF has become dependent on OpenSSL, which is included as a
    submodule.  Initialise submodules before building.
    
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    (cherry picked from commit b16281870e06f5f526029a4e69634a16dc38e8e4)
    
    tools: only call git when necessary in OVMF Makefile
    
    Users may choose to export a snapshot of OVMF and build it
    with xen.git supplied ovmf-makefile. In that case we don't
    need to call `git submodule`.
    
    Fixes b16281870e.
    
    Reported-by: Olaf Hering <olaf@xxxxxxxxx>
    Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
    (cherry picked from commit 68292c94a60eab24514ab4a8e4772af24dead807)
    (cherry picked from commit e983e8ae84efd5e43045a3d20a820f13cb4a75bf)
    (cherry picked from commit 5a81de4c6b6036974f29e2330a493f23a8f0c1f0)
    (cherry picked from commit 63d9330ba9fdec7c8e9346e6d85360747d61c947)
    (cherry picked from commit e9d860f1f657a198d990bdae3e295001bd19223c)
    (cherry picked from commit 7835644d5141d0f28ec221eda40fcbf2fc03be23)
---
 tools/firmware/ovmf-makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/firmware/ovmf-makefile b/tools/firmware/ovmf-makefile
index 2838744461..55f9992145 100644
--- a/tools/firmware/ovmf-makefile
+++ b/tools/firmware/ovmf-makefile
@@ -16,6 +16,7 @@ all: build
 
 .PHONY: build
 build:
+       if test -e .git ; then $(GIT) submodule update --init --recursive ; fi
        OvmfPkg/build.sh -a X64 -b $(TARGET) -n 4
        cp Build/OvmfX64/$(TARGET)_GCC*/FV/OVMF.fd ovmf.bin
 
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.6

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.