f.Printf("CXX := $(CCACHE_COMPILE) $(DISTCC_COMPILE) $(GCC_PREFIX)%s$(_SYSROOT)\n", compiler.cxxCommand);
f.Printf("ECP := %s\n", compiler.ecpCommand);
f.Printf("ECC := %s\n", compiler.eccCommand);
+ f.Printf("ifeq \"$(TARGET_PLATFORM)\" \"$(HOST_PLATFORM)\"\n");
+ f.Printf("ECS := %s\n", compiler.ecsCommand);
+ f.Printf("else\n");
f.Printf("ECS := %s -t $(TARGET_PLATFORM)\n", compiler.ecsCommand);
+ f.Printf("endif\n");
f.Printf("EAR := %s\n", compiler.earCommand);
f.Printf("AS := $(GCC_PREFIX)as\n");
export CPP = $(CCACHE_COMPILE) $(DISTCC_COMPILE) $(GCC_PREFIX)cpp$(_SYSROOT)
export ECP = ecp
export ECC = ecc
+ifeq "$(TARGET_PLATFORM)" "$(HOST_PLATFORM)"
export ECS = ecs
+else
+export ECS = ecs -t $(PLATFORM)
+endif
export EAR = ear
export AS = $(GCC_PREFIX)as
export LD = $(GCC_PREFIX)ld