blob: c7a846f2d11588248ad0621bfea239adb881c4cd [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 {
Austin Schuhf6b94632019-02-02 22:11:27 -0800346 name: "as"
347 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-as"
348 }
349 tool_path {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700350 name: "compat-ld"
351 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
352 }
353 tool_path {
354 name: "cpp"
355 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp"
356 }
357 tool_path {
358 name: "dwp"
359 path: "/bin/false"
360 }
361 tool_path {
362 name: "gcc"
363 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc"
364 }
365 tool_path {
366 name: "gcov"
367 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
368 }
369 tool_path {
370 name: "ld"
371 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld"
372 }
373 tool_path {
374 name: "nm"
375 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm"
376 }
377 tool_path {
378 name: "objcopy"
379 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy"
380 }
381 tool_path {
382 name: "objdump"
383 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump"
384 }
385 tool_path {
386 name: "strip"
387 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip"
388 }
389 supports_gold_linker: false
390 supports_thin_archives: false
391 needsPic: true
Brian Silverman7b8899e2018-06-30 19:19:24 -0700392 linker_flag: "-lstdc++"
393 linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs"
394 linker_flag: "-no-canonical-prefixes"
395 linker_flag: "-Wl,-z,relro,-z,now"
396 linker_flag: "-lm"
397 linker_flag: "-pass-exit-codes"
398 linker_flag: "-Wl,--build-id=md5"
399 linker_flag: "-Wl,--hash-style=gnu"
400 objcopy_embed_flag: "-I"
401 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700402 linking_mode_flags {
403 mode: DYNAMIC
404 }
Austin Schuhf6b94632019-02-02 22:11:27 -0800405 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include)%"
406 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include-fixed)%"
407 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/arm-frc2019-linux-gnueabi)%"
408 cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/backward)%"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700409 builtin_sysroot: ""
410 unfiltered_cxx_flag: "-no-canonical-prefixes"
411 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
412 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
413 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
414 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
415 supports_normalizing_ar: false
416 supports_start_end_lib: false
417 supports_interface_shared_objects: false
418 supports_incremental_linker: false
419 supports_fission: false
Austin Schuh23da18b2015-10-11 20:52:49 -0700420 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700421 name: "compile_flags1"
422 flag_set {
423 action: "assemble"
424 action: "preprocess-assemble"
425 action: "c-compile"
426 action: "c++-compile"
427 action: "c++-header-parsing"
428 action: "c++-module-compile"
429 action: "c++-module-codegen"
430 action: "lto-backend"
431 action: "clif-match"
432 flag_group {
Austin Schuhf6b94632019-02-02 22:11:27 -0800433 flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi"
Austin Schuhef147de2018-10-27 21:19:00 -0700434 flag: "-nostdinc"
435 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800436 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700437 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800438 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/lib/gcc/arm-frc2019-linux-gnueabi/6.3.0/include-fixed"
439 }
440 }
441 flag_set {
James Kuszmaulebdeaf52019-05-22 20:31:25 -0700442 action: "assemble"
443 action: "preprocess-assemble"
444 action: "c++-compile"
445 action: "c++-header-parsing"
446 action: "c++-header-preprocessing"
447 flag_group {
448 flag: "-fno-canonical-system-headers"
449 }
450 }
451 flag_set {
Austin Schuhf6b94632019-02-02 22:11:27 -0800452 action: "c++-compile"
453 action: "c++-header-parsing"
454 action: "c++-module-compile"
455 action: "c++-module-codegen"
456 flag_group {
Austin Schuhef147de2018-10-27 21:19:00 -0700457 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800458 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0"
459 flag: "-isystem"
460 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/arm-frc2019-linux-gnueabi"
461 flag: "-isystem"
462 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/backward"
463 }
464 }
465 flag_set {
466 action: "assemble"
467 action: "preprocess-assemble"
468 action: "c-compile"
469 action: "c++-compile"
470 action: "c++-header-parsing"
471 action: "c++-module-compile"
472 action: "c++-module-codegen"
473 action: "lto-backend"
474 action: "clif-match"
475 flag_group {
476 flag: "-isystem"
477 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700478 flag: "-mfpu=neon"
479 flag: "-D__STDC_FORMAT_MACROS"
480 flag: "-D__STDC_CONSTANT_MACROS"
481 flag: "-D__STDC_LIMIT_MACROS"
482 flag: "-D_FILE_OFFSET_BITS=64"
483 flag: "-DAOS_ARCHITECTURE_arm_frc"
484 flag: "-U_FORTIFY_SOURCE"
485 flag: "-fstack-protector"
486 flag: "-fPIE"
487 flag: "-fdiagnostics-color=always"
488 flag: "-Wall"
489 flag: "-Wextra"
490 flag: "-Wpointer-arith"
491 flag: "-Wstrict-aliasing"
492 flag: "-Wcast-qual"
493 flag: "-Wcast-align"
494 flag: "-Wwrite-strings"
495 flag: "-Wtype-limits"
496 flag: "-Wsign-compare"
497 flag: "-Wformat=2"
498 flag: "-Werror"
499 flag: "-Wunused-local-typedefs"
500 flag: "-fno-omit-frame-pointer"
501 flag: "-D__has_feature(x)=0"
502 flag: "-pipe"
503 flag: "-ggdb3"
504 }
505 }
506 enabled: true
507 }
508 feature {
Austin Schuh23da18b2015-10-11 20:52:49 -0700509 name: "opt"
Austin Schuh23da18b2015-10-11 20:52:49 -0700510 flag_set {
Austin Schuhef147de2018-10-27 21:19:00 -0700511 action: "assemble"
512 action: "preprocess-assemble"
513 action: "c-compile"
514 action: "c++-compile"
515 action: "c++-module-compile"
516 action: "objc-compile"
517 action: "objc++-compile"
518 action: "c++-header-parsing"
519 action: "linkstamp-compile"
520 flag_group {
521 flag: "-O2"
522 flag: "-DNDEBUG"
523 flag: "-D_FORTIFY_SOURCE=1"
524 flag: "-ffunction-sections"
525 flag: "-fdata-sections"
526 }
527 }
528 flag_set {
529 action: "c++-link-executable"
530 action: "c++-link-nodeps-dynamic-library"
531 action: "c++-link-dynamic-library"
532 flag_group {
533 flag: "-Wl,--gc-sections"
534 }
535 }
536 implies: "opt_post"
537 }
538 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700539 name: "dependency_file"
540 flag_set {
541 action: "assemble"
542 action: "preprocess-assemble"
543 action: "c-compile"
544 action: "c++-compile"
545 action: "c++-module-compile"
546 action: "objc-compile"
547 action: "objc++-compile"
548 action: "c++-header-parsing"
549 action: "clif-match"
550 flag_group {
551 flag: "-MD"
552 flag: "-MF"
553 flag: "%{dependency_file}"
554 }
555 expand_if_all_available: "dependency_file"
556 }
557 }
558 feature {
559 name: "random_seed"
560 flag_set {
561 action: "c++-compile"
562 action: "c++-module-codegen"
563 action: "c++-module-compile"
564 flag_group {
565 flag: "-frandom-seed=%{output_file}"
566 expand_if_all_available: "output_file"
567 }
568 }
569 }
570 feature {
571 name: "pic"
572 flag_set {
573 action: "assemble"
574 action: "preprocess-assemble"
575 action: "linkstamp-compile"
576 action: "c-compile"
577 action: "c++-compile"
578 action: "c++-module-codegen"
579 action: "c++-module-compile"
580 flag_group {
581 flag: "-fPIC"
582 }
583 expand_if_all_available: "pic"
584 }
585 }
586 feature {
587 name: "preprocessor_defines"
588 flag_set {
589 action: "preprocess-assemble"
590 action: "linkstamp-compile"
591 action: "c-compile"
592 action: "c++-compile"
593 action: "c++-header-parsing"
594 action: "c++-module-compile"
595 action: "clif-match"
596 flag_group {
597 flag: "-D%{preprocessor_defines}"
598 iterate_over: "preprocessor_defines"
599 }
600 }
601 }
602 feature {
603 name: "include_paths"
604 flag_set {
605 action: "preprocess-assemble"
606 action: "c-compile"
607 action: "c++-compile"
608 action: "c++-header-parsing"
609 action: "c++-header-preprocessing"
610 action: "c++-module-compile"
611 flag_group {
612 flag: "-iquote"
613 flag: "%{quote_include_paths}"
614 iterate_over: "quote_include_paths"
615 }
616 flag_group {
617 flag: "-I%{include_paths}"
618 iterate_over: "include_paths"
619 }
620 flag_group {
621 flag: "-isystem"
622 flag: "%{system_include_paths}"
623 iterate_over: "system_include_paths"
624 }
625 }
626 }
627 feature {
628 name: "opt_post"
629 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700630 action: "preprocess-assemble"
631 action: "c-compile"
632 action: "c++-compile"
633 action: "c++-header-parsing"
634 action: "c++-header-preprocessing"
635 action: "c++-module-compile"
636 flag_group {
637 flag: "-DAOS_DEBUG=0"
638 }
639 }
640 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700641 feature {
642 name: "dbg"
Austin Schuh23da18b2015-10-11 20:52:49 -0700643 flag_set {
644 action: "preprocess-assemble"
645 action: "c-compile"
646 action: "c++-compile"
647 action: "c++-header-parsing"
648 action: "c++-header-preprocessing"
649 action: "c++-module-compile"
650 flag_group {
651 flag: "-DAOS_DEBUG=1"
652 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500653 flag_group {
654 flag: "-fno-omit-frame-pointer"
655 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700656 }
657 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700658 feature {
659 name: "fastbuild"
Austin Schuh23da18b2015-10-11 20:52:49 -0700660 flag_set {
661 action: "preprocess-assemble"
662 action: "c-compile"
663 action: "c++-compile"
664 action: "c++-header-parsing"
665 action: "c++-header-preprocessing"
666 action: "c++-module-compile"
667 flag_group {
668 flag: "-DAOS_DEBUG=0"
669 }
670 }
671 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700672 feature {
673 name: "all_modes"
674 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700675 action: "preprocess-assemble"
676 action: "assemble"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500677 action: "c-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700678 flag_group {
679 flag: "-std=gnu99"
680 }
681 }
682 flag_set {
683 action: "c++-compile"
684 action: "c++-header-parsing"
685 action: "c++-header-preprocessing"
686 action: "c++-module-compile"
687 flag_group {
688 flag: "-std=gnu++1y"
Austin Schuhf6b94632019-02-02 22:11:27 -0800689 flag: "-fno-sized-deallocation"
Austin Schuh23da18b2015-10-11 20:52:49 -0700690 }
691 }
692 flag_set {
693 action: "preprocess-assemble"
694 action: "assemble"
695 action: "c++-link"
696 action: "c++-compile"
697 action: "c++-header-parsing"
698 action: "c++-header-preprocessing"
699 action: "c++-module-compile"
700 action: "c-compile"
701 flag_group {
Austin Schuh23da18b2015-10-11 20:52:49 -0700702 flag: "-pthread"
703 }
704 }
Austin Schuhef147de2018-10-27 21:19:00 -0700705 enabled: true
Austin Schuh23da18b2015-10-11 20:52:49 -0700706 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700707 feature {
708 name: "pie_for_linking"
709 flag_set {
710 action: "c++-link-executable"
711 flag_group {
712 flag: "-pie"
713 }
714 }
715 enabled: true
716 }
717}
718toolchain {
719 toolchain_identifier: "clang_linux_armhf"
720 host_system_name: "linux"
721 target_system_name: "arm_a15"
722 target_cpu: "armhf-debian"
723 target_libc: "glibc_2.19"
724 compiler: "clang"
725 abi_version: "clang_3.6"
726 abi_libc_version: "glibc_2.19"
727 tool_path {
728 name: "ar"
729 path: "linaro_linux_gcc/arm-linux-gnueabihf-ar"
730 }
731 tool_path {
732 name: "compat-ld"
733 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
734 }
735 tool_path {
736 name: "cpp"
737 path: "linaro_linux_gcc/clang_bin/clang"
738 }
739 tool_path {
740 name: "dwp"
741 path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp"
742 }
743 tool_path {
744 name: "gcc"
745 path: "linaro_linux_gcc/clang_bin/clang"
746 }
747 tool_path {
748 name: "gcov"
749 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
750 }
751 tool_path {
752 name: "ld"
753 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
754 }
755 tool_path {
756 name: "nm"
757 path: "linaro_linux_gcc/arm-linux-gnueabihf-nm"
758 }
759 tool_path {
760 name: "objcopy"
761 path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy"
762 }
763 tool_path {
764 name: "objdump"
765 path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump"
766 }
767 tool_path {
768 name: "strip"
769 path: "linaro_linux_gcc/arm-linux-gnueabihf-strip"
770 }
771 supports_gold_linker: false
772 supports_thin_archives: true
773 needsPic: true
774 compiler_flag: "-target"
775 compiler_flag: "armv7a-arm-linux-gnueabif"
776 compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
777 compiler_flag: "-mfloat-abi=hard"
778 compiler_flag: "-mfpu=vfpv3-d16"
779 compiler_flag: "-nostdinc"
780 compiler_flag: "-isystem"
781 compiler_flag: "/usr/lib/clang/3.6/include"
782 compiler_flag: "-isystem"
783 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include"
784 compiler_flag: "-isystem"
785 compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include"
786 compiler_flag: "-isystem"
787 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 -0700788 compiler_flag: "-D__STDC_FORMAT_MACROS"
789 compiler_flag: "-D__STDC_CONSTANT_MACROS"
790 compiler_flag: "-D__STDC_LIMIT_MACROS"
791 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700792 compiler_flag: "-DAOS_ARCHITECTURE_armhf"
Austin Schuh23da18b2015-10-11 20:52:49 -0700793 compiler_flag: "-U_FORTIFY_SOURCE"
794 compiler_flag: "-fstack-protector"
795 compiler_flag: "-fPIE"
Austin Schuh23da18b2015-10-11 20:52:49 -0700796 compiler_flag: "-fdiagnostics-color=always"
Austin Schuh23da18b2015-10-11 20:52:49 -0700797 compiler_flag: "-Wall"
798 compiler_flag: "-Wextra"
Austin Schuh23da18b2015-10-11 20:52:49 -0700799 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400800 compiler_flag: "-Wstrict-aliasing"
Austin Schuh23da18b2015-10-11 20:52:49 -0700801 compiler_flag: "-Wcast-qual"
802 compiler_flag: "-Wcast-align"
803 compiler_flag: "-Wwrite-strings"
804 compiler_flag: "-Wtype-limits"
805 compiler_flag: "-Wsign-compare"
806 compiler_flag: "-Wformat=2"
807 compiler_flag: "-Werror"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500808 compiler_flag: "-Wunused-local-typedefs"
Austin Schuh23da18b2015-10-11 20:52:49 -0700809 compiler_flag: "-fno-omit-frame-pointer"
Austin Schuh23da18b2015-10-11 20:52:49 -0700810 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500811 compiler_flag: "-ggdb3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500812 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800813 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 -0500814 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800815 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500816 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800817 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500818 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800819 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500820 linker_flag: "-target"
821 linker_flag: "armv7a-arm-linux-gnueabif"
Austin Schuh61660832016-03-04 21:56:39 -0800822 linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500823 linker_flag: "-lstdc++"
824 linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs"
Austin Schuh61660832016-03-04 21:56:39 -0800825 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib"
826 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib"
827 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib"
828 linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500829 linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700830 linker_flag: "-no-canonical-prefixes"
831 linker_flag: "-Wl,-z,relro,-z,now"
832 linker_flag: "-lm"
833 linker_flag: "-Wl,--build-id=md5"
834 linker_flag: "-Wl,--hash-style=gnu"
835 objcopy_embed_flag: "-I"
836 objcopy_embed_flag: "binary"
837 compilation_mode_flags {
838 mode: OPT
839 compiler_flag: "-O2"
840 compiler_flag: "-DNDEBUG"
841 compiler_flag: "-D_FORTIFY_SOURCE=1"
842 compiler_flag: "-ffunction-sections"
843 compiler_flag: "-fdata-sections"
844 linker_flag: "-Wl,--gc-sections"
845 }
846 linking_mode_flags {
847 mode: DYNAMIC
848 }
849 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%"
850 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%"
851 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%"
852 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)%"
853 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3"
854 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
855 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)%"
856 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
857 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
858 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3"
859 cxx_builtin_include_directory: "/usr/lib/clang/3.6/include"
860 builtin_sysroot: ""
861 unfiltered_cxx_flag: "-no-canonical-prefixes"
862 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
863 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
864 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
865 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
866 supports_normalizing_ar: true
867 supports_start_end_lib: false
868 supports_interface_shared_objects: false
869 supports_incremental_linker: false
870 supports_fission: false
Brian Silverman0d57fc82016-01-24 21:02:53 -0500871 feature {
872 name: "opt"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500873 flag_set {
874 action: "preprocess-assemble"
875 action: "c-compile"
876 action: "c++-compile"
877 action: "c++-header-parsing"
878 action: "c++-header-preprocessing"
879 action: "c++-module-compile"
880 flag_group {
881 flag: "-DAOS_DEBUG=0"
882 }
883 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700884 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500885 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500886 feature {
887 name: "dbg"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500888 flag_set {
889 action: "preprocess-assemble"
890 action: "c-compile"
891 action: "c++-compile"
892 action: "c++-header-parsing"
893 action: "c++-header-preprocessing"
894 action: "c++-module-compile"
895 flag_group {
896 flag: "-DAOS_DEBUG=1"
897 }
898 flag_group {
899 flag: "-fno-omit-frame-pointer"
900 }
901 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700902 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500903 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500904 feature {
905 name: "fastbuild"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500906 flag_set {
907 action: "preprocess-assemble"
908 action: "c-compile"
909 action: "c++-compile"
910 action: "c++-header-parsing"
911 action: "c++-header-preprocessing"
912 action: "c++-module-compile"
913 flag_group {
914 flag: "-DAOS_DEBUG=0"
915 }
916 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700917 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500918 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500919 feature {
920 name: "all_modes"
921 flag_set {
922 action: "preprocess-assemble"
923 action: "assemble"
924 action: "c-compile"
925 flag_group {
926 flag: "-std=gnu99"
927 }
928 }
929 flag_set {
930 action: "c++-compile"
931 action: "c++-header-parsing"
932 action: "c++-header-preprocessing"
933 action: "c++-module-compile"
934 flag_group {
935 flag: "-std=gnu++1y"
936 }
937 }
938 flag_set {
939 action: "preprocess-assemble"
940 action: "assemble"
941 action: "c++-link"
942 action: "c++-compile"
943 action: "c++-header-parsing"
944 action: "c++-header-preprocessing"
945 action: "c++-module-compile"
946 action: "c-compile"
947 flag_group {
Brian Silverman0d57fc82016-01-24 21:02:53 -0500948 flag: "-pthread"
949 }
950 }
951 }
Austin Schuh137d9452018-07-07 15:42:36 -0700952 feature {
953 name: "pie_for_linking"
Austin Schuh137d9452018-07-07 15:42:36 -0700954 flag_set {
955 action: "c++-link-executable"
956 flag_group {
957 flag: "-pie"
958 }
959 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700960 enabled: true
Austin Schuh137d9452018-07-07 15:42:36 -0700961 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500962}
Brian Silverman8b638692017-06-26 23:10:26 -0700963toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700964 toolchain_identifier: "cortex-m4f"
965 host_system_name: "local"
966 target_system_name: "cortex-m4f"
967 target_cpu: "cortex-m4f"
968 target_libc: "cortex-m4f"
969 compiler: "gcc"
Brian Silverman8b638692017-06-26 23:10:26 -0700970 abi_version: "cortex-m4f"
971 abi_libc_version: "cortex-m4f"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700972 tool_path {
973 name: "ar"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700974 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700975 }
976 tool_path {
977 name: "compat-ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700978 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700979 }
980 tool_path {
981 name: "cpp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700982 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700983 }
984 tool_path {
985 name: "dwp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700986 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700987 }
988 tool_path {
989 name: "gcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700990 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700991 }
992 tool_path {
993 name: "gcov"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700994 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700995 }
996 tool_path {
997 name: "ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700998 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700999 }
1000 tool_path {
1001 name: "nm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001002 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001003 }
1004 tool_path {
1005 name: "objcopy"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001006 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001007 }
1008 tool_path {
1009 name: "objdump"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001010 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001011 }
1012 tool_path {
1013 name: "strip"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001014 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001015 }
Brian Silverman8b638692017-06-26 23:10:26 -07001016 supports_gold_linker: false
Brian Silverman8b638692017-06-26 23:10:26 -07001017 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -07001018 needsPic: false
1019 compiler_flag: "-D__STDC_FORMAT_MACROS"
1020 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1021 compiler_flag: "-D__STDC_LIMIT_MACROS"
1022 compiler_flag: "-D__MK64FX512__"
1023 compiler_flag: "-DF_CPU=120000000"
1024 compiler_flag: "-Wl,--gc-sections"
1025 compiler_flag: "-D__have_long32"
1026 compiler_flag: "-fstack-protector"
1027 compiler_flag: "-mcpu=cortex-m4"
1028 compiler_flag: "-mfpu=fpv4-sp-d16"
1029 compiler_flag: "-mthumb"
1030 compiler_flag: "-mfloat-abi=hard"
1031 compiler_flag: "-fno-strict-aliasing"
1032 compiler_flag: "-fmessage-length=80"
1033 compiler_flag: "-fmax-errors=20"
1034 compiler_flag: "-Wall"
1035 compiler_flag: "-Wextra"
1036 compiler_flag: "-Wpointer-arith"
1037 compiler_flag: "-Wcast-qual"
1038 compiler_flag: "-Wwrite-strings"
1039 compiler_flag: "-Wtype-limits"
1040 compiler_flag: "-Wsign-compare"
1041 compiler_flag: "-Wformat=2"
1042 compiler_flag: "-Werror"
1043 compiler_flag: "-Wstrict-aliasing=2"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001044 compiler_flag: "-Wno-misleading-indentation"
1045 compiler_flag: "-Wno-int-in-bool-context"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001046 compiler_flag: "-Wdouble-promotion"
1047 compiler_flag: "-pipe"
1048 compiler_flag: "-g"
1049 compiler_flag: "-fno-common"
1050 compiler_flag: "-ffreestanding"
1051 compiler_flag: "-fbuiltin"
1052 linker_flag: "-no-canonical-prefixes"
1053 linker_flag: "-mcpu=cortex-m4"
1054 linker_flag: "-mfpu=fpv4-sp-d16"
1055 linker_flag: "-mthumb"
1056 linker_flag: "-mfloat-abi=hard"
1057 linker_flag: "-fno-strict-aliasing"
1058 linker_flag: "--specs=nano.specs"
1059 linker_flag: "-lgcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001060 linker_flag: "-lstdc++_nano"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001061 linker_flag: "-lm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001062 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001063 linker_flag: "-Tmotors/core/kinetis_512_256.ld"
1064 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman8b638692017-06-26 23:10:26 -07001065 objcopy_embed_flag: "-I"
1066 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001067 compilation_mode_flags {
1068 mode: OPT
1069 compiler_flag: "-O2"
1070 compiler_flag: "-finline-functions"
1071 compiler_flag: "-ffast-math"
1072 compiler_flag: "-funroll-loops"
1073 compiler_flag: "-DNDEBUG"
1074 compiler_flag: "-ffunction-sections"
1075 linker_flag: "-Wl,--gc-sections"
1076 }
1077 linking_mode_flags {
1078 mode: FULLY_STATIC
1079 }
1080 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1081 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1082 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1083 cxx_builtin_include_directory: "/usr/include/newlib"
1084 builtin_sysroot: ""
1085 unfiltered_cxx_flag: "-no-canonical-prefixes"
1086 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1087 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1088 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1089 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1090 supports_normalizing_ar: false
1091 supports_start_end_lib: false
1092 supports_interface_shared_objects: false
1093 supports_incremental_linker: false
1094 supports_fission: false
Brian Silverman8b638692017-06-26 23:10:26 -07001095 feature {
1096 name: "dbg"
Brian Silverman8b638692017-06-26 23:10:26 -07001097 flag_set {
1098 action: "preprocess-assemble"
1099 action: "c-compile"
1100 action: "c++-compile"
1101 action: "c++-header-parsing"
1102 action: "c++-header-preprocessing"
1103 action: "c++-module-compile"
1104 flag_group {
1105 flag: "-fno-omit-frame-pointer"
1106 }
1107 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001108 implies: "all_modes"
Brian Silverman8b638692017-06-26 23:10:26 -07001109 }
Brian Silverman8b638692017-06-26 23:10:26 -07001110 feature {
1111 name: "opt"
1112 implies: "all_modes"
1113 }
1114 feature {
1115 name: "fastbuild"
1116 implies: "all_modes"
1117 }
Brian Silverman8b638692017-06-26 23:10:26 -07001118 feature {
1119 name: "all_modes"
1120 flag_set {
1121 action: "preprocess-assemble"
1122 action: "assemble"
1123 action: "c-compile"
1124 flag_group {
1125 flag: "--std=gnu99"
1126 }
1127 }
1128 flag_set {
1129 action: "c++-compile"
1130 action: "c++-header-parsing"
1131 action: "c++-header-preprocessing"
1132 action: "c++-module-compile"
1133 flag_group {
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001134 flag: "--std=gnu++1y"
1135 flag: "-fno-exceptions"
1136 flag: "-fno-rtti"
1137 }
1138 }
1139 }
1140 feature {
1141 name: "include_paths"
1142 flag_set {
1143 action: "preprocess-assemble"
1144 action: "c-compile"
1145 action: "c++-compile"
1146 action: "c++-header-parsing"
1147 action: "c++-header-preprocessing"
1148 action: "c++-module-compile"
1149 flag_group {
1150 flag: "-iquote"
1151 flag: "%{quote_include_paths}"
1152 iterate_over: "quote_include_paths"
1153 }
1154 flag_group {
1155 flag: "-I%{include_paths}"
1156 iterate_over: "include_paths"
1157 }
1158 flag_group {
1159 flag: "-I"
1160 flag: "%{system_include_paths}"
1161 iterate_over: "system_include_paths"
1162 }
1163 }
1164 }
1165}
1166toolchain {
1167 toolchain_identifier: "cortex-m4f-k22"
1168 host_system_name: "local"
1169 target_system_name: "cortex-m4f-k22"
1170 target_cpu: "cortex-m4f-k22"
1171 target_libc: "cortex-m4f-k22"
1172 compiler: "gcc"
1173 abi_version: "cortex-m4f-k22"
1174 abi_libc_version: "cortex-m4f-k22"
1175 tool_path {
1176 name: "ar"
1177 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
1178 }
1179 tool_path {
1180 name: "compat-ld"
1181 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1182 }
1183 tool_path {
1184 name: "cpp"
1185 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
1186 }
1187 tool_path {
1188 name: "dwp"
1189 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
1190 }
1191 tool_path {
1192 name: "gcc"
1193 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
1194 }
1195 tool_path {
1196 name: "gcov"
1197 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
1198 }
1199 tool_path {
1200 name: "ld"
1201 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1202 }
1203 tool_path {
1204 name: "nm"
1205 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
1206 }
1207 tool_path {
1208 name: "objcopy"
1209 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
1210 }
1211 tool_path {
1212 name: "objdump"
1213 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
1214 }
1215 tool_path {
1216 name: "strip"
1217 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
1218 }
1219 supports_gold_linker: false
1220 supports_thin_archives: false
1221 needsPic: false
1222 compiler_flag: "-D__STDC_FORMAT_MACROS"
1223 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1224 compiler_flag: "-D__STDC_LIMIT_MACROS"
1225 compiler_flag: "-D__MK22FX512__"
1226 compiler_flag: "-DF_CPU=120000000"
1227 compiler_flag: "-Wl,--gc-sections"
1228 compiler_flag: "-D__have_long32"
1229 compiler_flag: "-fstack-protector"
1230 compiler_flag: "-mcpu=cortex-m4"
1231 compiler_flag: "-mfpu=fpv4-sp-d16"
1232 compiler_flag: "-mthumb"
1233 compiler_flag: "-mfloat-abi=hard"
1234 compiler_flag: "-fno-strict-aliasing"
1235 compiler_flag: "-fmessage-length=80"
1236 compiler_flag: "-fmax-errors=20"
1237 compiler_flag: "-Wall"
1238 compiler_flag: "-Wextra"
1239 compiler_flag: "-Wpointer-arith"
1240 compiler_flag: "-Wcast-qual"
1241 compiler_flag: "-Wwrite-strings"
1242 compiler_flag: "-Wtype-limits"
1243 compiler_flag: "-Wsign-compare"
1244 compiler_flag: "-Wformat=2"
1245 compiler_flag: "-Werror"
1246 compiler_flag: "-Wstrict-aliasing=2"
1247 compiler_flag: "-Wno-misleading-indentation"
1248 compiler_flag: "-Wno-int-in-bool-context"
1249 compiler_flag: "-Wdouble-promotion"
1250 compiler_flag: "-pipe"
1251 compiler_flag: "-g"
1252 compiler_flag: "-fno-common"
1253 compiler_flag: "-ffreestanding"
1254 compiler_flag: "-fbuiltin"
1255 linker_flag: "-no-canonical-prefixes"
1256 linker_flag: "-mcpu=cortex-m4"
1257 linker_flag: "-mfpu=fpv4-sp-d16"
1258 linker_flag: "-mthumb"
1259 linker_flag: "-mfloat-abi=hard"
1260 linker_flag: "-fno-strict-aliasing"
1261 linker_flag: "--specs=nano.specs"
1262 linker_flag: "-lgcc"
1263 linker_flag: "-lstdc++_nano"
1264 linker_flag: "-lm"
1265 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001266 linker_flag: "-Tmotors/core/kinetis_512_128.ld"
1267 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001268 objcopy_embed_flag: "-I"
1269 objcopy_embed_flag: "binary"
1270 compilation_mode_flags {
1271 mode: OPT
1272 compiler_flag: "-O2"
1273 compiler_flag: "-finline-functions"
1274 compiler_flag: "-ffast-math"
1275 compiler_flag: "-funroll-loops"
1276 compiler_flag: "-DNDEBUG"
1277 compiler_flag: "-ffunction-sections"
1278 linker_flag: "-Wl,--gc-sections"
1279 }
1280 linking_mode_flags {
1281 mode: FULLY_STATIC
1282 }
1283 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1284 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1285 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1286 cxx_builtin_include_directory: "/usr/include/newlib"
1287 builtin_sysroot: ""
1288 unfiltered_cxx_flag: "-no-canonical-prefixes"
1289 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1290 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1291 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1292 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1293 supports_normalizing_ar: false
1294 supports_start_end_lib: false
1295 supports_interface_shared_objects: false
1296 supports_incremental_linker: false
1297 supports_fission: false
1298 feature {
1299 name: "dbg"
1300 flag_set {
1301 action: "preprocess-assemble"
1302 action: "c-compile"
1303 action: "c++-compile"
1304 action: "c++-header-parsing"
1305 action: "c++-header-preprocessing"
1306 action: "c++-module-compile"
1307 flag_group {
1308 flag: "-fno-omit-frame-pointer"
1309 }
1310 }
1311 implies: "all_modes"
1312 }
1313 feature {
1314 name: "opt"
1315 implies: "all_modes"
1316 }
1317 feature {
1318 name: "fastbuild"
1319 implies: "all_modes"
1320 }
1321 feature {
1322 name: "all_modes"
1323 flag_set {
1324 action: "preprocess-assemble"
1325 action: "assemble"
1326 action: "c-compile"
1327 flag_group {
1328 flag: "--std=gnu99"
1329 }
1330 }
1331 flag_set {
1332 action: "c++-compile"
1333 action: "c++-header-parsing"
1334 action: "c++-header-preprocessing"
1335 action: "c++-module-compile"
1336 flag_group {
1337 flag: "--std=gnu++1y"
Brian Silverman8b638692017-06-26 23:10:26 -07001338 flag: "-fno-exceptions"
1339 flag: "-fno-rtti"
1340 }
1341 }
1342 }
Brian Silverman8b638692017-06-26 23:10:26 -07001343 feature {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001344 name: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001345 flag_set {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001346 action: "preprocess-assemble"
1347 action: "c-compile"
1348 action: "c++-compile"
1349 action: "c++-header-parsing"
1350 action: "c++-header-preprocessing"
1351 action: "c++-module-compile"
Brian Silverman8b638692017-06-26 23:10:26 -07001352 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001353 flag: "-iquote"
1354 flag: "%{quote_include_paths}"
1355 iterate_over: "quote_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001356 }
1357 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001358 flag: "-I%{include_paths}"
1359 iterate_over: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001360 }
1361 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001362 flag: "-I"
1363 flag: "%{system_include_paths}"
1364 iterate_over: "system_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001365 }
1366 }
1367 }
1368}