return newConfig;
}
-
- /*
- protected String getNewBuildTargetName( IConfiguration config , String toId ) {
- String newTargetName = null;
-
- if ( toId.equals(PlatformConfigurationManager.SBI_PROJECT_TYPE_ID) ) {
- if ( config.getParent().getId().contains("custom.debian.emulator") ) {
- newTargetName = SmartBuildInterface.makeTargetID(
- PlatformConfigurationManager.SBI_I386_ROOTSTRAP_NAME,
- PlatformConfigurationManager.SBI_I386_TOOLCHAIN_NAME) ;
- } else if ( config.getParent().getId().contains("custom.debian.device") ) {
- newTargetName = SmartBuildInterface.makeTargetID(
- PlatformConfigurationManager.SBI_ARM_ROOTSTRAP_NAME,
- PlatformConfigurationManager.SBI_ARM_TOOLCHAIN_NAME) ;
- } else {
- newTargetName = PlatformConfigurationManager.SBI_DEFAULT_TARGET_NAME;
- }
- } else {
- newTargetName = PlatformConfigurationManager.SBI_DEFAULT_TARGET_NAME;
- }
-
- return newTargetName;
- }
- */
-
}
attrPath.setValue( getRootstrapPathOfXml(path) );
}
Attr attrType = doc.createAttribute("supportToolchainType");
- attrType.setValue("tizen.obs");
+ attrType.setValue(PlatformRootstrap.SUPPORTED_TOOLCHAIN_TYPE);
firstnode.setAttributeNode(attrId);
firstnode.setAttributeNode(attrName);
public static final String PROPERTY_REPO_URLS = "REPOSITORY_URLS";
public static final String PROPERTY_CONFIGURATION_FILE = "CONFIGURATION_FILE";
- public static final String SUPPORTED_TOOLCHAIN_TYPE = "tizen.obs";
+ public static final String SUPPORTED_TOOLCHAIN_TYPE = "tizen.platform";
public static final String DEFAULT_ROOTSTRAP_ARM_ID = "tizen-device-2.1.platform";
public static final String DEFAULT_ROOTSTRAP_I386_ID = "tizen-emulator-2.1.platform";
private static final String VERSION = "1.0";