Add hint if migration tool cannot handle an obsolete R8 library interface.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 22 Sep 2006 02:53:53 +0000 (02:53 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 22 Sep 2006 02:53:53 +0000 (02:53 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1593 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/MigrationTools/org/tianocore/migration/Func.java

index 1858066..0154fc8 100644 (file)
@@ -23,8 +23,11 @@ public class Func {
     }\r
     Func(String[] linecontext) {\r
         r8funcname = linecontext[1];\r
-        r8libname = linecontext[0];\r
+        r8libname  = linecontext[0];\r
         r9funcname = linecontext[2];\r
+        if (r9funcname.contains("n/a")) {\r
+            r9funcname = "#error Unknown or missing library function in EDKII: " + r8funcname;\r
+        }\r
         r9libname = linecontext[3];\r
     }\r
     public String r8funcname;\r