mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
comment out item type checking temporarily when adding module to fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1177 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
57315d7035
commit
1faac7b69f
@ -873,6 +873,7 @@ public class FpdFileContents {
|
|||||||
//
|
//
|
||||||
// Special dynamic type, if this pcd already exists in other ModuleSA
|
// Special dynamic type, if this pcd already exists in other ModuleSA
|
||||||
//
|
//
|
||||||
|
/* Comment out Item type checking temporarily.
|
||||||
if (itemType.equals("DYNAMIC")) {
|
if (itemType.equals("DYNAMIC")) {
|
||||||
|
|
||||||
ListIterator li = pcdConsumer.listIterator();
|
ListIterator li = pcdConsumer.listIterator();
|
||||||
@ -898,7 +899,7 @@ public class FpdFileContents {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
PcdBuildDefinitionDocument.PcdBuildDefinition.PcdData fpdPcd = moduleSa.getPcdBuildDefinition().addNewPcdData();
|
PcdBuildDefinitionDocument.PcdBuildDefinition.PcdData fpdPcd = moduleSa.getPcdBuildDefinition().addNewPcdData();
|
||||||
fpdPcd.setCName(cName);
|
fpdPcd.setCName(cName);
|
||||||
fpdPcd.setToken(token);
|
fpdPcd.setToken(token);
|
||||||
@ -2320,7 +2321,7 @@ public class FpdFileContents {
|
|||||||
if (fpdHdr == null) {
|
if (fpdHdr == null) {
|
||||||
fpdHdr = fpdRoot.addNewPlatformHeader();
|
fpdHdr = fpdRoot.addNewPlatformHeader();
|
||||||
}
|
}
|
||||||
genPlatformDefsSkuInfo("0", "DEFAULT");
|
|
||||||
return fpdHdr;
|
return fpdHdr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ import java.awt.event.ActionEvent;
|
|||||||
import java.awt.event.ComponentEvent;
|
import java.awt.event.ComponentEvent;
|
||||||
import java.awt.event.FocusAdapter;
|
import java.awt.event.FocusAdapter;
|
||||||
import java.awt.event.FocusEvent;
|
import java.awt.event.FocusEvent;
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
import javax.swing.JButton;
|
import javax.swing.JButton;
|
||||||
import javax.swing.JFrame;
|
import javax.swing.JFrame;
|
||||||
@ -535,6 +536,23 @@ public class FpdHeader extends IInternalFrame {
|
|||||||
jTextFieldSpecification.setText(ffc.getFpdHdrSpec());
|
jTextFieldSpecification.setText(ffc.getFpdHdrSpec());
|
||||||
}
|
}
|
||||||
ffc.setFpdHdrSpec(jTextFieldSpecification.getText());
|
ffc.setFpdHdrSpec(jTextFieldSpecification.getText());
|
||||||
|
|
||||||
|
ffc.genPlatformDefsSkuInfo("0", "DEFAULT");
|
||||||
|
Vector<Object> v = new Vector<Object>();
|
||||||
|
ffc.getPlatformDefsSupportedArchs(v);
|
||||||
|
if (v.size() == 0) {
|
||||||
|
v.add("IA32");
|
||||||
|
ffc.setPlatformDefsSupportedArchs(v);
|
||||||
|
}
|
||||||
|
v.removeAllElements();
|
||||||
|
ffc.getPlatformDefsBuildTargets(v);
|
||||||
|
if (v.size() == 0) {
|
||||||
|
v.add("DEBUG");
|
||||||
|
ffc.setPlatformDefsBuildTargets(v);
|
||||||
|
}
|
||||||
|
if (ffc.getPlatformDefsInterDir() == null) {
|
||||||
|
ffc.setPlatformDefsInterDir("UNIFIED");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user