Rev 327 | Blame | Compare with Previous | Last modification | View Log | RSS feed
################################################################################ File: TOOLSET/KeilArmV43A.def# Contents: KeilArmV4 defines###############################################################################toolset = KeilArmV4s = so = oa = libexe =.SUFFIXES: .asm## Toolset global variables# KEILMDK_ARM43A - Root of the Keil MDK Toolkit (From Environment)# KEILMDK_ARM - Root of the Keil MDK Toolkit (Make format)# KEILMDK_ARM_BIN - Root of the Arm compiler#KEILMDK_ARM43A ?= c:\Keil\4.03a\ARMKEILMDK_ARM := $(subst \,/,$(strip $(KEILMDK_ARM43A)))KEILMDK_ARM_BIN := $(KEILMDK_ARM)/bin40## Ensure that the tools are available#.PHONY: KeilArmKeilArmV3:@$(echo) '[Toolset $(toolset)]'; \[ -z "$KEILMDK_ARM43A" ] && echo 'KEILMDK_ARM43A env var not set' && exit 2; \if [ ! -d "$(KEILMDK_ARM)" ] ; then echo "KEILMDK_ARM43A Directory not found: $(KEILMDK_ARM)"; exit 2; fi; \if [ ! -d "$(KEILMDK_ARM_BIN)" ] ; then echo "Keil Compiler directory not found: $(KEILMDK_ARM_BIN)"; exit 2; fi; \## Toolset programs#assembler := $(KEILMDK_ARM_BIN)/armasmcompiler := $(KEILMDK_ARM_BIN)/armcclibrarian := $(KEILMDK_ARM_BIN)/armarlinker := $(KEILMDK_ARM_BIN)/armlinkfromelf := $(KEILMDK_ARM_BIN)/fromelf## Compiler include search paths#KEIL_INCLUDES := $(KEILMDK_ARM)/RV31/INC## Compiler library search paths#KEIL_LIBS := $(KEILMDK_ARM)/RV31/LIB## Prevent the user from subverting the toolset#RVCT40_ASMOPT :=RVCT40INC :=RVCT40LIB :=RVCT40_CCOPT :=RVCT40_LINKOPT :=RVCT40LIB :=RVCT40_FROMELFOPT :=export RVCT40_ASMOPT RVCT40INC RVCT40LIB RVCT40_CCOPT RVCT40_LINKOPT RVCT40LIB RVCT40_FROMELFOPT#