29help="ARCHS is one of list: IA32, X64, ARM, AARCH64 or EBC, which overrides target.txt's TARGET_ARCH definition. To specify more archs, please repeat this option.")
33help="Build the module specified by the INF file name argument.")
34 Parser.add_option("-b","--buildtarget",type="string", dest="BuildTarget",help="Using the TARGET to build the platform, overriding target.txt's TARGET definition.",
42help="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 "\
43"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.")
72help="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]. "\
73"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]")
75help="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. "\
76"This option can also be specified by setting *_*_*_BUILD_FLAGS in [BuildOptions] section of platform DSC. If they are both specified, this value "\
77"will override the setting in [BuildOptions] section of platform DSC.")
79 Parser.add_option("--conf", action="store",type="string", dest="ConfDirectory",help="Specify the customized Conf directory.")
80 Parser.add_option("--check-usage", action="store_true", dest="CheckUsage", default=False,help="Check usage content of entries listed in INF file.")
81 Parser.add_option("--ignore-sources", action="store_true", dest="IgnoreSources", default=False,help="Focus to a binary build and ignore all source files")
82 Parser.add_option("--pcd", action="append", dest="OptionPcd",help="Set PCD value by command line. Format:\"PcdName=Value\"")
83 Parser.add_option("-l","--cmd-len", action="store",type="int", dest="CommandLength",help="Specify the maximum line length of build command. Default is 4096.")
84 Parser.add_option("--hash", action="store_true", dest="UseHashCache", default=False,help="Enable hash-based caching during build process.")
85 Parser.add_option("--binary-destination", action="store",type="string", dest="BinCacheDest",help="Generate a cache of binary files in the specified directory.")
86 Parser.add_option("--binary-source", action="store",type="string", dest="BinCacheSource",help="Consume a cache of binary files from the specified directory.")
87 Parser.add_option("--genfds-multi-thread", action="store_true", dest="GenfdsMultiThread", default=True,help="Enable GenFds multi thread to generate ffs file.")
88 Parser.add_option("--no-genfds-multi-thread", action="store_true", dest="NoGenfdsMultiThread", default=False,help="Disable GenFds multi thread to generate ffs file.")
89 Parser.add_option("--disable-include-path-check", action="store_true", dest="DisableIncludePathCheck", default=False,help="Disable the include path check for outside of package.")