mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Fix EDKT138. And add active_platform file info for stand alone module build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1032 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7cd6b97fc7
commit
fa2da5b1c1
@ -153,6 +153,8 @@ public class FrameworkBuildTask extends Task{
|
||||
// Build every MSA files (SINGLE MODULE BUILD)
|
||||
//
|
||||
else if (buildFile.getName().endsWith(".msa")) {
|
||||
File tmpFile = new File(GlobalData.getWorkspacePath() + File.separatorChar + activePlatform);
|
||||
System.out.println("Using FPD file [" + tmpFile.getPath() + "] as active platform. ");
|
||||
System.out.println("Start to build MSA file [" + buildFile.getPath() + "] ..>> ");
|
||||
GenBuildTask genBuildTask = new GenBuildTask();
|
||||
genBuildTask.setSingleModuleBuild(true);
|
||||
|
@ -500,6 +500,9 @@ public class FpdParserTask extends Task {
|
||||
@param moduleName current module identification
|
||||
**/
|
||||
private void updateFvs(String fvSequence, String fvName, FpdModuleIdentification fpdModuleId) {
|
||||
if (fvName == null || fvName.trim().length() == 0) {
|
||||
fvName = "NULL";
|
||||
}
|
||||
String upcaseFvName = fvName.toUpperCase();
|
||||
String[] fvNameArray = upcaseFvName.split("[, \t]+");
|
||||
for (int i = 0; i < fvNameArray.length; i++) {
|
||||
|
@ -26,13 +26,11 @@ import java.util.Set;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.xmlbeans.XmlObject;
|
||||
import org.tianocore.DbPathAndFilename;
|
||||
import org.tianocore.FrameworkDatabaseDocument;
|
||||
import org.tianocore.ModuleSurfaceAreaDocument;
|
||||
import org.tianocore.ModuleSurfaceAreaDocument.ModuleSurfaceArea;
|
||||
import org.tianocore.PcdBuildDefinitionDocument;
|
||||
import org.tianocore.build.id.FpdModuleIdentification;
|
||||
import org.tianocore.build.id.ModuleIdentification;
|
||||
import org.tianocore.build.id.PackageIdentification;
|
||||
|
@ -1924,9 +1924,6 @@ public class SurfaceAreaQuery {
|
||||
}
|
||||
|
||||
public static boolean isHaveTianoR8FlashMap(){
|
||||
PcdCodedDocument.PcdCoded.PcdEntry[] pcdEntries = null;
|
||||
String[] results;
|
||||
int index;
|
||||
String[] xPath = new String[] {"/"};
|
||||
Object[] returns = get ("Externs", xPath);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user