]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/ResetVector/Vtf0/Build.py
UefiCpuPkg: ResetVector Tool additional debug prints
[mirror_edk2.git] / UefiCpuPkg / ResetVector / Vtf0 / Build.py
index 55f4edd87be1c86bd40dee4bbf50cb08a6b80cfe..b791d32762791ca04d4c2f337424fa8b1c30a597 100644 (file)
@@ -32,9 +32,12 @@ for arch in ('ia32', 'x64'):
             '-o', output,\r
             'Vtf0.nasmb',\r
             )\r
+        print(f"Command : {' '.join(commandLine)}")\r
         ret = RunCommand(commandLine)\r
+        if ret != 0:\r
+            print(f"something went wrong while executing {commandLine[-1]}")\r
+            sys.exit()\r
         print('\tASM\t' + output)\r
-        if ret != 0: sys.exit(ret)\r
 \r
         commandLine = (\r
             'python',\r