diff --git a/system/testcodes/bootloader/makefile b/system/testcodes/bootloader/makefile
index cbcdeed2b95ca1647969dd3bf13be54d7ff48b88..e2d4b56536179f8a8593cea9931cfc644d9515cc 100644
--- a/system/testcodes/bootloader/makefile
+++ b/system/testcodes/bootloader/makefile
@@ -129,8 +129,10 @@ COMPILE_MICROLIB = 0
 COMPILE_SMALLMUL = 0
 
 ifeq ($(TOOL_CHAIN),ds6)
+  CC_TOOL = armclang
   ARM_CC_TARGET = --target=arm-$(TARGET)
 else
+  CC_TOOL = armcc
   ARM_CC_TARGET = -Otime
 endif
 
@@ -185,10 +187,10 @@ all_ds6 : $(BOOTLOADER).hex $(BOOTLOADER).lst
 
 
 $(BOOTLOADER).o :  $(SOFTWARE_DIR)/common/bootloader/$(BOOTLOADER).c $(DEPS_LIST)
-	armcc $(ARM_CC_OPTIONS) $(CPU_TYPE) $< -o  $@
+	$(CC_TOOL) $(ARM_CC_OPTIONS) $(CPU_TYPE) $< -o  $@
 
 $(SYSTEM_FILE).o : $(DEVICE_DIR)/Source/$(SYSTEM_FILE).c $(DEPS_LIST)
-	armcc $(ARM_CC_OPTIONS) $(CPU_TYPE) $< -o  $@
+	$(CC_TOOL) $(ARM_CC_OPTIONS) $(CPU_TYPE) $< -o  $@
 
 $(STARTUP_FILE).o : $(STARTUP_DIR)/$(STARTUP_FILE).s $(DEPS_LIST)
 	armasm $(ARM_ASM_OPTIONS) $(CPU_TYPE) $< -o  $@