summaryrefslogtreecommitdiff
path: root/templates/wb26dll.mpt
blob: b6e11052ce365807294be8426244d922230e575d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// -*- MPC -*-
conditional_include "common"

lib_prefix = lib
lib_ext    = .a
dll_ext    =
exe_ext    = .out

cxx_derivedsigs = *.o
ass_derivedsigs = *.o
c_derivedsigs = *.o
part_derivedsigs = *.o
ar_derivedsigs = .a

platform = VxWorks

VxWorks {
  platform_name = vxworks-6.4
  project_type = DownloadableKernelModuleProject
  platform_includes = $(WIND_BASE)/target/h $(WIND_BASE)/target/h/wrn/coreip
  platform_makefilevars = WIND_BASE WIND_USR
  wrprj_macros = VX_CPU_FAMILY CPU TOOL_FAMILY TOOL TOOL_PATH CC_ARCH_SPEC
  buildspecs = PPC604gnu PPC603gnu PENTIUM4gnu PPC85XXgnu
  default_buildspec = PPC604gnu
  platform_asflags = -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL
  platform_cxxflags = -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL
  platform_ccflags = -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL
  librarian_objects = @$(PRJ_ROOT_DIR)/filelist.txt
  exe_buildtool = Linker
  project_type_macro = DKM
}

linkflags =
includedir =

// ***********************************************************************
// Build Specs Section
// ***********************************************************************

PPC603gnu {
  cc_arch_spec = -mcpu=603 -mstrict-align -mno-implicit-fp -D_WRS_HARDWARE_FP -mlongcall
  cpu = PPC603
  tool_family = gnu
  tool = gnu
  vx_cpu_family = ppc
  cxx = ccppc
  ar = arppc
  nm = nmppc
  munchflag = ppc
  cxx_flags = -ansi -Wall -MD -MP -fexceptions -frtti -fweak -Wunused
  cxx_dbgflags = -g
  cxx_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  ass_flags = -ansi -xassembler-with-cpp -MD -MP
  ass_dbgflags = -g
  ass_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  c_flags = -Wall -MD -MP
  c_dbgflags = -g
  c_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  ar_flags = crus
  ar_dbgflags =
  ar_nondbgflags =
  part_flags =
  part_dbgflags =
  part_nondbgflags =
  linker_flags = -T $(WIND_BASE)/target/h/tool/gnu/ldscripts/link.OUT
  linker_dbgflags = -g
  linker_nondbgflags = -O2 -fstrength-reduce -fno-builtin
}

PPC85XXgnu {
  cc_arch_spec = -mcpu=8540 -mstrict-align -msoft-float -mabi=no-spe -mlongcall
  cpu = PPC85XX
  tool_family = gnu
  tool = gnu
  vx_cpu_family = ppc
  cxx = ccppc
  ar = arppc
  nm = nmppc
  munchflag = ppc
  cxx_flags = -ansi -Wall -MD -MP -fexceptions -frtti -fweak -Wunused
  cxx_dbgflags = -g
  cxx_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  ass_flags = -ansi -xassembler-with-cpp -MD -MP
  ass_dbgflags = -g
  ass_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  c_flags = -Wall -MD -MP
  c_dbgflags = -g
  c_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  ar_flags = crus
  ar_dbgflags =
  ar_nondbgflags =
  part_flags =
  part_dbgflags =
  part_nondbgflags =
  linker_flags = -T $(WIND_BASE)/target/h/tool/gnu/ldscripts/link.OUT
  linker_dbgflags = -g
  linker_nondbgflags = -O2 -fstrength-reduce -fno-builtin
}

PPC604gnu {
  cc_arch_spec = -mcpu=604 -mstrict-align -mno-implicit-fp -mlongcall
  cpu = PPC604
  tool_family = gnu
  tool = gnu
  vx_cpu_family = ppc
  cxx = ccppc
  ar = arppc
  nm = nmppc
  munchflag = ppc
  cxx_flags = -ansi -Wall -MD -MP -fexceptions -frtti -fweak -Wunused
  cxx_dbgflags = -g
  cxx_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  ass_flags = -ansi -xassembler-with-cpp -MD -MP
  ass_dbgflags = -g
  ass_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  c_flags = -Wall -MD -MP
  c_dbgflags = -g
  c_nondbgflags = -O2 -fstrength-reduce -fno-builtin
  ar_flags = crus
  ar_dbgflags =
  ar_nondbgflags =
  part_flags =
  part_dbgflags =
  part_nondbgflags =
  linker_flags = -T $(WIND_BASE)/target/h/tool/gnu/ldscripts/link.OUT
  linker_dbgflags = -g
  linker_nondbgflags = -O2 -fstrength-reduce -fno-builtin
}

PENTIUM4gnu {
  cc_arch_spec = -mtune=pentium4 -march=pentium4
  cpu = PENTIUM4
  tool_family = gnu
  tool = gnu
  vx_cpu_family = pentium
  cxx = ccpentium
  ar = arpentium
  nm = nmpentium
  munchflag = pentium
  cxx_flags = -ansi -Wall -MD -MP -fexceptions -frtti -fweak -Wunused
  cxx_dbgflags = -g
  cxx_nondbgflags = -O2 -nostdlib -fno-builtin -fno-defer-pop -mno-sse -mno-sse2
  ass_flags = -ansi -xassembler-with-cpp -MD -MP
  ass_dbgflags = -g
  ass_nondbgflags = -O2 -nostdlib -fno-builtin -fno-defer-pop -mno-sse -mno-sse2
  c_flags = -Wall -MD -MP
  c_dbgflags = -g
  c_nondbgflags = -O2 -nostdlib -fno-builtin -fno-defer-pop -mno-sse -mno-sse2
  ar_flags = crus
  ar_dbgflags =
  ar_nondbgflags =
  part_flags =
  part_dbgflags =
  part_nondbgflags =
  linker_flags = -T $(WIND_BASE)/target/h/tool/gnu/ldscripts/link.OUT
  linker_dbgflags = -g
  linker_nondbgflags = -O2 -nostdlib -fno-builtin -fno-defer-pop -mno-sse -mno-sse2
}

conditional_include "user_wb26dll"