blob: 0b1223ec40c4153358bb9c943340b777aea8dc2f [file] [log] [blame]
Brian Silverman7b8899e2018-06-30 19:19:24 -07001# GENERATED FILE. DO NOT EDIT
2# Generated by tools/cpp/gen_crosstool.py
Brian Silverman12b3fc52015-10-11 19:38:33 -04003major_version: "local"
4minor_version: ""
5default_target_cpu: "same_as_host"
Brian Silverman12b3fc52015-10-11 19:38:33 -04006default_toolchain {
Austin Schuh23da18b2015-10-11 20:52:49 -07007 cpu: "roborio"
8 toolchain_identifier: "roborio_linux"
9}
Austin Schuh23da18b2015-10-11 20:52:49 -070010default_toolchain {
Brian Silverman12b3fc52015-10-11 19:38:33 -040011 cpu: "k8"
Austin Schuh23da18b2015-10-11 20:52:49 -070012 toolchain_identifier: "k8_linux"
Brian Silverman12b3fc52015-10-11 19:38:33 -040013}
Brian Silverman12b3fc52015-10-11 19:38:33 -040014default_toolchain {
15 cpu: "armeabi-v7a"
16 toolchain_identifier: "stub_armeabi-v7a"
17}
Brian Silverman0d57fc82016-01-24 21:02:53 -050018default_toolchain {
19 cpu: "armhf-debian"
20 toolchain_identifier: "clang_linux_armhf"
21}
Brian Silverman8b638692017-06-26 23:10:26 -070022default_toolchain {
23 cpu: "cortex-m4f"
24 toolchain_identifier: "cortex-m4f"
25}
Brian Silverman6c8b88b2018-09-03 18:17:02 -070026default_toolchain {
27 cpu: "cortex-m4f-k22"
28 toolchain_identifier: "cortex-m4f-k22"
29}
Brian Silverman12b3fc52015-10-11 19:38:33 -040030toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -070031 toolchain_identifier: "stub_armeabi-v7a"
32 host_system_name: "armeabi-v7a"
33 target_system_name: "armeabi-v7a"
34 target_cpu: "armeabi-v7a"
35 target_libc: "armeabi-v7a"
36 compiler: "compiler"
Brian Silverman12b3fc52015-10-11 19:38:33 -040037 abi_version: "armeabi-v7a"
38 abi_libc_version: "armeabi-v7a"
Brian Silverman7b8899e2018-06-30 19:19:24 -070039 tool_path {
40 name: "ar"
41 path: "/bin/false"
42 }
43 tool_path {
44 name: "compat-ld"
45 path: "/bin/false"
46 }
47 tool_path {
48 name: "cpp"
49 path: "/bin/false"
50 }
51 tool_path {
52 name: "dwp"
53 path: "/bin/false"
54 }
55 tool_path {
56 name: "gcc"
57 path: "/bin/false"
58 }
59 tool_path {
60 name: "gcov"
61 path: "/bin/false"
62 }
63 tool_path {
64 name: "ld"
65 path: "/bin/false"
66 }
67 tool_path {
68 name: "nm"
69 path: "/bin/false"
70 }
71 tool_path {
72 name: "objcopy"
73 path: "/bin/false"
74 }
75 tool_path {
76 name: "objdump"
77 path: "/bin/false"
78 }
79 tool_path {
80 name: "strip"
81 path: "/bin/false"
82 }
Brian Silverman12b3fc52015-10-11 19:38:33 -040083 supports_gold_linker: false
Brian Silverman7b8899e2018-06-30 19:19:24 -070084 supports_thin_archives: false
85 needsPic: true
86 builtin_sysroot: ""
Brian Silverman12b3fc52015-10-11 19:38:33 -040087 supports_normalizing_ar: false
88 supports_start_end_lib: false
Brian Silverman7b8899e2018-06-30 19:19:24 -070089 supports_interface_shared_objects: false
90 supports_incremental_linker: false
91 supports_fission: false
Brian Silverman12b3fc52015-10-11 19:38:33 -040092}
Brian Silverman12b3fc52015-10-11 19:38:33 -040093toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -070094 toolchain_identifier: "k8_linux"
95 host_system_name: "local"
96 target_system_name: "k8"
97 target_cpu: "k8"
98 target_libc: "local"
99 compiler: "clang"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400100 abi_version: "local"
101 abi_libc_version: "local"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700102 tool_path {
103 name: "ar"
104 path: "clang_3p6/x86_64-linux-gnu-ar"
105 }
106 tool_path {
107 name: "compat-ld"
108 path: "clang_3p6/x86_64-linux-gnu-ld"
109 }
110 tool_path {
111 name: "cpp"
112 path: "clang_3p6/x86_64-linux-gnu-cpp"
113 }
114 tool_path {
115 name: "dwp"
116 path: "clang_3p6/x86_64-linux-gnu-dwp"
117 }
118 tool_path {
119 name: "gcc"
120 path: "clang_3p6/x86_64-linux-gnu-clang-3.6"
121 }
122 tool_path {
123 name: "gcov"
124 path: "clang_3p6/x86_64-linux-gnu-gcov"
125 }
126 tool_path {
127 name: "ld"
128 path: "clang_3p6/x86_64-linux-gnu-ld"
129 }
130 tool_path {
131 name: "nm"
132 path: "clang_3p6/x86_64-linux-gnu-nm"
133 }
134 tool_path {
135 name: "objcopy"
136 path: "clang_3p6/x86_64-linux-gnu-objcopy"
137 }
138 tool_path {
139 name: "objdump"
140 path: "clang_3p6/x86_64-linux-gnu-objdump"
141 }
142 tool_path {
143 name: "strip"
144 path: "clang_3p6/x86_64-linux-gnu-strip"
145 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400146 supports_gold_linker: false
Brian Silverman12b3fc52015-10-11 19:38:33 -0400147 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -0700148 needsPic: true
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800149 compiler_flag: "--sysroot=external/clang_3p6_repo/"
150 compiler_flag: "-nostdinc"
151 compiler_flag: "-isystem"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700152 compiler_flag: "external/clang_3p6_repo/usr/include"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800153 compiler_flag: "-isystem"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700154 compiler_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800155 compiler_flag: "-isystem"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700156 compiler_flag: "external/clang_3p6_repo/usr/lib/llvm-3.6/lib/clang/3.6.2/include"
157 compiler_flag: "-D__STDC_FORMAT_MACROS"
158 compiler_flag: "-D__STDC_CONSTANT_MACROS"
159 compiler_flag: "-D__STDC_LIMIT_MACROS"
160 compiler_flag: "-D_FILE_OFFSET_BITS=64"
161 compiler_flag: "-DAOS_ARCHITECTURE_arm_frc"
162 compiler_flag: "-U_FORTIFY_SOURCE"
163 compiler_flag: "-D_FORTIFY_SOURCE=1"
164 compiler_flag: "-fstack-protector"
165 compiler_flag: "-fPIE"
166 compiler_flag: "-fcolor-diagnostics"
167 compiler_flag: "-fmessage-length=80"
168 compiler_flag: "-fmacro-backtrace-limit=0"
169 compiler_flag: "-Wall"
170 compiler_flag: "-Wextra"
171 compiler_flag: "-Wpointer-arith"
172 compiler_flag: "-Wstrict-aliasing"
173 compiler_flag: "-Wcast-qual"
174 compiler_flag: "-Wcast-align"
175 compiler_flag: "-Wwrite-strings"
176 compiler_flag: "-Wtype-limits"
177 compiler_flag: "-Wsign-compare"
178 compiler_flag: "-Wformat=2"
179 compiler_flag: "-Werror"
180 compiler_flag: "-fno-omit-frame-pointer"
181 compiler_flag: "-pipe"
182 compiler_flag: "-ggdb3"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800183 cxx_flag: "-isystem"
184 cxx_flag: "external/clang_3p6_repo/usr/include/c++/4.9"
185 cxx_flag: "-isystem"
186 cxx_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu/c++/4.9"
187 cxx_flag: "-isystem"
188 cxx_flag: "external/clang_3p6_repo/usr/include/c++/4.9/backward"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800189 linker_flag: "-nodefaultlibs"
190 linker_flag: "--sysroot=external/clang_3p6_repo/"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400191 linker_flag: "-lstdc++"
Philipp Schrader9b1790e2018-03-10 20:21:30 -0800192 linker_flag: "-lc"
193 linker_flag: "-lgcc"
194 linker_flag: "-lgcc_s"
195 linker_flag: "-Bexternal/clang_3p6_repo/usr/bin/"
196 linker_flag: "-Ltools/cpp/clang_3p6/clang_more_libs"
197 linker_flag: "-Lexternal/clang_3p6/lib/x86_64-linux-gnu"
198 linker_flag: "-Lexternal/clang_3p6/usr/lib/x86_64-linux-gnu"
199 linker_flag: "-Lexternal/clang_3p6/usr/lib/gcc/x86_64-linux-gnu"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700200 linker_flag: "-no-canonical-prefixes"
201 linker_flag: "-fuse-ld=gold"
202 linker_flag: "-Wl,-z,relro,-z,now"
203 linker_flag: "-lm"
204 linker_flag: "-Wl,--build-id=md5"
205 linker_flag: "-Wl,--hash-style=gnu"
206 linker_flag: "-Wl,--warn-execstack"
207 linker_flag: "-Wl,--detect-odr-violations"
208 objcopy_embed_flag: "-I"
209 objcopy_embed_flag: "binary"
210 compilation_mode_flags {
211 mode: OPT
212 compiler_flag: "-O2"
213 compiler_flag: "-DNDEBUG"
214 compiler_flag: "-ffunction-sections"
215 compiler_flag: "-fdata-sections"
216 linker_flag: "-Wl,--gc-sections"
217 }
218 linking_mode_flags {
219 mode: DYNAMIC
220 }
221 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/c++/4.9"
222 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/x86_64-linux-gnu/c++/4.9"
223 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/c++/4.9/backward"
224 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/local/include"
225 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/lib/llvm-3.6/lib/clang/3.6.2/include"
226 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include/x86_64-linux-gnu"
227 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/include"
228 cxx_builtin_include_directory: "%package(@clang_3p6_repo//usr)%/lib/clang/3.6.2/include"
229 builtin_sysroot: ""
230 unfiltered_cxx_flag: "-no-canonical-prefixes"
231 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
232 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
233 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
234 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
235 supports_normalizing_ar: false
236 supports_start_end_lib: false
237 supports_interface_shared_objects: false
238 supports_incremental_linker: false
239 supports_fission: false
Brian Silverman12b3fc52015-10-11 19:38:33 -0400240 feature {
241 name: "opt"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400242 flag_set {
243 action: "preprocess-assemble"
244 action: "c-compile"
245 action: "c++-compile"
246 action: "c++-header-parsing"
247 action: "c++-header-preprocessing"
248 action: "c++-module-compile"
249 flag_group {
250 flag: "-DAOS_DEBUG=0"
251 }
252 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700253 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400254 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400255 feature {
256 name: "dbg"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400257 flag_set {
258 action: "preprocess-assemble"
259 action: "c-compile"
260 action: "c++-compile"
261 action: "c++-header-parsing"
262 action: "c++-header-preprocessing"
263 action: "c++-module-compile"
264 flag_group {
265 flag: "-DAOS_DEBUG=1"
266 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500267 flag_group {
268 flag: "-fno-omit-frame-pointer"
269 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400270 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700271 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400272 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400273 feature {
274 name: "fastbuild"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400275 flag_set {
276 action: "preprocess-assemble"
277 action: "c-compile"
278 action: "c++-compile"
279 action: "c++-header-parsing"
280 action: "c++-header-preprocessing"
281 action: "c++-module-compile"
282 flag_group {
283 flag: "-DAOS_DEBUG=0"
284 }
285 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700286 implies: "all_modes"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400287 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400288 feature {
289 name: "all_modes"
290 flag_set {
Austin Schuha20ae722015-11-01 12:29:38 -0800291 action: "preprocess-assemble"
292 action: "assemble"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400293 action: "c-compile"
294 flag_group {
295 flag: "-std=gnu99"
296 }
297 }
298 flag_set {
299 action: "c++-compile"
300 action: "c++-header-parsing"
301 action: "c++-header-preprocessing"
302 action: "c++-module-compile"
303 flag_group {
Austin Schuha20ae722015-11-01 12:29:38 -0800304 flag: "-std=gnu++1y"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400305 }
Brian Silverman23a1b342015-10-11 23:44:09 -0400306 }
307 flag_set {
308 action: "preprocess-assemble"
Austin Schuh23da18b2015-10-11 20:52:49 -0700309 action: "assemble"
310 action: "c++-link"
Brian Silverman23a1b342015-10-11 23:44:09 -0400311 action: "c++-compile"
312 action: "c++-header-parsing"
313 action: "c++-header-preprocessing"
314 action: "c++-module-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700315 action: "c-compile"
Brian Silverman5dc00072015-10-12 00:38:14 -0400316 flag_group {
Brian Silverman5dc00072015-10-12 00:38:14 -0400317 flag: "-pthread"
318 }
Brian Silverman12b3fc52015-10-11 19:38:33 -0400319 }
320 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700321 feature {
322 name: "pie_for_linking"
323 flag_set {
324 action: "c++-link-executable"
325 flag_group {
326 flag: "-pie"
327 }
328 }
329 enabled: true
330 }
331}
332toolchain {
333 toolchain_identifier: "roborio_linux"
334 host_system_name: "roborio"
335 target_system_name: "roborio"
336 target_cpu: "roborio"
337 target_libc: "roborio"
338 compiler: "gcc"
339 abi_version: "roborio"
340 abi_libc_version: "roborio"
341 tool_path {
342 name: "ar"
343 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar"
344 }
345 tool_path {
346 name: "compat-ld"
347 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
348 }
349 tool_path {
350 name: "cpp"
351 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp"
352 }
353 tool_path {
354 name: "dwp"
355 path: "/bin/false"
356 }
357 tool_path {
358 name: "gcc"
359 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc"
360 }
361 tool_path {
362 name: "gcov"
363 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
364 }
365 tool_path {
366 name: "ld"
367 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
368 }
369 tool_path {
370 name: "nm"
371 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm"
372 }
373 tool_path {
374 name: "objcopy"
375 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy"
376 }
377 tool_path {
378 name: "objdump"
379 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump"
380 }
381 tool_path {
382 name: "strip"
383 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip"
384 }
385 supports_gold_linker: false
386 supports_thin_archives: false
387 needsPic: true
388 compiler_flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi"
389 compiler_flag: "-nostdinc"
390 compiler_flag: "-isystem"
391 compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include"
392 compiler_flag: "-isystem"
393 compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed"
394 compiler_flag: "-isystem"
395 compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/usr/include"
396 compiler_flag: "-mfpu=neon"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400397 compiler_flag: "-D__STDC_FORMAT_MACROS"
398 compiler_flag: "-D__STDC_CONSTANT_MACROS"
399 compiler_flag: "-D__STDC_LIMIT_MACROS"
400 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Austin Schuh23da18b2015-10-11 20:52:49 -0700401 compiler_flag: "-DAOS_ARCHITECTURE_arm_frc"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400402 compiler_flag: "-U_FORTIFY_SOURCE"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400403 compiler_flag: "-fstack-protector"
404 compiler_flag: "-fPIE"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700405 compiler_flag: "-fdiagnostics-color=always"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400406 compiler_flag: "-Wall"
407 compiler_flag: "-Wextra"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400408 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400409 compiler_flag: "-Wstrict-aliasing"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400410 compiler_flag: "-Wcast-qual"
411 compiler_flag: "-Wcast-align"
412 compiler_flag: "-Wwrite-strings"
413 compiler_flag: "-Wtype-limits"
414 compiler_flag: "-Wsign-compare"
415 compiler_flag: "-Wformat=2"
416 compiler_flag: "-Werror"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700417 compiler_flag: "-Wunused-local-typedefs"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400418 compiler_flag: "-fno-omit-frame-pointer"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700419 compiler_flag: "-D__has_feature(x)=0"
Brian Silverman12b3fc52015-10-11 19:38:33 -0400420 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500421 compiler_flag: "-ggdb3"
Austin Schuh044e18b2015-10-21 20:17:09 -0700422 cxx_flag: "-isystem"
Austin Schuh94f51e92017-10-30 19:25:32 -0700423 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0"
Austin Schuh044e18b2015-10-21 20:17:09 -0700424 cxx_flag: "-isystem"
Austin Schuh94f51e92017-10-30 19:25:32 -0700425 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0/arm-frc-linux-gnueabi"
Austin Schuh044e18b2015-10-21 20:17:09 -0700426 cxx_flag: "-isystem"
Austin Schuh94f51e92017-10-30 19:25:32 -0700427 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0/backward"
Austin Schuh044e18b2015-10-21 20:17:09 -0700428 cxx_flag: "-isystem"
Austin Schuh94f51e92017-10-30 19:25:32 -0700429 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include"
Austin Schuh044e18b2015-10-21 20:17:09 -0700430 cxx_flag: "-isystem"
Austin Schuh94f51e92017-10-30 19:25:32 -0700431 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed"
Austin Schuh044e18b2015-10-21 20:17:09 -0700432 cxx_flag: "-isystem"
Brian Silverman826e1cd2016-01-31 18:26:00 -0500433 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include"
Austin Schuh044e18b2015-10-21 20:17:09 -0700434 cxx_flag: "-isystem"
Brian Silverman826e1cd2016-01-31 18:26:00 -0500435 cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/usr/include"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700436 linker_flag: "-lstdc++"
437 linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs"
438 linker_flag: "-no-canonical-prefixes"
439 linker_flag: "-Wl,-z,relro,-z,now"
440 linker_flag: "-lm"
441 linker_flag: "-pass-exit-codes"
442 linker_flag: "-Wl,--build-id=md5"
443 linker_flag: "-Wl,--hash-style=gnu"
444 objcopy_embed_flag: "-I"
445 objcopy_embed_flag: "binary"
446 compilation_mode_flags {
447 mode: OPT
448 compiler_flag: "-O2"
449 compiler_flag: "-DNDEBUG"
450 compiler_flag: "-D_FORTIFY_SOURCE=1"
451 compiler_flag: "-ffunction-sections"
452 compiler_flag: "-fdata-sections"
453 linker_flag: "-Wl,--gc-sections"
454 }
455 linking_mode_flags {
456 mode: DYNAMIC
457 }
Austin Schuh94f51e92017-10-30 19:25:32 -0700458 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0"
459 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0/arm-frc-linux-gnueabi"
460 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0/backward"
461 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include)%"
462 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed)%"
Brian Silverman826e1cd2016-01-31 18:26:00 -0500463 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%"
464 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/usr/include)%"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700465 builtin_sysroot: ""
466 unfiltered_cxx_flag: "-no-canonical-prefixes"
467 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
468 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
469 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
470 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
471 supports_normalizing_ar: false
472 supports_start_end_lib: false
473 supports_interface_shared_objects: false
474 supports_incremental_linker: false
475 supports_fission: false
Austin Schuh23da18b2015-10-11 20:52:49 -0700476 feature {
477 name: "opt"
Austin Schuh23da18b2015-10-11 20:52:49 -0700478 flag_set {
479 action: "preprocess-assemble"
480 action: "c-compile"
481 action: "c++-compile"
482 action: "c++-header-parsing"
483 action: "c++-header-preprocessing"
484 action: "c++-module-compile"
485 flag_group {
486 flag: "-DAOS_DEBUG=0"
487 }
488 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700489 implies: "all_modes"
Austin Schuh23da18b2015-10-11 20:52:49 -0700490 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700491 feature {
492 name: "dbg"
Austin Schuh23da18b2015-10-11 20:52:49 -0700493 flag_set {
494 action: "preprocess-assemble"
495 action: "c-compile"
496 action: "c++-compile"
497 action: "c++-header-parsing"
498 action: "c++-header-preprocessing"
499 action: "c++-module-compile"
500 flag_group {
501 flag: "-DAOS_DEBUG=1"
502 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500503 flag_group {
504 flag: "-fno-omit-frame-pointer"
505 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700506 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700507 implies: "all_modes"
Austin Schuh23da18b2015-10-11 20:52:49 -0700508 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700509 feature {
510 name: "fastbuild"
Austin Schuh23da18b2015-10-11 20:52:49 -0700511 flag_set {
512 action: "preprocess-assemble"
513 action: "c-compile"
514 action: "c++-compile"
515 action: "c++-header-parsing"
516 action: "c++-header-preprocessing"
517 action: "c++-module-compile"
518 flag_group {
519 flag: "-DAOS_DEBUG=0"
520 }
521 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700522 implies: "all_modes"
Austin Schuh23da18b2015-10-11 20:52:49 -0700523 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700524 feature {
525 name: "all_modes"
526 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700527 action: "preprocess-assemble"
528 action: "assemble"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500529 action: "c-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700530 flag_group {
531 flag: "-std=gnu99"
532 }
533 }
534 flag_set {
535 action: "c++-compile"
536 action: "c++-header-parsing"
537 action: "c++-header-preprocessing"
538 action: "c++-module-compile"
539 flag_group {
540 flag: "-std=gnu++1y"
541 }
542 }
543 flag_set {
544 action: "preprocess-assemble"
545 action: "assemble"
546 action: "c++-link"
547 action: "c++-compile"
548 action: "c++-header-parsing"
549 action: "c++-header-preprocessing"
550 action: "c++-module-compile"
551 action: "c-compile"
552 flag_group {
Austin Schuh23da18b2015-10-11 20:52:49 -0700553 flag: "-pthread"
554 }
555 }
556 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700557 feature {
558 name: "pie_for_linking"
559 flag_set {
560 action: "c++-link-executable"
561 flag_group {
562 flag: "-pie"
563 }
564 }
565 enabled: true
566 }
567}
568toolchain {
569 toolchain_identifier: "clang_linux_armhf"
570 host_system_name: "linux"
571 target_system_name: "arm_a15"
572 target_cpu: "armhf-debian"
573 target_libc: "glibc_2.19"
574 compiler: "clang"
575 abi_version: "clang_3.6"
576 abi_libc_version: "glibc_2.19"
577 tool_path {
578 name: "ar"
579 path: "linaro_linux_gcc/arm-linux-gnueabihf-ar"
580 }
581 tool_path {
582 name: "compat-ld"
583 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
584 }
585 tool_path {
586 name: "cpp"
587 path: "linaro_linux_gcc/clang_bin/clang"
588 }
589 tool_path {
590 name: "dwp"
591 path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp"
592 }
593 tool_path {
594 name: "gcc"
595 path: "linaro_linux_gcc/clang_bin/clang"
596 }
597 tool_path {
598 name: "gcov"
599 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
600 }
601 tool_path {
602 name: "ld"
603 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
604 }
605 tool_path {
606 name: "nm"
607 path: "linaro_linux_gcc/arm-linux-gnueabihf-nm"
608 }
609 tool_path {
610 name: "objcopy"
611 path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy"
612 }
613 tool_path {
614 name: "objdump"
615 path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump"
616 }
617 tool_path {
618 name: "strip"
619 path: "linaro_linux_gcc/arm-linux-gnueabihf-strip"
620 }
621 supports_gold_linker: false
622 supports_thin_archives: true
623 needsPic: true
624 compiler_flag: "-target"
625 compiler_flag: "armv7a-arm-linux-gnueabif"
626 compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
627 compiler_flag: "-mfloat-abi=hard"
628 compiler_flag: "-mfpu=vfpv3-d16"
629 compiler_flag: "-nostdinc"
630 compiler_flag: "-isystem"
631 compiler_flag: "/usr/lib/clang/3.6/include"
632 compiler_flag: "-isystem"
633 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include"
634 compiler_flag: "-isystem"
635 compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include"
636 compiler_flag: "-isystem"
637 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed"
Austin Schuh23da18b2015-10-11 20:52:49 -0700638 compiler_flag: "-D__STDC_FORMAT_MACROS"
639 compiler_flag: "-D__STDC_CONSTANT_MACROS"
640 compiler_flag: "-D__STDC_LIMIT_MACROS"
641 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700642 compiler_flag: "-DAOS_ARCHITECTURE_armhf"
Austin Schuh23da18b2015-10-11 20:52:49 -0700643 compiler_flag: "-U_FORTIFY_SOURCE"
644 compiler_flag: "-fstack-protector"
645 compiler_flag: "-fPIE"
Austin Schuh23da18b2015-10-11 20:52:49 -0700646 compiler_flag: "-fdiagnostics-color=always"
Austin Schuh23da18b2015-10-11 20:52:49 -0700647 compiler_flag: "-Wall"
648 compiler_flag: "-Wextra"
Austin Schuh23da18b2015-10-11 20:52:49 -0700649 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400650 compiler_flag: "-Wstrict-aliasing"
Austin Schuh23da18b2015-10-11 20:52:49 -0700651 compiler_flag: "-Wcast-qual"
652 compiler_flag: "-Wcast-align"
653 compiler_flag: "-Wwrite-strings"
654 compiler_flag: "-Wtype-limits"
655 compiler_flag: "-Wsign-compare"
656 compiler_flag: "-Wformat=2"
657 compiler_flag: "-Werror"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500658 compiler_flag: "-Wunused-local-typedefs"
Austin Schuh23da18b2015-10-11 20:52:49 -0700659 compiler_flag: "-fno-omit-frame-pointer"
Austin Schuh23da18b2015-10-11 20:52:49 -0700660 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500661 compiler_flag: "-ggdb3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500662 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800663 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500664 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800665 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500666 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800667 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500668 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800669 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500670 linker_flag: "-target"
671 linker_flag: "armv7a-arm-linux-gnueabif"
Austin Schuh61660832016-03-04 21:56:39 -0800672 linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500673 linker_flag: "-lstdc++"
674 linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs"
Austin Schuh61660832016-03-04 21:56:39 -0800675 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib"
676 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib"
677 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib"
678 linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500679 linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700680 linker_flag: "-no-canonical-prefixes"
681 linker_flag: "-Wl,-z,relro,-z,now"
682 linker_flag: "-lm"
683 linker_flag: "-Wl,--build-id=md5"
684 linker_flag: "-Wl,--hash-style=gnu"
685 objcopy_embed_flag: "-I"
686 objcopy_embed_flag: "binary"
687 compilation_mode_flags {
688 mode: OPT
689 compiler_flag: "-O2"
690 compiler_flag: "-DNDEBUG"
691 compiler_flag: "-D_FORTIFY_SOURCE=1"
692 compiler_flag: "-ffunction-sections"
693 compiler_flag: "-fdata-sections"
694 linker_flag: "-Wl,--gc-sections"
695 }
696 linking_mode_flags {
697 mode: DYNAMIC
698 }
699 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%"
700 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%"
701 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%"
702 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
703 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3"
704 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
705 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
706 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
707 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
708 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3"
709 cxx_builtin_include_directory: "/usr/lib/clang/3.6/include"
710 builtin_sysroot: ""
711 unfiltered_cxx_flag: "-no-canonical-prefixes"
712 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
713 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
714 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
715 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
716 supports_normalizing_ar: true
717 supports_start_end_lib: false
718 supports_interface_shared_objects: false
719 supports_incremental_linker: false
720 supports_fission: false
Brian Silverman0d57fc82016-01-24 21:02:53 -0500721 feature {
722 name: "opt"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500723 flag_set {
724 action: "preprocess-assemble"
725 action: "c-compile"
726 action: "c++-compile"
727 action: "c++-header-parsing"
728 action: "c++-header-preprocessing"
729 action: "c++-module-compile"
730 flag_group {
731 flag: "-DAOS_DEBUG=0"
732 }
733 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700734 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500735 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500736 feature {
737 name: "dbg"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500738 flag_set {
739 action: "preprocess-assemble"
740 action: "c-compile"
741 action: "c++-compile"
742 action: "c++-header-parsing"
743 action: "c++-header-preprocessing"
744 action: "c++-module-compile"
745 flag_group {
746 flag: "-DAOS_DEBUG=1"
747 }
748 flag_group {
749 flag: "-fno-omit-frame-pointer"
750 }
751 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700752 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500753 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500754 feature {
755 name: "fastbuild"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500756 flag_set {
757 action: "preprocess-assemble"
758 action: "c-compile"
759 action: "c++-compile"
760 action: "c++-header-parsing"
761 action: "c++-header-preprocessing"
762 action: "c++-module-compile"
763 flag_group {
764 flag: "-DAOS_DEBUG=0"
765 }
766 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700767 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500768 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500769 feature {
770 name: "all_modes"
771 flag_set {
772 action: "preprocess-assemble"
773 action: "assemble"
774 action: "c-compile"
775 flag_group {
776 flag: "-std=gnu99"
777 }
778 }
779 flag_set {
780 action: "c++-compile"
781 action: "c++-header-parsing"
782 action: "c++-header-preprocessing"
783 action: "c++-module-compile"
784 flag_group {
785 flag: "-std=gnu++1y"
786 }
787 }
788 flag_set {
789 action: "preprocess-assemble"
790 action: "assemble"
791 action: "c++-link"
792 action: "c++-compile"
793 action: "c++-header-parsing"
794 action: "c++-header-preprocessing"
795 action: "c++-module-compile"
796 action: "c-compile"
797 flag_group {
Brian Silverman0d57fc82016-01-24 21:02:53 -0500798 flag: "-pthread"
799 }
800 }
801 }
Austin Schuh137d9452018-07-07 15:42:36 -0700802 feature {
803 name: "pie_for_linking"
Austin Schuh137d9452018-07-07 15:42:36 -0700804 flag_set {
805 action: "c++-link-executable"
806 flag_group {
807 flag: "-pie"
808 }
809 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700810 enabled: true
Austin Schuh137d9452018-07-07 15:42:36 -0700811 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500812}
Brian Silverman8b638692017-06-26 23:10:26 -0700813toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700814 toolchain_identifier: "cortex-m4f"
815 host_system_name: "local"
816 target_system_name: "cortex-m4f"
817 target_cpu: "cortex-m4f"
818 target_libc: "cortex-m4f"
819 compiler: "gcc"
Brian Silverman8b638692017-06-26 23:10:26 -0700820 abi_version: "cortex-m4f"
821 abi_libc_version: "cortex-m4f"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700822 tool_path {
823 name: "ar"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700824 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700825 }
826 tool_path {
827 name: "compat-ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700828 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700829 }
830 tool_path {
831 name: "cpp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700832 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700833 }
834 tool_path {
835 name: "dwp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700836 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700837 }
838 tool_path {
839 name: "gcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700840 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700841 }
842 tool_path {
843 name: "gcov"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700844 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700845 }
846 tool_path {
847 name: "ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700848 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700849 }
850 tool_path {
851 name: "nm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700852 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700853 }
854 tool_path {
855 name: "objcopy"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700856 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700857 }
858 tool_path {
859 name: "objdump"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700860 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700861 }
862 tool_path {
863 name: "strip"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700864 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700865 }
Brian Silverman8b638692017-06-26 23:10:26 -0700866 supports_gold_linker: false
Brian Silverman8b638692017-06-26 23:10:26 -0700867 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -0700868 needsPic: false
869 compiler_flag: "-D__STDC_FORMAT_MACROS"
870 compiler_flag: "-D__STDC_CONSTANT_MACROS"
871 compiler_flag: "-D__STDC_LIMIT_MACROS"
872 compiler_flag: "-D__MK64FX512__"
873 compiler_flag: "-DF_CPU=120000000"
874 compiler_flag: "-Wl,--gc-sections"
875 compiler_flag: "-D__have_long32"
876 compiler_flag: "-fstack-protector"
877 compiler_flag: "-mcpu=cortex-m4"
878 compiler_flag: "-mfpu=fpv4-sp-d16"
879 compiler_flag: "-mthumb"
880 compiler_flag: "-mfloat-abi=hard"
881 compiler_flag: "-fno-strict-aliasing"
882 compiler_flag: "-fmessage-length=80"
883 compiler_flag: "-fmax-errors=20"
884 compiler_flag: "-Wall"
885 compiler_flag: "-Wextra"
886 compiler_flag: "-Wpointer-arith"
887 compiler_flag: "-Wcast-qual"
888 compiler_flag: "-Wwrite-strings"
889 compiler_flag: "-Wtype-limits"
890 compiler_flag: "-Wsign-compare"
891 compiler_flag: "-Wformat=2"
892 compiler_flag: "-Werror"
893 compiler_flag: "-Wstrict-aliasing=2"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700894 compiler_flag: "-Wno-misleading-indentation"
895 compiler_flag: "-Wno-int-in-bool-context"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700896 compiler_flag: "-Wdouble-promotion"
897 compiler_flag: "-pipe"
898 compiler_flag: "-g"
899 compiler_flag: "-fno-common"
900 compiler_flag: "-ffreestanding"
901 compiler_flag: "-fbuiltin"
902 linker_flag: "-no-canonical-prefixes"
903 linker_flag: "-mcpu=cortex-m4"
904 linker_flag: "-mfpu=fpv4-sp-d16"
905 linker_flag: "-mthumb"
906 linker_flag: "-mfloat-abi=hard"
907 linker_flag: "-fno-strict-aliasing"
908 linker_flag: "--specs=nano.specs"
909 linker_flag: "-lgcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700910 linker_flag: "-lstdc++_nano"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700911 linker_flag: "-lm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700912 linker_flag: "-lc_nano"
913 linker_flag: "-Tmotors/core/kinetis_192k.ld"
Brian Silverman8b638692017-06-26 23:10:26 -0700914 objcopy_embed_flag: "-I"
915 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700916 compilation_mode_flags {
917 mode: OPT
918 compiler_flag: "-O2"
919 compiler_flag: "-finline-functions"
920 compiler_flag: "-ffast-math"
921 compiler_flag: "-funroll-loops"
922 compiler_flag: "-DNDEBUG"
923 compiler_flag: "-ffunction-sections"
924 linker_flag: "-Wl,--gc-sections"
925 }
926 linking_mode_flags {
927 mode: FULLY_STATIC
928 }
929 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
930 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
931 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
932 cxx_builtin_include_directory: "/usr/include/newlib"
933 builtin_sysroot: ""
934 unfiltered_cxx_flag: "-no-canonical-prefixes"
935 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
936 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
937 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
938 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
939 supports_normalizing_ar: false
940 supports_start_end_lib: false
941 supports_interface_shared_objects: false
942 supports_incremental_linker: false
943 supports_fission: false
Brian Silverman8b638692017-06-26 23:10:26 -0700944 feature {
945 name: "dbg"
Brian Silverman8b638692017-06-26 23:10:26 -0700946 flag_set {
947 action: "preprocess-assemble"
948 action: "c-compile"
949 action: "c++-compile"
950 action: "c++-header-parsing"
951 action: "c++-header-preprocessing"
952 action: "c++-module-compile"
953 flag_group {
954 flag: "-fno-omit-frame-pointer"
955 }
956 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700957 implies: "all_modes"
Brian Silverman8b638692017-06-26 23:10:26 -0700958 }
Brian Silverman8b638692017-06-26 23:10:26 -0700959 feature {
960 name: "opt"
961 implies: "all_modes"
962 }
963 feature {
964 name: "fastbuild"
965 implies: "all_modes"
966 }
Brian Silverman8b638692017-06-26 23:10:26 -0700967 feature {
968 name: "all_modes"
969 flag_set {
970 action: "preprocess-assemble"
971 action: "assemble"
972 action: "c-compile"
973 flag_group {
974 flag: "--std=gnu99"
975 }
976 }
977 flag_set {
978 action: "c++-compile"
979 action: "c++-header-parsing"
980 action: "c++-header-preprocessing"
981 action: "c++-module-compile"
982 flag_group {
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700983 flag: "--std=gnu++1y"
984 flag: "-fno-exceptions"
985 flag: "-fno-rtti"
986 }
987 }
988 }
989 feature {
990 name: "include_paths"
991 flag_set {
992 action: "preprocess-assemble"
993 action: "c-compile"
994 action: "c++-compile"
995 action: "c++-header-parsing"
996 action: "c++-header-preprocessing"
997 action: "c++-module-compile"
998 flag_group {
999 flag: "-iquote"
1000 flag: "%{quote_include_paths}"
1001 iterate_over: "quote_include_paths"
1002 }
1003 flag_group {
1004 flag: "-I%{include_paths}"
1005 iterate_over: "include_paths"
1006 }
1007 flag_group {
1008 flag: "-I"
1009 flag: "%{system_include_paths}"
1010 iterate_over: "system_include_paths"
1011 }
1012 }
1013 }
1014}
1015toolchain {
1016 toolchain_identifier: "cortex-m4f-k22"
1017 host_system_name: "local"
1018 target_system_name: "cortex-m4f-k22"
1019 target_cpu: "cortex-m4f-k22"
1020 target_libc: "cortex-m4f-k22"
1021 compiler: "gcc"
1022 abi_version: "cortex-m4f-k22"
1023 abi_libc_version: "cortex-m4f-k22"
1024 tool_path {
1025 name: "ar"
1026 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
1027 }
1028 tool_path {
1029 name: "compat-ld"
1030 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1031 }
1032 tool_path {
1033 name: "cpp"
1034 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
1035 }
1036 tool_path {
1037 name: "dwp"
1038 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
1039 }
1040 tool_path {
1041 name: "gcc"
1042 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
1043 }
1044 tool_path {
1045 name: "gcov"
1046 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
1047 }
1048 tool_path {
1049 name: "ld"
1050 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1051 }
1052 tool_path {
1053 name: "nm"
1054 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
1055 }
1056 tool_path {
1057 name: "objcopy"
1058 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
1059 }
1060 tool_path {
1061 name: "objdump"
1062 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
1063 }
1064 tool_path {
1065 name: "strip"
1066 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
1067 }
1068 supports_gold_linker: false
1069 supports_thin_archives: false
1070 needsPic: false
1071 compiler_flag: "-D__STDC_FORMAT_MACROS"
1072 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1073 compiler_flag: "-D__STDC_LIMIT_MACROS"
1074 compiler_flag: "-D__MK22FX512__"
1075 compiler_flag: "-DF_CPU=120000000"
1076 compiler_flag: "-Wl,--gc-sections"
1077 compiler_flag: "-D__have_long32"
1078 compiler_flag: "-fstack-protector"
1079 compiler_flag: "-mcpu=cortex-m4"
1080 compiler_flag: "-mfpu=fpv4-sp-d16"
1081 compiler_flag: "-mthumb"
1082 compiler_flag: "-mfloat-abi=hard"
1083 compiler_flag: "-fno-strict-aliasing"
1084 compiler_flag: "-fmessage-length=80"
1085 compiler_flag: "-fmax-errors=20"
1086 compiler_flag: "-Wall"
1087 compiler_flag: "-Wextra"
1088 compiler_flag: "-Wpointer-arith"
1089 compiler_flag: "-Wcast-qual"
1090 compiler_flag: "-Wwrite-strings"
1091 compiler_flag: "-Wtype-limits"
1092 compiler_flag: "-Wsign-compare"
1093 compiler_flag: "-Wformat=2"
1094 compiler_flag: "-Werror"
1095 compiler_flag: "-Wstrict-aliasing=2"
1096 compiler_flag: "-Wno-misleading-indentation"
1097 compiler_flag: "-Wno-int-in-bool-context"
1098 compiler_flag: "-Wdouble-promotion"
1099 compiler_flag: "-pipe"
1100 compiler_flag: "-g"
1101 compiler_flag: "-fno-common"
1102 compiler_flag: "-ffreestanding"
1103 compiler_flag: "-fbuiltin"
1104 linker_flag: "-no-canonical-prefixes"
1105 linker_flag: "-mcpu=cortex-m4"
1106 linker_flag: "-mfpu=fpv4-sp-d16"
1107 linker_flag: "-mthumb"
1108 linker_flag: "-mfloat-abi=hard"
1109 linker_flag: "-fno-strict-aliasing"
1110 linker_flag: "--specs=nano.specs"
1111 linker_flag: "-lgcc"
1112 linker_flag: "-lstdc++_nano"
1113 linker_flag: "-lm"
1114 linker_flag: "-lc_nano"
1115 linker_flag: "-Tmotors/core/kinetis_128k.ld"
1116 objcopy_embed_flag: "-I"
1117 objcopy_embed_flag: "binary"
1118 compilation_mode_flags {
1119 mode: OPT
1120 compiler_flag: "-O2"
1121 compiler_flag: "-finline-functions"
1122 compiler_flag: "-ffast-math"
1123 compiler_flag: "-funroll-loops"
1124 compiler_flag: "-DNDEBUG"
1125 compiler_flag: "-ffunction-sections"
1126 linker_flag: "-Wl,--gc-sections"
1127 }
1128 linking_mode_flags {
1129 mode: FULLY_STATIC
1130 }
1131 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1132 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1133 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1134 cxx_builtin_include_directory: "/usr/include/newlib"
1135 builtin_sysroot: ""
1136 unfiltered_cxx_flag: "-no-canonical-prefixes"
1137 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1138 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1139 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1140 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1141 supports_normalizing_ar: false
1142 supports_start_end_lib: false
1143 supports_interface_shared_objects: false
1144 supports_incremental_linker: false
1145 supports_fission: false
1146 feature {
1147 name: "dbg"
1148 flag_set {
1149 action: "preprocess-assemble"
1150 action: "c-compile"
1151 action: "c++-compile"
1152 action: "c++-header-parsing"
1153 action: "c++-header-preprocessing"
1154 action: "c++-module-compile"
1155 flag_group {
1156 flag: "-fno-omit-frame-pointer"
1157 }
1158 }
1159 implies: "all_modes"
1160 }
1161 feature {
1162 name: "opt"
1163 implies: "all_modes"
1164 }
1165 feature {
1166 name: "fastbuild"
1167 implies: "all_modes"
1168 }
1169 feature {
1170 name: "all_modes"
1171 flag_set {
1172 action: "preprocess-assemble"
1173 action: "assemble"
1174 action: "c-compile"
1175 flag_group {
1176 flag: "--std=gnu99"
1177 }
1178 }
1179 flag_set {
1180 action: "c++-compile"
1181 action: "c++-header-parsing"
1182 action: "c++-header-preprocessing"
1183 action: "c++-module-compile"
1184 flag_group {
1185 flag: "--std=gnu++1y"
Brian Silverman8b638692017-06-26 23:10:26 -07001186 flag: "-fno-exceptions"
1187 flag: "-fno-rtti"
1188 }
1189 }
1190 }
Brian Silverman8b638692017-06-26 23:10:26 -07001191 feature {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001192 name: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001193 flag_set {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001194 action: "preprocess-assemble"
1195 action: "c-compile"
1196 action: "c++-compile"
1197 action: "c++-header-parsing"
1198 action: "c++-header-preprocessing"
1199 action: "c++-module-compile"
Brian Silverman8b638692017-06-26 23:10:26 -07001200 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001201 flag: "-iquote"
1202 flag: "%{quote_include_paths}"
1203 iterate_over: "quote_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001204 }
1205 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001206 flag: "-I%{include_paths}"
1207 iterate_over: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001208 }
1209 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001210 flag: "-I"
1211 flag: "%{system_include_paths}"
1212 iterate_over: "system_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001213 }
1214 }
1215 }
1216}