For now, disable help compiler for Raptor in Linux, since build scripts are still Win32-centric
authorEd Swartz <ed.swartz@nokia.com>
Tue, 08 Dec 2009 15:31:51 -0600
changeset 653 1003c657f83a
parent 650 ebac5cfd032e
child 654 3d9b565b1b72
For now, disable help compiler for Raptor in Linux, since build scripts are still Win32-centric
core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java	Tue Dec 08 11:50:06 2009 -0600
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java	Tue Dec 08 15:31:51 2009 -0600
@@ -20,6 +20,7 @@
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.Plugin;
 
+import com.nokia.carbide.cpp.internal.api.sdk.SBSv2Utils;
 import com.nokia.carbide.cpp.sdk.core.ISymbianBuildContext;
 import com.nokia.carbide.cpp.sdk.core.ISymbianSDK;
 import com.nokia.carbide.cpp.sdk.core.SDKCorePlugin;
@@ -111,6 +112,13 @@
 		if (HostOS.IS_WIN32) {
 			helpCompilerNames = new String[] { HELP_COMPILER_WIN32, HELP_COMPILER_PERL };
 		} else {
+			
+			// TODO: the infrastructure for the techview/bldhelp.mk is a total mess 
+			// currently, and it also appears that help is obsolete in recent devkits,
+			// so just drop this
+			if (!SBSv2Utils.enableSBSv1Support())
+				return null;
+			
 			helpCompilerNames = new String[] { HELP_COMPILER_PERL };
 		}
 		for (ISymbianBuildContext symbianBuildContext : getBuildContexts(template)) {