From 503fefccb2bb6cbe766b6dd0ac67402e76bcc9d3 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 22 Sep 2006 02:53:53 +0000 Subject: Add hint if migration tool cannot handle an obsolete R8 library interface. 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Tools/Source/MigrationTools') 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; -- cgit v1.1