diff options
-rw-r--r-- | Tools/Source/MigrationTools/org/tianocore/migration/Func.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/Func.java b/Tools/Source/MigrationTools/org/tianocore/migration/Func.java index 1858066..0154fc8 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/Func.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/Func.java @@ -23,8 +23,11 @@ public class Func { }
Func(String[] linecontext) {
r8funcname = linecontext[1];
- r8libname = linecontext[0];
+ r8libname = linecontext[0];
r9funcname = linecontext[2];
+ if (r9funcname.contains("n/a")) {
+ r9funcname = "#error Unknown or missing library function in EDKII: " + r8funcname;
+ }
r9libname = linecontext[3];
}
public String r8funcname;
|