comparison g23m/condat/frame/config/cnf_ir.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\frame\config\cnf_ir.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_ir
22
23 CNFSRC=$(CONDAT_DIR)/Frame/CONFIG
24 IN2 =$(TI_DIR)/l1_std/hint
25 CONFIG =$(COMFSRC)/ConfigPS
26 INCCNF = -i$(GPF_DIR)/INC -i$(GPF_DIR)/INC/NUC -i$(GPF_DIR)/INC/NUC/ARM7
27 CFG_MOD = -dCONFIG_MODULE -dDATA_INT_RAM
28
29 #EOTD settings
30 ifeq ($(EOTD),1)
31 COPT1 += -dFF_EOTD
32 endif
33
34 # necessary for gprscomp.c in order to not crash upon startup
35 COPT1 += -dNU_DEBUG
36
37
38 #
39 # Additional Configuration settings
40 #
41
42 #BOARD=$(BOARD)
43
44
45 CNFOBJ = $(OBJ)/gprscomp.$(OBJ_TAIL)
46
47 #
48 # compressed tracing
49 #
50 ifeq ($(CTRACE),1)
51 COMPTRACE := CTRACE
52 endif
53
54 $(TOP_DIR)/$(CNF_IR_LIB) : $(OBJ) $(CNFOBJ)
55 $(AR) r $(TOP_DIR)/$(CNF_IR_LIB) $(CNFOBJ)
56
57 $(OBJ):
58 mkdir $(subst /,$(SLASH),$(OBJ))
59
60 clean:
61 $(REMOVE) $(subst /,$(SLASH),$(OBJ))
62
63
64
65
66 $(CNFOBJ): $(OBJ)/%.obj : $(CNFSRC)/%.c
67 echo -D$(NCONFIG) > cmd
68 echo -D$(COMPTRACE) >> cmd
69 echo -D$(NTRACE) >> cmd
70 echo -DBOARD=$(BOARD) >> cmd
71 echo $(COPF) >> cmd
72 echo $(COPT) >> cmd
73 echo $(COPT1) >> cmd
74 echo $(COTAR) >> cmd
75 echo $(FDOPT) >> cmd
76 echo $(INCCNF) >> cmd
77 echo $(CFG_MOD) >> cmd
78 echo $(INCDRV2) >> cmd
79 echo -i$(CONFIG) >> cmd
80 echo -i$(ICDG) >> cmd
81 echo -i$(ICOM) >> cmd
82 echo -i$(SRCCF) >> cmd
83 echo -fr$(OBJ) >> cmd
84 $(CC_PRE) $^ -@cmd
85 $(CC_INT) $(addsuffix .pp,$(basename $^))
86 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd