44help="ARCHS is one of list: IA32, X64, ARM, AARCH64, RISCV64 or EBC, which overrides target.txt's TARGET_ARCH definition. To specify more archs, please repeat this option.")
48help="Build the module specified by the INF file name argument.")
49 Parser.add_option("-b","--buildtarget",type="string", dest="BuildTarget",help="Using the TARGET to build the platform, overriding target.txt's TARGET definition.",
57help="Build the platform using multi-threaded compiler. The value overrides target.txt's MAX_CONCURRENT_THREAD_NUMBER. When value is set to 0, tool automatically detect number of "\
58"processor threads, set value to 1 means disable multi-thread build, and set value to more than 1 means user specify the threads number to build.")
87help="Flags that control the type of build report to generate. Must be one of: [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS, FIXED_ADDRESS, HASH, EXECUTION_ORDER]. "\
88"To specify more than one flag, repeat this option on the command line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, HASH, BUILD_FLAGS, FIXED_ADDRESS]")
90help="Specify the specific option to parse EDK UNI file. Must be one of: [-c, -s]. -c is for EDK framework UNI file, and -s is for EDK UEFI UNI file. "\
91"This option can also be specified by setting *_*_*_BUILD_FLAGS in [BuildOptions] section of platform DSC. If they are both specified, this value "\
92"will override the setting in [BuildOptions] section of platform DSC.")
94 Parser.add_option("--conf", action="store",type="string", dest="ConfDirectory",help="Specify the customized Conf directory.")
95 Parser.add_option("--check-usage", action="store_true", dest="CheckUsage", default=False,help="Check usage content of entries listed in INF file.")
96 Parser.add_option("--ignore-sources", action="store_true", dest="IgnoreSources", default=False,help="Focus to a binary build and ignore all source files")
97 Parser.add_option("--pcd", action="append", dest="OptionPcd",help="Set PCD value by command line. Format:\"PcdName=Value\"")
98 Parser.add_option("-l","--cmd-len", action="store",type="int", dest="CommandLength",help="Specify the maximum line length of build command. Default is 4096.")
99 Parser.add_option("--hash", action="store_true", dest="UseHashCache", default=False,help="Enable hash-based caching during build process.")
100 Parser.add_option("--binary-destination", action="store",type="string", dest="BinCacheDest",help="Generate a cache of binary files in the specified directory.")
101 Parser.add_option("--binary-source", action="store",type="string", dest="BinCacheSource",help="Consume a cache of binary files from the specified directory.")
102 Parser.add_option("--genfds-multi-thread", action="store_true", dest="GenfdsMultiThread", default=True,help="Enable GenFds multi thread to generate ffs file.")
103 Parser.add_option("--no-genfds-multi-thread", action="store_true", dest="NoGenfdsMultiThread", default=False,help="Disable GenFds multi thread to generate ffs file.")
104 Parser.add_option("--disable-include-path-check", action="store_true", dest="DisableIncludePathCheck", default=False,help="Disable the include path check for outside of package.")