imgtools/romtools/rombuild/rombuild.cpp
changeset 675 02e65118a746
parent 654 7c11c3d8d025
child 694 c3fbb20e86f0
child 699 9ca650050cf0
equal deleted inserted replaced
673:7ae5f757318b 675:02e65118a746
    73 	"        -j<digit>                     do the main job with <digit> threads\n"
    73 	"        -j<digit>                     do the main job with <digit> threads\n"
    74 	"        -symbols                      generate symbol file\n"
    74 	"        -symbols                      generate symbol file\n"
    75 	"        -compressionmethod <method>   method one of none|inflate|bytepair to set the compression\n"
    75 	"        -compressionmethod <method>   method one of none|inflate|bytepair to set the compression\n"
    76 	"        -no-sorted-romfs              do not add sorted entries arrays (6.1 compatible)\n"
    76 	"        -no-sorted-romfs              do not add sorted entries arrays (6.1 compatible)\n"
    77 	"        -oby-charset=<charset> used character set in which OBY was written\n"
    77 	"        -oby-charset=<charset> used character set in which OBY was written\n"
    78 	"        -geninc                       to generate include file for licensee tools to use\n"			// DEF095619
    78 	"        -geninc                       to generate include file for licensee tools to use\n"			
    79 	"        -loglevel<level>              level of information to log (valid levels are 0,1,2,3,4).\n" //Tools like Visual ROM builder need the host/ROM filenames, size & if the file is hidden.
    79 	"        -loglevel<level>              level of information to log (valid levels are 0,1,2,3,4).\n" //Tools like Visual ROM builder need the host/ROM filenames, size & if the file is hidden.
    80 	"        -wstdpath                     warn if destination path provided for a file is not a standard path\n"
    80 	"        -wstdpath                     warn if destination path provided for a file is not a standard path\n"
    81 	"        -argfile=<fileName>           specify argument-file name containing list of command-line arguments to rombuild\n"
    81 	"        -argfile=<fileName>           specify argument-file name containing list of command-line arguments to rombuild\n"
    82 	"        -lowmem                       use memory-mapped file for image build to reduce physical memory consumption\n"
    82 	"        -lowmem                       use memory-mapped file for image build to reduce physical memory consumption\n"
    83 	"        -coreimage=<core image file>  to pass the core image as input for extension ROM image generation\n"
    83 	"        -coreimage=<core image file>  to pass the core image as input for extension ROM image generation\n"
   294 					}
   294 					}
   295 					
   295 					
   296 				}
   296 				}
   297 			else if (stricmp(arg, "no-sorted-romfs")==0)
   297 			else if (stricmp(arg, "no-sorted-romfs")==0)
   298 				gSortedRomFs=EFalse;
   298 				gSortedRomFs=EFalse;
   299 			else if (stricmp(arg, "geninc")==0)				// DEF095619
   299 			else if (stricmp(arg, "geninc")==0)				
   300 				gGenInc=ETrue;
   300 				gGenInc=ETrue;
   301  			else if (stricmp(arg, "wstdpath")==0)			// Warn if destination path provided for a file		
   301  			else if (stricmp(arg, "wstdpath")==0)			// Warn if destination path provided for a file		
   302  				gEnableStdPathWarning=ETrue;					// is not a standard path as per platsec
   302  				gEnableStdPathWarning=ETrue;					// is not a standard path as per platsec
   303 			else if( stricmp(arg, "loglevel") == 0) {
   303 			else if( stricmp(arg, "loglevel") == 0) {
   304  				// next argument should a be loglevel
   304  				// next argument should a be loglevel