[edk2-devel] [PATCH] OvmfPkg/build.sh: run qemu _after_ building OvmfPkg
rebecca at bsdio.com
rebecca at bsdio.com
Wed Jul 24 01:20:31 UTC 2019
Running qemu before building the firmware image doesn't make much sense.
Move things so qemu is run after building OvmfPkg.
Signed-off-by: Rebecca Cran <rebecca at bsdio.com>
---
OvmfPkg/build.sh | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index 1c28e65404..a2c4eff2a5 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -256,6 +256,11 @@ else
echo using prebuilt tools
fi
+#
+# Build the edk2 OvmfPkg
+#
+echo Running edk2 build for OvmfPkg$Processor
+build -p $PLATFORMFILE $BUILD_OPTIONS -b $BUILDTARGET -t $TARGET_TOOLS -n $THREADNUMBER
if [[ "$RUN_QEMU" == "yes" ]]; then
if [[ ! -d $QEMU_FIRMWARE_DIR ]]; then
@@ -275,10 +280,4 @@ if [[ "$RUN_QEMU" == "yes" ]]; then
exit $?
fi
-#
-# Build the edk2 OvmfPkg
-#
-echo Running edk2 build for OvmfPkg$Processor
-build -p $PLATFORMFILE $BUILD_OPTIONS -b $BUILDTARGET -t $TARGET_TOOLS -n $THREADNUMBER
exit $?
-
--
2.22.0
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#44274): https://edk2.groups.io/g/devel/message/44274
Mute This Topic: https://groups.io/mt/32579896/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list