\r
private Vector<String> vArchList = null;\r
\r
+ private Vector<String> vDisableArchList = null;\r
+\r
//\r
// Not used by UI\r
//\r
jComboBoxActivePlatform.setBounds(new java.awt.Rectangle(valueColumn, activePlatformRow, valueWidth,\r
oneRowHeight));\r
jComboBoxActivePlatform.setPreferredSize(new java.awt.Dimension(valueWidth, oneRowHeight));\r
- jComboBoxActivePlatform.setToolTipText("<html>Select "Do Not Set" if you want to build a platform"\r
+ jComboBoxActivePlatform\r
+ .setToolTipText("<html>Select "Do Not Set" if you want to build a platform"\r
+ "<br>from the directory where the FPD file exists,"\r
+ "<br>otherwise scroll down to select the platform.</html>");\r
\r
private ICheckBoxList getICheckBoxListTagName() {\r
if (iCheckBoxListTagName == null) {\r
iCheckBoxListTagName = new ICheckBoxList();\r
- \r
+\r
if (toolsDefTagNames != null) {\r
toolsDefTagNames.trim();\r
String aTagNames[] = toolsDefTagNames.trim().split(" ");\r
Vector<String> defaultTags = stringToVector("MYTOOLS");\r
iCheckBoxListTagName.setAllItems(defaultTags);\r
}\r
- \r
+\r
iCheckBoxListTagName.setAllItemsUnchecked();\r
iCheckBoxListTagName.setToolTipText("<html>"\r
+ "Specify the TagName(s) from the tool configuration file to use"\r
\r
private ICheckBoxList getICheckBoxListBuildTarget() {\r
if (iCheckBoxListBuildTarget == null) {\r
- \r
+\r
String aBuildTargets[] = toolsDefTargetNames.trim().split(" ");\r
Vector<String> vBuildTargets = new Vector<String>();\r
for (int i = 0; i < aBuildTargets.length; i++) {\r
lineCounter++;\r
}\r
reader.close();\r
+ // Only enable Architecture selection based on tool chain installations\r
+ String turnOff = "";\r
+ if (!toolsDefArchNames.contains("EBC"))\r
+ turnOff = "EBC ";\r
+ if (!toolsDefArchNames.contains("PPC"))\r
+ turnOff += "PPC ";\r
+ if (!toolsDefArchNames.contains("IPF"))\r
+ turnOff += "IPF ";\r
+ if (!toolsDefArchNames.contains("X64"))\r
+ turnOff += "X64 ";\r
+ if (!toolsDefArchNames.contains("IA32"))\r
+ turnOff += "X64 ";\r
+ if (!toolsDefArchNames.contains("ARM"))\r
+ turnOff += "ARM ";\r
+ turnOff = turnOff.trim();\r
+ vDisableArchList = stringToVector(turnOff);\r
+\r
if (!toolsDefTargetNames.matches("[A-Z]+")) {\r
toolsDefTargetNames = toolsDefTargetNames.replace("* ", "").trim();\r
if (Debug)\r
\r
jContentPane.add(jLabelTargetArch, null);\r
\r
+ jArchCheckBox.setDisabledItems(vDisableArchList);\r
jArchCheckBox.setSelectedItems(vArchList);\r
jContentPane.add(jArchCheckBox, null);\r
\r