comparison src/cs/services/cst/cst.mak @ 0:945cf7f506b2

src/cs: chipsetsw import from tcs211-fcmodem binary blobs and LCD demo files have been excluded, all line endings are LF only
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 22:50:11 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:945cf7f506b2
1 #
2 # Makefile for CST service (ARM compiler)
3 #
4 # Copyright (c) Texas Instruments 2001
5 #
6 # Author: Laurent Sollier
7 # Date : 11 February 2002
8
9 # Compilation flags
10 CST_DEFS := -dNTRACE -d_TARGET_ -dNEW_ENTITY -uFF_EM_MODE -dSHARED_VSI -dSMI -dNWARN -dOPTION_MULTITHREAD -dNEW_FRAME
11 # Compilation flag for memory supervision
12 #CST_DEFS := -dNTRACE -d_TARGET_ -dNEW_ENTITY -uFF_EM_MODE -dSHARED_VSI -dSMI -dNWARN -dOPTION_MULTITHREAD -dNEW_FRAME -dMEMORY_SUPERVISION
13
14 CST_IP := -i$(ICDG) -i$(CONDAT_BASE_DIR)/ms/src/aci
15 CST_FLAGS := $(NODBG) $(LENDIAN) $(16INST) -o2 $(INL) $(ALGN) $(CST_DEFS) $(CST_IP) $(CFLAGSSERVICES) -I$(ICDG)
16 WIN_CST_FLAGS :=
17
18 # Libraries definition
19 LIB_CST := $(OUT_LIB_DIR)/cst.lib
20 # Name of the lib for memory supervision
21 #LIB_CST := $(OUT_LIB_DIR)/cst$(NPMODE)$(NCHP)$(NBRD)$(NNF)$(NNTRC)$(NWCP)_ps.lib
22 CFG_LIBS += $(LIB_CST)
23
24 # Source definition
25 COMMON_SRC_CST += $(SERVICES_DIR)/cst/cst_csf.c \
26 $(SERVICES_DIR)/cst/cst_exts.c \
27 $(SERVICES_DIR)/cst/cst_pei.c \
28 $(SERVICES_DIR)/cst/cst_stack.c
29 SRC_CST += $(COMMON_SRC_CST)
30 WIN_SRC_CST += $(COMMON_SRC_CST)
31
32 # Objects and dependencies definition
33 OBJ_CST := $(patsubst ../%.c,$(TEMPORARY_FILE_DIR)/%.obj,$(filter %.c,$($(TP)SRC_CST)))
34 CFG_OBJS += $(OBJ_CST)
35 #Generation of dependencies is not performed for CST
36 #CFG_DEPS += $(OBJ_CST:.obj=.d)
37
38
39 ######## LIBRARIES #############
40 $(LIB_CST) : $(OBJ_CST)
41 $(MKDIR) $(dir $@)
42 $($(TP)LINKER) $($(TP)LFLAGS) $($(TP)LOUTOUT_FLAG)$@ $^
43
44 ######## OBJECTS #############
45 $(OBJ_CST) : $(TEMPORARY_FILE_DIR)/%.obj: ../%.c
46 $(MKDIR) -q $(dir $@)
47 $($(TP)COMPILER) $($(TP)CST_FLAGS) $($(TP)COUTPUT_FLAG)$(@D)/ $<