FreeCalypso > hg > tcs211-l1-reconst
comparison g23m/condat/com/src/config/cnf.mak @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 #----------------------------------------------------------------------------- | |
2 # Project : | |
3 # Modul : J:\g23m\condat\com\src\config\cnf.mak | |
4 #----------------------------------------------------------------------------- | |
5 # Copyright 2002 Texas Instruments Berlin, AG | |
6 # All rights reserved. | |
7 # | |
8 # This file is confidential and a trade secret of Texas | |
9 # Instruments Berlin, AG | |
10 # The receipt of or possession of this file does not convey | |
11 # any rights to reproduce or disclose its contents or to | |
12 # manufacture, use, or sell anything it may describe, in | |
13 # whole, or in part, without the specific written consent of | |
14 # Texas Instruments Berlin, AG. | |
15 #----------------------------------------------------------------------------- | |
16 #| Purpose : | |
17 #----------------------------------------------------------------------------- | |
18 # | |
19 # Setting Directory for Frame Objects | |
20 # | |
21 OBJ := $(L23_OBJ_DIR)/cnf | |
22 | |
23 CNFSRC=$(CONDAT_DIR)/com/src/CONFIG | |
24 IN2 =$(TI_DIR)/l1_std/hint | |
25 CNFOPT=-dCONFIG_MODULE -dNU_DEBUG | |
26 CONFIG =$(COMFSRC)/ConfigPS | |
27 INCCNF = -i$(GPF_DIR)/INC -i$(GPF_DIR)/INC/NUC -i$(GPF_DIR)/Frame -i$(GPF_DIR)/Frame/NUC -i$(GPF_DIR)/INC/NUC/ARM7 -i$(GPF_DIR)/PROJECT/GSM | |
28 | |
29 # necessary for gsmcomp.c in order to not crash upon startup | |
30 COPT1 += -dNU_DEBUG | |
31 | |
32 #EOTD settings | |
33 ifeq ($(EOTD),1) | |
34 COPT1 += -dFF_EOTD | |
35 endif | |
36 | |
37 # | |
38 # Additional Configuration settings | |
39 # | |
40 | |
41 BOARD=$(BOARD) | |
42 | |
43 | |
44 CNFOBJ = $(OBJ)/custcomp.$(OBJ_TAIL) $(OBJ)/gsmcomp.$(OBJ_TAIL) $(OBJ)/gsminit.$(OBJ_TAIL) $(OBJ)/gsmdrv.$(OBJ_TAIL) | |
45 | |
46 # | |
47 # compressed tracing | |
48 # | |
49 ifeq ($(CTRACE),1) | |
50 COMPTRACE := CTRACE | |
51 endif | |
52 | |
53 $(TOP_DIR)/$(CNF_LIB) : $(OBJ) $(CNFOBJ) | |
54 $(AR) r $(TOP_DIR)/$(CNF_LIB) $(CNFOBJ) | |
55 | |
56 $(OBJ): | |
57 mkdir $(subst /,$(SLASH),$(OBJ)) | |
58 | |
59 clean: | |
60 $(REMOVE) $(subst /,$(SLASH),$(OBJ)) | |
61 | |
62 | |
63 | |
64 | |
65 $(CNFOBJ): $(OBJ)/%.obj : $(CNFSRC)/%.c | |
66 echo -D$(NCONFIG) > cmd | |
67 echo -D$(COMPTRACE) >> cmd | |
68 echo -D$(NTRACE) >> cmd | |
69 echo -DBOARD=$(BOARD) >> cmd | |
70 echo $(COPF) >> cmd | |
71 echo $(COPT) >> cmd | |
72 echo $(COPT1) >> cmd | |
73 echo $(COTAR) >> cmd | |
74 echo $(FDOPT) >> cmd | |
75 echo $(INCCNF) >> cmd | |
76 echo $(CNFOPT) >> cmd | |
77 echo $(INCDRV2) >> cmd | |
78 echo -i$(CONFIG) >> cmd | |
79 echo -i$(ICDG) >> cmd | |
80 echo -i$(ICOM) >> cmd | |
81 echo -i$(SRCCF) >> cmd | |
82 echo -fr$(OBJ) >> cmd | |
83 $(CC_PRE) $^ -@cmd | |
84 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
85 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd |