mirror of
https://github.com/acpica/acpica/
synced 2025-02-11 11:04:09 +03:00
iASL: Add option to display summary only.
Added -va option to disable all errors and warnings, and display the summary info only. Useful for large batch compiles.
This commit is contained in:
parent
4b273c9843
commit
0dc5d93331
@ -247,6 +247,11 @@ AePrintException (
|
||||
FILE *SourceFile;
|
||||
|
||||
|
||||
if (Gbl_NoErrors)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Only listing files have a header, and remarks/optimizations
|
||||
* are always output
|
||||
|
@ -188,6 +188,7 @@ ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_ParseOnlyFlag, FALSE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_CompileTimesFlag, FALSE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_FoldConstants, TRUE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_VerboseErrors, TRUE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_NoErrors, FALSE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_DisasmFlag, FALSE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_GetAllTables, FALSE);
|
||||
ASL_EXTERN BOOLEAN ASL_INIT_GLOBAL (Gbl_IntegerOptimizationFlag, TRUE);
|
||||
|
@ -170,6 +170,7 @@ Options (
|
||||
|
||||
printf ("General Output:\n");
|
||||
printf (" -p <prefix> Specify path/filename prefix for all output files\n");
|
||||
printf (" -va Disable all errors and warnings (summary only)\n");
|
||||
printf (" -vi Less verbose errors and warnings for use with IDEs\n");
|
||||
printf (" -vo Enable optimization comments\n");
|
||||
printf (" -vr Disable remarks\n");
|
||||
@ -620,6 +621,12 @@ AslCommandLine (
|
||||
|
||||
switch (AcpiGbl_Optarg[0])
|
||||
{
|
||||
case 'a':
|
||||
/* Disable All error/warning messages */
|
||||
|
||||
Gbl_NoErrors = TRUE;
|
||||
break;
|
||||
|
||||
case 'i':
|
||||
/* Less verbose error messages */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user