diff options
author | wuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-08 02:40:27 +0000 |
---|---|---|
committer | wuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-11-08 02:40:27 +0000 |
commit | 15d449ba23231cd37840c0ba7dc0babf175cffb2 (patch) | |
tree | 33111f82a19d128e690f207b013dbfc9de489ecf /Tools/Java/Source | |
parent | e4a246f1343b71b600baad9dd07303d927930ea1 (diff) | |
download | edk2-platforms-15d449ba23231cd37840c0ba7dc0babf175cffb2.tar.xz |
Fix a bug that can't add library MSA specific build option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1911 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java/Source')
-rw-r--r-- | Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java b/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java index 719359af59..9a4d93a89b 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java @@ -529,6 +529,14 @@ public class FpdParserTask extends Task { GlobalData.addMsaBuildOption(moduleId, parseMsaBuildOptions(false));
GlobalData.addMsaFamilyBuildOption(moduleId, parseMsaBuildOptions(true));
+ ModuleIdentification[] libraryInstances = saq.getLibraryInstance(null);
+ for (int i = 0; i < libraryInstances.length; i++) {
+ saq.push(GlobalData.getDoc(libraryInstances[i], fpdModuleId.getArch()));
+ GlobalData.addMsaBuildOption(libraryInstances[i], parseMsaBuildOptions(false));
+ GlobalData.addMsaFamilyBuildOption(libraryInstances[i], parseMsaBuildOptions(true));
+ saq.pop();
+ }
+
saq.pop();
}
}
|