# Copyright (C) 2013 Czech Technical University in Prague # # Authors: # - Carlos Jenkins # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # File : target_tools.mk # Abstract: # Makefile for CCS toolchain support. # Reference: ??? include $(START_DIR)/slprj/target_paths.mk # Compiler command and options CC = "$(COMPILER_ROOT)/bin/armcl" CFLAGS = -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi \ -O2 --diag_warning=225 --display_error_number --enum_type=packed \ --include_path="$(COMPILER_ROOT)/include" \ --include_path="$(TARGET_ROOT)/lib" CFLAGS += $(OPTS) CDEBUG = -g --gcc CCOUTPUTFLAG = -o CXX = CXXFLAGS = CXXDEBUG = # Linker command and options LD = $(CC) LDFLAGS = -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi \ -O2 --diag_warning=225 --display_error_number --enum_type=packed \ -z -m"$(MODEL).map" \ -i"$(COMPILER_ROOT)/lib" -i"$(COMPILER_ROOT)/include" \ --reread_libs --warn_sections --display_error_number --rom_model \ --be32 LDDEBUG = -g --gcc LDOUTPUTFLAG = -o # Archiver command and options AR = "$(COMPILER_ROOT)/bin/armar" ARFLAGS = -r # Binary file format converter command and options OBJCOPY = OBJCOPYFLAGS = # Specify the output extension from compiler OBJ_EXT = .o # Specify extension from linker PROGRAM_FILE_EXT = .out # Specify extension for final product at end of build EXE_FILE_EXT = $(PROGRAM_FILE_EXT)