comparison src/gpf3/ccd/ccd_inc.mk @ 2:c41a534f33c6

src/gpf3: preened GPF goo from TCS3.2
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 23:52:50 +0000
parents
children
comparison
equal deleted inserted replaced
1:864b8cc0cf63 2:c41a534f33c6
1 #-----------------------------------------------------------------------------
2 # Project :
3 # Modul : ccd_inc.mk
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 : Some general definition also used in CCD\util.
17 #-----------------------------------------------------------------------------
18
19 #-------------------------Suffixes for the name of the output file
20 #---------e.g. ccd_tr_rt_po_db.lib
21
22 ifdef TOOL_CHOICE
23 TSDIR:=/ts$(TOOL_CHOICE)
24 tsTail :=_ts$(TOOL_CHOICE)
25 else
26 TSDIR:=
27 endif
28
29 ifeq ($(TRACE), 1)
30 trTail :=_tr
31 TRACEDIR=/trace
32 else
33 trTail:=
34 TRACEDIR=
35 endif
36
37 ifeq ($(MEMSUPER), 1)
38 PSDIR=/ps
39 pstail :=_ps
40 else
41 PSDIR=
42 pstail:=
43 endif
44
45 ifeq ($(DEBUG), 1)
46 DEBUGDIR=/debug
47 dbTail :=_db
48 else
49 DEBUGDIR=
50 dbTail:=
51 endif
52
53 SECTION=
54 secTail=
55 ifeq ($(RUN_FLASH), 1)
56 SECTION=/fl
57 secTail:=_fl
58 endif
59 ifeq ($(RUN_INT_RAM), 1)
60 SECTION=/ir
61 secTail:=_ir
62 endif
63
64 ifeq ($(TARGET), nuc)
65 tTail :=_na7
66 ifeq ($(PLATFORM), arm7)
67 tTail :=_na7
68 ifeq ($(DYNARR), 1)
69 DADIR=/da
70 datail :=_da
71 else
72 DADIR=
73 datail:=
74 endif
75 else
76 ifeq ($(PLATFORM), arm9)
77 tTail :=_na9
78 else
79 ifeq ($(PLATFORM), pc)
80 tTail :=_npc
81 endif #pc
82 endif #arm9
83 endif #arm7
84 else
85 ifeq ($(TARGET), win32)
86 tTail :=_wn
87 else
88 ifeq ($(TARGET), linuxpc)
89 tTail :=_lpc
90 OSENV=sus
91 else
92 ifeq ($(TARGET), rtlpc)
93 tTail :=_rlp
94 OSENV=sus
95 RTL_VERSION=2.0
96 RTL_DIR=/opt/rtldk-$(RTL_VERSION)/rtlinuxpro
97 include $(RTL_DIR)/rtl.mk
98 else
99 ifeq ($(TARGET), linuxarm)
100 tTail :=_la9
101 OSENV=sus
102 else
103 ifeq ($(TARGET), solsparc)
104 tTail :=_ssp
105 OSENV=sus
106 BYTESEX=motorola
107 endif #solsparc
108 endif #linuxarm
109 endif #rtlpc
110 endif #linuxpc
111 endif #win32
112 endif #nuc
113
114 XXX:=$(tTail)$(trTail)$(dbTail)$(pstail)$(datail)$(secTail)$(tsTail)