diff --git a/system/testcodes/bootloader/makefile b/system/testcodes/bootloader/makefile index d672601c6a47efef0663124d7d3fda6a800c5302..4b6ec796817676e9f84dba96c1886ce9e7a879a2 100644 --- a/system/testcodes/bootloader/makefile +++ b/system/testcodes/bootloader/makefile @@ -129,16 +129,16 @@ COMPILE_MICROLIB = 0 COMPILE_SMALLMUL = 0 ifeq ($(TOOL_CHAIN),ds6) + ARM_TARGET = --target=arm-$(TARGET) CC_TOOL = armclang - ASM_TOOL = armclang -masm=armasm - ARM_CC_TARGET = --target=arm-$(TARGET) + ASM_TOOL = armclang -masm=armasm $(ARM_TARGET) else CC_TOOL = armcc ASM_TOOL = armasm - ARM_CC_TARGET = -Otime + ARM_TARGET = -Otime endif -ARM_CC_OPTIONS = $(ARM_CC_TARGET) -c -O3 -g -I $(DEVICE_DIR)/Include -I $(CORE_DIR) $(USER_DEFINE) +ARM_CC_OPTIONS = $(ARM_TARGET) -c -O3 -g -I $(DEVICE_DIR)/Include -I $(CORE_DIR) $(USER_DEFINE) ARM_ASM_OPTIONS = -g ARM_LINK_OPTIONS = "--keep=$(STARTUP_FILE).o(RESET)" "--first=$(STARTUP_FILE).o(RESET)" \