]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspWrapperPkg/FspWrapperSecCore/Vtf0/Build.py
IntelFspPkg&IntelFspWrapperPkg: Remove them
[mirror_edk2.git] / IntelFspWrapperPkg / FspWrapperSecCore / Vtf0 / Build.py
diff --git a/IntelFspWrapperPkg/FspWrapperSecCore/Vtf0/Build.py b/IntelFspWrapperPkg/FspWrapperSecCore/Vtf0/Build.py
deleted file mode 100644 (file)
index 66b8083..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-## @file\r
-#  Automate the process of building the various reset vector types\r
-#\r
-#  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
-#\r
-#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-#\r
-\r
-import glob\r
-import os\r
-import subprocess\r
-import sys\r
-\r
-def RunCommand(commandLine):\r
-    #print ' '.join(commandLine)\r
-    return subprocess.call(commandLine)\r
-\r
-for filename in glob.glob(os.path.join('Bin', '*.raw')):\r
-    os.remove(filename)\r
-\r
-arch = 'ia32'\r
-debugType = None\r
-output = os.path.join('Bin', 'ResetVec')\r
-output += '.' + arch\r
-if debugType is not None:\r
-    output += '.' + debugType\r
-output += '.raw'\r
-commandLine = (\r
-    'nasm',\r
-    '-D', 'ARCH_%s' % arch.upper(),\r
-    '-D', 'DEBUG_%s' % str(debugType).upper(),\r
-    '-o', output,\r
-    'ResetVectorCode.asm',\r
-    )\r
-ret = RunCommand(commandLine)\r
-print '\tASM\t' + output\r
-if ret != 0: sys.exit(ret)\r
-\r
-commandLine = (\r
-    'python',\r
-    'Tools/FixupForRawSection.py',\r
-    output,\r
-    )\r
-print '\tFIXUP\t' + output\r
-ret = RunCommand(commandLine)\r
-if ret != 0: sys.exit(ret)\r
-\r