# HG changeset patch # User timkelly # Date 1243541998 18000 # Node ID 305cbc5999192b4c990c8670e2d7ca326ef955f6 # Parent da005072b3b2d469ab50bf1c4365762fe6b6bfcc fix bug 9188 diff -r da005072b3b2 -r 305cbc599919 builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java Wed May 27 16:15:38 2009 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java Thu May 28 15:19:58 2009 -0500 @@ -1190,10 +1190,20 @@ // run abld build platform for each component for (IPath path : normalMakMakePaths) { - + + String buildPlatform = ""; + if ( buildConfig.getPlatformString().startsWith(ISymbianBuildContext.ARMV5_PLATFORM) && + EpocEngineHelper.hasFeatureVariantKeyword(buildConfig.getCarbideProject(), path)) { + + buildPlatform = buildConfig.getPlatformString().toLowerCase(); + + } else { + buildPlatform = buildConfig.getBasePlatformForVariation().toLowerCase(); + } + List argsList = new ArrayList(); argsList.add(BUILD_CMD); - argsList.add(buildConfig.getPlatformString().toLowerCase()); + argsList.add(buildPlatform); argsList.add(buildConfig.getTargetString().toLowerCase()); argsList.add(path.removeFileExtension().lastSegment()); @@ -1212,11 +1222,21 @@ // run abld build platform target for each test component for (IPath path : testMakMakePaths) { - + + String buildPlatform = ""; + if ( buildConfig.getPlatformString().startsWith(ISymbianBuildContext.ARMV5_PLATFORM) && + EpocEngineHelper.hasFeatureVariantKeyword(buildConfig.getCarbideProject(), path)) { + + buildPlatform = buildConfig.getPlatformString().toLowerCase(); + + } else { + buildPlatform = buildConfig.getBasePlatformForVariation().toLowerCase(); + } + List argsList = new ArrayList(); argsList.add(TEST_CMD); argsList.add(BUILD_CMD); - argsList.add(buildConfig.getPlatformString().toLowerCase()); + argsList.add(buildPlatform); argsList.add(buildConfig.getTargetString().toLowerCase()); argsList.add(path.removeFileExtension().lastSegment()); @@ -1716,10 +1736,20 @@ // run abld clean/reallyclean for each component for (IPath path : normalMakMakePaths) { - + + String buildPlatform = ""; + if ( buildConfig.getPlatformString().startsWith(ISymbianBuildContext.ARMV5_PLATFORM) && + EpocEngineHelper.hasFeatureVariantKeyword(buildConfig.getCarbideProject(), path)) { + + buildPlatform = buildConfig.getPlatformString().toLowerCase(); + + } else { + buildPlatform = buildConfig.getBasePlatformForVariation().toLowerCase(); + } + List argsList = new ArrayList(); argsList.add(abldCleanCmd); - argsList.add(buildConfig.getPlatformString().toLowerCase()); + argsList.add(buildPlatform); argsList.add(buildConfig.getTargetString().toLowerCase()); argsList.add(path.removeFileExtension().lastSegment()); @@ -1881,10 +1911,20 @@ // run abld freeze for each component for (IPath path : normalMakMakePaths) { - + + String buildPlatform = ""; + if ( buildConfig.getPlatformString().startsWith(ISymbianBuildContext.ARMV5_PLATFORM) && + EpocEngineHelper.hasFeatureVariantKeyword(buildConfig.getCarbideProject(), path)) { + + buildPlatform = buildConfig.getPlatformString().toLowerCase(); + + } else { + buildPlatform = buildConfig.getBasePlatformForVariation().toLowerCase(); + } + List argsList = new ArrayList(); argsList.add(FREEZE_CMD); - argsList.add(buildConfig.getPlatformString().toLowerCase()); + argsList.add(buildPlatform); argsList.add(path.removeFileExtension().lastSegment()); for (String arg : buildConfig.getBuildArgumentsInfo().getAbldFreezeArgs().split(" ")) {