blob: 12d69ecf41c8f0694d4381af01c1641a03e35009 [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 {
442 action: "c++-compile"
443 action: "c++-header-parsing"
444 action: "c++-module-compile"
445 action: "c++-module-codegen"
446 flag_group {
Austin Schuhef147de2018-10-27 21:19:00 -0700447 flag: "-isystem"
Austin Schuhf6b94632019-02-02 22:11:27 -0800448 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0"
449 flag: "-isystem"
450 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/arm-frc2019-linux-gnueabi"
451 flag: "-isystem"
452 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include/c++/6.3.0/backward"
453 }
454 }
455 flag_set {
456 action: "assemble"
457 action: "preprocess-assemble"
458 action: "c-compile"
459 action: "c++-compile"
460 action: "c++-header-parsing"
461 action: "c++-module-compile"
462 action: "c++-module-codegen"
463 action: "lto-backend"
464 action: "clif-match"
465 flag_group {
466 flag: "-isystem"
467 flag: "external/arm_frc_linux_gnueabi_repo/arm-frc2019-linux-gnueabi/usr/include"
Austin Schuhef147de2018-10-27 21:19:00 -0700468 flag: "-mfpu=neon"
469 flag: "-D__STDC_FORMAT_MACROS"
470 flag: "-D__STDC_CONSTANT_MACROS"
471 flag: "-D__STDC_LIMIT_MACROS"
472 flag: "-D_FILE_OFFSET_BITS=64"
473 flag: "-DAOS_ARCHITECTURE_arm_frc"
474 flag: "-U_FORTIFY_SOURCE"
475 flag: "-fstack-protector"
476 flag: "-fPIE"
477 flag: "-fdiagnostics-color=always"
478 flag: "-Wall"
479 flag: "-Wextra"
480 flag: "-Wpointer-arith"
481 flag: "-Wstrict-aliasing"
482 flag: "-Wcast-qual"
483 flag: "-Wcast-align"
484 flag: "-Wwrite-strings"
485 flag: "-Wtype-limits"
486 flag: "-Wsign-compare"
487 flag: "-Wformat=2"
488 flag: "-Werror"
489 flag: "-Wunused-local-typedefs"
490 flag: "-fno-omit-frame-pointer"
491 flag: "-D__has_feature(x)=0"
492 flag: "-pipe"
493 flag: "-ggdb3"
494 }
495 }
496 enabled: true
497 }
498 feature {
Austin Schuh23da18b2015-10-11 20:52:49 -0700499 name: "opt"
Austin Schuh23da18b2015-10-11 20:52:49 -0700500 flag_set {
Austin Schuhef147de2018-10-27 21:19:00 -0700501 action: "assemble"
502 action: "preprocess-assemble"
503 action: "c-compile"
504 action: "c++-compile"
505 action: "c++-module-compile"
506 action: "objc-compile"
507 action: "objc++-compile"
508 action: "c++-header-parsing"
509 action: "linkstamp-compile"
510 flag_group {
511 flag: "-O2"
512 flag: "-DNDEBUG"
513 flag: "-D_FORTIFY_SOURCE=1"
514 flag: "-ffunction-sections"
515 flag: "-fdata-sections"
516 }
517 }
518 flag_set {
519 action: "c++-link-executable"
520 action: "c++-link-nodeps-dynamic-library"
521 action: "c++-link-dynamic-library"
522 flag_group {
523 flag: "-Wl,--gc-sections"
524 }
525 }
526 implies: "opt_post"
527 }
528 feature {
Austin Schuhef147de2018-10-27 21:19:00 -0700529 name: "dependency_file"
530 flag_set {
531 action: "assemble"
532 action: "preprocess-assemble"
533 action: "c-compile"
534 action: "c++-compile"
535 action: "c++-module-compile"
536 action: "objc-compile"
537 action: "objc++-compile"
538 action: "c++-header-parsing"
539 action: "clif-match"
540 flag_group {
541 flag: "-MD"
542 flag: "-MF"
543 flag: "%{dependency_file}"
544 }
545 expand_if_all_available: "dependency_file"
546 }
547 }
548 feature {
549 name: "random_seed"
550 flag_set {
551 action: "c++-compile"
552 action: "c++-module-codegen"
553 action: "c++-module-compile"
554 flag_group {
555 flag: "-frandom-seed=%{output_file}"
556 expand_if_all_available: "output_file"
557 }
558 }
559 }
560 feature {
561 name: "pic"
562 flag_set {
563 action: "assemble"
564 action: "preprocess-assemble"
565 action: "linkstamp-compile"
566 action: "c-compile"
567 action: "c++-compile"
568 action: "c++-module-codegen"
569 action: "c++-module-compile"
570 flag_group {
571 flag: "-fPIC"
572 }
573 expand_if_all_available: "pic"
574 }
575 }
576 feature {
577 name: "preprocessor_defines"
578 flag_set {
579 action: "preprocess-assemble"
580 action: "linkstamp-compile"
581 action: "c-compile"
582 action: "c++-compile"
583 action: "c++-header-parsing"
584 action: "c++-module-compile"
585 action: "clif-match"
586 flag_group {
587 flag: "-D%{preprocessor_defines}"
588 iterate_over: "preprocessor_defines"
589 }
590 }
591 }
592 feature {
593 name: "include_paths"
594 flag_set {
595 action: "preprocess-assemble"
596 action: "c-compile"
597 action: "c++-compile"
598 action: "c++-header-parsing"
599 action: "c++-header-preprocessing"
600 action: "c++-module-compile"
601 flag_group {
602 flag: "-iquote"
603 flag: "%{quote_include_paths}"
604 iterate_over: "quote_include_paths"
605 }
606 flag_group {
607 flag: "-I%{include_paths}"
608 iterate_over: "include_paths"
609 }
610 flag_group {
611 flag: "-isystem"
612 flag: "%{system_include_paths}"
613 iterate_over: "system_include_paths"
614 }
615 }
616 }
617 feature {
618 name: "opt_post"
619 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700620 action: "preprocess-assemble"
621 action: "c-compile"
622 action: "c++-compile"
623 action: "c++-header-parsing"
624 action: "c++-header-preprocessing"
625 action: "c++-module-compile"
626 flag_group {
627 flag: "-DAOS_DEBUG=0"
628 }
629 }
630 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700631 feature {
632 name: "dbg"
Austin Schuh23da18b2015-10-11 20:52:49 -0700633 flag_set {
634 action: "preprocess-assemble"
635 action: "c-compile"
636 action: "c++-compile"
637 action: "c++-header-parsing"
638 action: "c++-header-preprocessing"
639 action: "c++-module-compile"
640 flag_group {
641 flag: "-DAOS_DEBUG=1"
642 }
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500643 flag_group {
644 flag: "-fno-omit-frame-pointer"
645 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700646 }
647 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700648 feature {
649 name: "fastbuild"
Austin Schuh23da18b2015-10-11 20:52:49 -0700650 flag_set {
651 action: "preprocess-assemble"
652 action: "c-compile"
653 action: "c++-compile"
654 action: "c++-header-parsing"
655 action: "c++-header-preprocessing"
656 action: "c++-module-compile"
657 flag_group {
658 flag: "-DAOS_DEBUG=0"
659 }
660 }
661 }
Austin Schuh23da18b2015-10-11 20:52:49 -0700662 feature {
663 name: "all_modes"
664 flag_set {
Austin Schuh23da18b2015-10-11 20:52:49 -0700665 action: "preprocess-assemble"
666 action: "assemble"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500667 action: "c-compile"
Austin Schuh23da18b2015-10-11 20:52:49 -0700668 flag_group {
669 flag: "-std=gnu99"
670 }
671 }
672 flag_set {
673 action: "c++-compile"
674 action: "c++-header-parsing"
675 action: "c++-header-preprocessing"
676 action: "c++-module-compile"
677 flag_group {
678 flag: "-std=gnu++1y"
Austin Schuhf6b94632019-02-02 22:11:27 -0800679 flag: "-fno-sized-deallocation"
Austin Schuh23da18b2015-10-11 20:52:49 -0700680 }
681 }
682 flag_set {
683 action: "preprocess-assemble"
684 action: "assemble"
685 action: "c++-link"
686 action: "c++-compile"
687 action: "c++-header-parsing"
688 action: "c++-header-preprocessing"
689 action: "c++-module-compile"
690 action: "c-compile"
691 flag_group {
Austin Schuh23da18b2015-10-11 20:52:49 -0700692 flag: "-pthread"
693 }
694 }
Austin Schuhef147de2018-10-27 21:19:00 -0700695 enabled: true
Austin Schuh23da18b2015-10-11 20:52:49 -0700696 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700697 feature {
698 name: "pie_for_linking"
699 flag_set {
700 action: "c++-link-executable"
701 flag_group {
702 flag: "-pie"
703 }
704 }
705 enabled: true
706 }
707}
708toolchain {
709 toolchain_identifier: "clang_linux_armhf"
710 host_system_name: "linux"
711 target_system_name: "arm_a15"
712 target_cpu: "armhf-debian"
713 target_libc: "glibc_2.19"
714 compiler: "clang"
715 abi_version: "clang_3.6"
716 abi_libc_version: "glibc_2.19"
717 tool_path {
718 name: "ar"
719 path: "linaro_linux_gcc/arm-linux-gnueabihf-ar"
720 }
721 tool_path {
722 name: "compat-ld"
723 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
724 }
725 tool_path {
726 name: "cpp"
727 path: "linaro_linux_gcc/clang_bin/clang"
728 }
729 tool_path {
730 name: "dwp"
731 path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp"
732 }
733 tool_path {
734 name: "gcc"
735 path: "linaro_linux_gcc/clang_bin/clang"
736 }
737 tool_path {
738 name: "gcov"
739 path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9"
740 }
741 tool_path {
742 name: "ld"
743 path: "linaro_linux_gcc/arm-linux-gnueabihf-ld"
744 }
745 tool_path {
746 name: "nm"
747 path: "linaro_linux_gcc/arm-linux-gnueabihf-nm"
748 }
749 tool_path {
750 name: "objcopy"
751 path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy"
752 }
753 tool_path {
754 name: "objdump"
755 path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump"
756 }
757 tool_path {
758 name: "strip"
759 path: "linaro_linux_gcc/arm-linux-gnueabihf-strip"
760 }
761 supports_gold_linker: false
762 supports_thin_archives: true
763 needsPic: true
764 compiler_flag: "-target"
765 compiler_flag: "armv7a-arm-linux-gnueabif"
766 compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
767 compiler_flag: "-mfloat-abi=hard"
768 compiler_flag: "-mfpu=vfpv3-d16"
769 compiler_flag: "-nostdinc"
770 compiler_flag: "-isystem"
771 compiler_flag: "/usr/lib/clang/3.6/include"
772 compiler_flag: "-isystem"
773 compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include"
774 compiler_flag: "-isystem"
775 compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include"
776 compiler_flag: "-isystem"
777 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 -0700778 compiler_flag: "-D__STDC_FORMAT_MACROS"
779 compiler_flag: "-D__STDC_CONSTANT_MACROS"
780 compiler_flag: "-D__STDC_LIMIT_MACROS"
781 compiler_flag: "-D_FILE_OFFSET_BITS=64"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700782 compiler_flag: "-DAOS_ARCHITECTURE_armhf"
Austin Schuh23da18b2015-10-11 20:52:49 -0700783 compiler_flag: "-U_FORTIFY_SOURCE"
784 compiler_flag: "-fstack-protector"
785 compiler_flag: "-fPIE"
Austin Schuh23da18b2015-10-11 20:52:49 -0700786 compiler_flag: "-fdiagnostics-color=always"
Austin Schuh23da18b2015-10-11 20:52:49 -0700787 compiler_flag: "-Wall"
788 compiler_flag: "-Wextra"
Austin Schuh23da18b2015-10-11 20:52:49 -0700789 compiler_flag: "-Wpointer-arith"
Brian Silverman594be0d2015-10-31 17:56:23 -0400790 compiler_flag: "-Wstrict-aliasing"
Austin Schuh23da18b2015-10-11 20:52:49 -0700791 compiler_flag: "-Wcast-qual"
792 compiler_flag: "-Wcast-align"
793 compiler_flag: "-Wwrite-strings"
794 compiler_flag: "-Wtype-limits"
795 compiler_flag: "-Wsign-compare"
796 compiler_flag: "-Wformat=2"
797 compiler_flag: "-Werror"
Brian Silvermana4a4ea62015-11-27 10:27:53 -0500798 compiler_flag: "-Wunused-local-typedefs"
Austin Schuh23da18b2015-10-11 20:52:49 -0700799 compiler_flag: "-fno-omit-frame-pointer"
Austin Schuh23da18b2015-10-11 20:52:49 -0700800 compiler_flag: "-pipe"
Brian Silvermand2540402015-11-28 18:35:00 -0500801 compiler_flag: "-ggdb3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500802 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800803 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 -0500804 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800805 cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500806 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800807 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500808 cxx_flag: "-isystem"
Austin Schuh61660832016-03-04 21:56:39 -0800809 cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500810 linker_flag: "-target"
811 linker_flag: "armv7a-arm-linux-gnueabif"
Austin Schuh61660832016-03-04 21:56:39 -0800812 linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500813 linker_flag: "-lstdc++"
814 linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs"
Austin Schuh61660832016-03-04 21:56:39 -0800815 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib"
816 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib"
817 linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib"
818 linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500819 linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700820 linker_flag: "-no-canonical-prefixes"
821 linker_flag: "-Wl,-z,relro,-z,now"
822 linker_flag: "-lm"
823 linker_flag: "-Wl,--build-id=md5"
824 linker_flag: "-Wl,--hash-style=gnu"
825 objcopy_embed_flag: "-I"
826 objcopy_embed_flag: "binary"
827 compilation_mode_flags {
828 mode: OPT
829 compiler_flag: "-O2"
830 compiler_flag: "-DNDEBUG"
831 compiler_flag: "-D_FORTIFY_SOURCE=1"
832 compiler_flag: "-ffunction-sections"
833 compiler_flag: "-fdata-sections"
834 linker_flag: "-Wl,--gc-sections"
835 }
836 linking_mode_flags {
837 mode: DYNAMIC
838 }
839 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%"
840 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%"
841 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%"
842 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)%"
843 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3"
844 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
845 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)%"
846 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%"
847 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%"
848 cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3"
849 cxx_builtin_include_directory: "/usr/lib/clang/3.6/include"
850 builtin_sysroot: ""
851 unfiltered_cxx_flag: "-no-canonical-prefixes"
852 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
853 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
854 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
855 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
856 supports_normalizing_ar: true
857 supports_start_end_lib: false
858 supports_interface_shared_objects: false
859 supports_incremental_linker: false
860 supports_fission: false
Brian Silverman0d57fc82016-01-24 21:02:53 -0500861 feature {
862 name: "opt"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500863 flag_set {
864 action: "preprocess-assemble"
865 action: "c-compile"
866 action: "c++-compile"
867 action: "c++-header-parsing"
868 action: "c++-header-preprocessing"
869 action: "c++-module-compile"
870 flag_group {
871 flag: "-DAOS_DEBUG=0"
872 }
873 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700874 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500875 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500876 feature {
877 name: "dbg"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500878 flag_set {
879 action: "preprocess-assemble"
880 action: "c-compile"
881 action: "c++-compile"
882 action: "c++-header-parsing"
883 action: "c++-header-preprocessing"
884 action: "c++-module-compile"
885 flag_group {
886 flag: "-DAOS_DEBUG=1"
887 }
888 flag_group {
889 flag: "-fno-omit-frame-pointer"
890 }
891 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700892 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500893 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500894 feature {
895 name: "fastbuild"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500896 flag_set {
897 action: "preprocess-assemble"
898 action: "c-compile"
899 action: "c++-compile"
900 action: "c++-header-parsing"
901 action: "c++-header-preprocessing"
902 action: "c++-module-compile"
903 flag_group {
904 flag: "-DAOS_DEBUG=0"
905 }
906 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700907 implies: "all_modes"
Brian Silverman0d57fc82016-01-24 21:02:53 -0500908 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500909 feature {
910 name: "all_modes"
911 flag_set {
912 action: "preprocess-assemble"
913 action: "assemble"
914 action: "c-compile"
915 flag_group {
916 flag: "-std=gnu99"
917 }
918 }
919 flag_set {
920 action: "c++-compile"
921 action: "c++-header-parsing"
922 action: "c++-header-preprocessing"
923 action: "c++-module-compile"
924 flag_group {
925 flag: "-std=gnu++1y"
926 }
927 }
928 flag_set {
929 action: "preprocess-assemble"
930 action: "assemble"
931 action: "c++-link"
932 action: "c++-compile"
933 action: "c++-header-parsing"
934 action: "c++-header-preprocessing"
935 action: "c++-module-compile"
936 action: "c-compile"
937 flag_group {
Brian Silverman0d57fc82016-01-24 21:02:53 -0500938 flag: "-pthread"
939 }
940 }
941 }
Austin Schuh137d9452018-07-07 15:42:36 -0700942 feature {
943 name: "pie_for_linking"
Austin Schuh137d9452018-07-07 15:42:36 -0700944 flag_set {
945 action: "c++-link-executable"
946 flag_group {
947 flag: "-pie"
948 }
949 }
Brian Silverman7b8899e2018-06-30 19:19:24 -0700950 enabled: true
Austin Schuh137d9452018-07-07 15:42:36 -0700951 }
Brian Silverman0d57fc82016-01-24 21:02:53 -0500952}
Brian Silverman8b638692017-06-26 23:10:26 -0700953toolchain {
Brian Silverman7b8899e2018-06-30 19:19:24 -0700954 toolchain_identifier: "cortex-m4f"
955 host_system_name: "local"
956 target_system_name: "cortex-m4f"
957 target_cpu: "cortex-m4f"
958 target_libc: "cortex-m4f"
959 compiler: "gcc"
Brian Silverman8b638692017-06-26 23:10:26 -0700960 abi_version: "cortex-m4f"
961 abi_libc_version: "cortex-m4f"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700962 tool_path {
963 name: "ar"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700964 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700965 }
966 tool_path {
967 name: "compat-ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700968 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700969 }
970 tool_path {
971 name: "cpp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700972 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700973 }
974 tool_path {
975 name: "dwp"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700976 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700977 }
978 tool_path {
979 name: "gcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700980 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700981 }
982 tool_path {
983 name: "gcov"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700984 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700985 }
986 tool_path {
987 name: "ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700988 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700989 }
990 tool_path {
991 name: "nm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700992 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700993 }
994 tool_path {
995 name: "objcopy"
Brian Silverman6c8b88b2018-09-03 18:17:02 -0700996 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
Brian Silverman7b8899e2018-06-30 19:19:24 -0700997 }
998 tool_path {
999 name: "objdump"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001000 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001001 }
1002 tool_path {
1003 name: "strip"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001004 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001005 }
Brian Silverman8b638692017-06-26 23:10:26 -07001006 supports_gold_linker: false
Brian Silverman8b638692017-06-26 23:10:26 -07001007 supports_thin_archives: false
Brian Silverman7b8899e2018-06-30 19:19:24 -07001008 needsPic: false
1009 compiler_flag: "-D__STDC_FORMAT_MACROS"
1010 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1011 compiler_flag: "-D__STDC_LIMIT_MACROS"
1012 compiler_flag: "-D__MK64FX512__"
1013 compiler_flag: "-DF_CPU=120000000"
1014 compiler_flag: "-Wl,--gc-sections"
1015 compiler_flag: "-D__have_long32"
1016 compiler_flag: "-fstack-protector"
1017 compiler_flag: "-mcpu=cortex-m4"
1018 compiler_flag: "-mfpu=fpv4-sp-d16"
1019 compiler_flag: "-mthumb"
1020 compiler_flag: "-mfloat-abi=hard"
1021 compiler_flag: "-fno-strict-aliasing"
1022 compiler_flag: "-fmessage-length=80"
1023 compiler_flag: "-fmax-errors=20"
1024 compiler_flag: "-Wall"
1025 compiler_flag: "-Wextra"
1026 compiler_flag: "-Wpointer-arith"
1027 compiler_flag: "-Wcast-qual"
1028 compiler_flag: "-Wwrite-strings"
1029 compiler_flag: "-Wtype-limits"
1030 compiler_flag: "-Wsign-compare"
1031 compiler_flag: "-Wformat=2"
1032 compiler_flag: "-Werror"
1033 compiler_flag: "-Wstrict-aliasing=2"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001034 compiler_flag: "-Wno-misleading-indentation"
1035 compiler_flag: "-Wno-int-in-bool-context"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001036 compiler_flag: "-Wdouble-promotion"
1037 compiler_flag: "-pipe"
1038 compiler_flag: "-g"
1039 compiler_flag: "-fno-common"
1040 compiler_flag: "-ffreestanding"
1041 compiler_flag: "-fbuiltin"
1042 linker_flag: "-no-canonical-prefixes"
1043 linker_flag: "-mcpu=cortex-m4"
1044 linker_flag: "-mfpu=fpv4-sp-d16"
1045 linker_flag: "-mthumb"
1046 linker_flag: "-mfloat-abi=hard"
1047 linker_flag: "-fno-strict-aliasing"
1048 linker_flag: "--specs=nano.specs"
1049 linker_flag: "-lgcc"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001050 linker_flag: "-lstdc++_nano"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001051 linker_flag: "-lm"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001052 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001053 linker_flag: "-Tmotors/core/kinetis_512_256.ld"
1054 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman8b638692017-06-26 23:10:26 -07001055 objcopy_embed_flag: "-I"
1056 objcopy_embed_flag: "binary"
Brian Silverman7b8899e2018-06-30 19:19:24 -07001057 compilation_mode_flags {
1058 mode: OPT
1059 compiler_flag: "-O2"
1060 compiler_flag: "-finline-functions"
1061 compiler_flag: "-ffast-math"
1062 compiler_flag: "-funroll-loops"
1063 compiler_flag: "-DNDEBUG"
1064 compiler_flag: "-ffunction-sections"
1065 linker_flag: "-Wl,--gc-sections"
1066 }
1067 linking_mode_flags {
1068 mode: FULLY_STATIC
1069 }
1070 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1071 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1072 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1073 cxx_builtin_include_directory: "/usr/include/newlib"
1074 builtin_sysroot: ""
1075 unfiltered_cxx_flag: "-no-canonical-prefixes"
1076 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1077 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1078 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1079 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1080 supports_normalizing_ar: false
1081 supports_start_end_lib: false
1082 supports_interface_shared_objects: false
1083 supports_incremental_linker: false
1084 supports_fission: false
Brian Silverman8b638692017-06-26 23:10:26 -07001085 feature {
1086 name: "dbg"
Brian Silverman8b638692017-06-26 23:10:26 -07001087 flag_set {
1088 action: "preprocess-assemble"
1089 action: "c-compile"
1090 action: "c++-compile"
1091 action: "c++-header-parsing"
1092 action: "c++-header-preprocessing"
1093 action: "c++-module-compile"
1094 flag_group {
1095 flag: "-fno-omit-frame-pointer"
1096 }
1097 }
Brian Silverman7b8899e2018-06-30 19:19:24 -07001098 implies: "all_modes"
Brian Silverman8b638692017-06-26 23:10:26 -07001099 }
Brian Silverman8b638692017-06-26 23:10:26 -07001100 feature {
1101 name: "opt"
1102 implies: "all_modes"
1103 }
1104 feature {
1105 name: "fastbuild"
1106 implies: "all_modes"
1107 }
Brian Silverman8b638692017-06-26 23:10:26 -07001108 feature {
1109 name: "all_modes"
1110 flag_set {
1111 action: "preprocess-assemble"
1112 action: "assemble"
1113 action: "c-compile"
1114 flag_group {
1115 flag: "--std=gnu99"
1116 }
1117 }
1118 flag_set {
1119 action: "c++-compile"
1120 action: "c++-header-parsing"
1121 action: "c++-header-preprocessing"
1122 action: "c++-module-compile"
1123 flag_group {
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001124 flag: "--std=gnu++1y"
1125 flag: "-fno-exceptions"
1126 flag: "-fno-rtti"
1127 }
1128 }
1129 }
1130 feature {
1131 name: "include_paths"
1132 flag_set {
1133 action: "preprocess-assemble"
1134 action: "c-compile"
1135 action: "c++-compile"
1136 action: "c++-header-parsing"
1137 action: "c++-header-preprocessing"
1138 action: "c++-module-compile"
1139 flag_group {
1140 flag: "-iquote"
1141 flag: "%{quote_include_paths}"
1142 iterate_over: "quote_include_paths"
1143 }
1144 flag_group {
1145 flag: "-I%{include_paths}"
1146 iterate_over: "include_paths"
1147 }
1148 flag_group {
1149 flag: "-I"
1150 flag: "%{system_include_paths}"
1151 iterate_over: "system_include_paths"
1152 }
1153 }
1154 }
1155}
1156toolchain {
1157 toolchain_identifier: "cortex-m4f-k22"
1158 host_system_name: "local"
1159 target_system_name: "cortex-m4f-k22"
1160 target_cpu: "cortex-m4f-k22"
1161 target_libc: "cortex-m4f-k22"
1162 compiler: "gcc"
1163 abi_version: "cortex-m4f-k22"
1164 abi_libc_version: "cortex-m4f-k22"
1165 tool_path {
1166 name: "ar"
1167 path: "gcc_arm_none_eabi/arm-none-eabi-ar"
1168 }
1169 tool_path {
1170 name: "compat-ld"
1171 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1172 }
1173 tool_path {
1174 name: "cpp"
1175 path: "gcc_arm_none_eabi/arm-none-eabi-cpp"
1176 }
1177 tool_path {
1178 name: "dwp"
1179 path: "gcc_arm_none_eabi/arm-none-eabi-dwp"
1180 }
1181 tool_path {
1182 name: "gcc"
1183 path: "gcc_arm_none_eabi/arm-none-eabi-gcc"
1184 }
1185 tool_path {
1186 name: "gcov"
1187 path: "gcc_arm_none_eabi/arm-none-eabi-gcov"
1188 }
1189 tool_path {
1190 name: "ld"
1191 path: "gcc_arm_none_eabi/arm-none-eabi-ld"
1192 }
1193 tool_path {
1194 name: "nm"
1195 path: "gcc_arm_none_eabi/arm-none-eabi-nm"
1196 }
1197 tool_path {
1198 name: "objcopy"
1199 path: "gcc_arm_none_eabi/arm-none-eabi-objcopy"
1200 }
1201 tool_path {
1202 name: "objdump"
1203 path: "gcc_arm_none_eabi/arm-none-eabi-objdump"
1204 }
1205 tool_path {
1206 name: "strip"
1207 path: "gcc_arm_none_eabi/arm-none-eabi-strip"
1208 }
1209 supports_gold_linker: false
1210 supports_thin_archives: false
1211 needsPic: false
1212 compiler_flag: "-D__STDC_FORMAT_MACROS"
1213 compiler_flag: "-D__STDC_CONSTANT_MACROS"
1214 compiler_flag: "-D__STDC_LIMIT_MACROS"
1215 compiler_flag: "-D__MK22FX512__"
1216 compiler_flag: "-DF_CPU=120000000"
1217 compiler_flag: "-Wl,--gc-sections"
1218 compiler_flag: "-D__have_long32"
1219 compiler_flag: "-fstack-protector"
1220 compiler_flag: "-mcpu=cortex-m4"
1221 compiler_flag: "-mfpu=fpv4-sp-d16"
1222 compiler_flag: "-mthumb"
1223 compiler_flag: "-mfloat-abi=hard"
1224 compiler_flag: "-fno-strict-aliasing"
1225 compiler_flag: "-fmessage-length=80"
1226 compiler_flag: "-fmax-errors=20"
1227 compiler_flag: "-Wall"
1228 compiler_flag: "-Wextra"
1229 compiler_flag: "-Wpointer-arith"
1230 compiler_flag: "-Wcast-qual"
1231 compiler_flag: "-Wwrite-strings"
1232 compiler_flag: "-Wtype-limits"
1233 compiler_flag: "-Wsign-compare"
1234 compiler_flag: "-Wformat=2"
1235 compiler_flag: "-Werror"
1236 compiler_flag: "-Wstrict-aliasing=2"
1237 compiler_flag: "-Wno-misleading-indentation"
1238 compiler_flag: "-Wno-int-in-bool-context"
1239 compiler_flag: "-Wdouble-promotion"
1240 compiler_flag: "-pipe"
1241 compiler_flag: "-g"
1242 compiler_flag: "-fno-common"
1243 compiler_flag: "-ffreestanding"
1244 compiler_flag: "-fbuiltin"
1245 linker_flag: "-no-canonical-prefixes"
1246 linker_flag: "-mcpu=cortex-m4"
1247 linker_flag: "-mfpu=fpv4-sp-d16"
1248 linker_flag: "-mthumb"
1249 linker_flag: "-mfloat-abi=hard"
1250 linker_flag: "-fno-strict-aliasing"
1251 linker_flag: "--specs=nano.specs"
1252 linker_flag: "-lgcc"
1253 linker_flag: "-lstdc++_nano"
1254 linker_flag: "-lm"
1255 linker_flag: "-lc_nano"
Brian Silvermand4dc1262018-09-23 16:50:34 -07001256 linker_flag: "-Tmotors/core/kinetis_512_128.ld"
1257 linker_flag: "-Tmotors/core/kinetis_sections.ld"
Brian Silverman6c8b88b2018-09-03 18:17:02 -07001258 objcopy_embed_flag: "-I"
1259 objcopy_embed_flag: "binary"
1260 compilation_mode_flags {
1261 mode: OPT
1262 compiler_flag: "-O2"
1263 compiler_flag: "-finline-functions"
1264 compiler_flag: "-ffast-math"
1265 compiler_flag: "-funroll-loops"
1266 compiler_flag: "-DNDEBUG"
1267 compiler_flag: "-ffunction-sections"
1268 linker_flag: "-Wl,--gc-sections"
1269 }
1270 linking_mode_flags {
1271 mode: FULLY_STATIC
1272 }
1273 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include"
1274 cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed"
1275 cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include"
1276 cxx_builtin_include_directory: "/usr/include/newlib"
1277 builtin_sysroot: ""
1278 unfiltered_cxx_flag: "-no-canonical-prefixes"
1279 unfiltered_cxx_flag: "-Wno-builtin-macro-redefined"
1280 unfiltered_cxx_flag: "-D__DATE__=\"redacted\""
1281 unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\""
1282 unfiltered_cxx_flag: "-D__TIME__=\"redacted\""
1283 supports_normalizing_ar: false
1284 supports_start_end_lib: false
1285 supports_interface_shared_objects: false
1286 supports_incremental_linker: false
1287 supports_fission: false
1288 feature {
1289 name: "dbg"
1290 flag_set {
1291 action: "preprocess-assemble"
1292 action: "c-compile"
1293 action: "c++-compile"
1294 action: "c++-header-parsing"
1295 action: "c++-header-preprocessing"
1296 action: "c++-module-compile"
1297 flag_group {
1298 flag: "-fno-omit-frame-pointer"
1299 }
1300 }
1301 implies: "all_modes"
1302 }
1303 feature {
1304 name: "opt"
1305 implies: "all_modes"
1306 }
1307 feature {
1308 name: "fastbuild"
1309 implies: "all_modes"
1310 }
1311 feature {
1312 name: "all_modes"
1313 flag_set {
1314 action: "preprocess-assemble"
1315 action: "assemble"
1316 action: "c-compile"
1317 flag_group {
1318 flag: "--std=gnu99"
1319 }
1320 }
1321 flag_set {
1322 action: "c++-compile"
1323 action: "c++-header-parsing"
1324 action: "c++-header-preprocessing"
1325 action: "c++-module-compile"
1326 flag_group {
1327 flag: "--std=gnu++1y"
Brian Silverman8b638692017-06-26 23:10:26 -07001328 flag: "-fno-exceptions"
1329 flag: "-fno-rtti"
1330 }
1331 }
1332 }
Brian Silverman8b638692017-06-26 23:10:26 -07001333 feature {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001334 name: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001335 flag_set {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001336 action: "preprocess-assemble"
1337 action: "c-compile"
1338 action: "c++-compile"
1339 action: "c++-header-parsing"
1340 action: "c++-header-preprocessing"
1341 action: "c++-module-compile"
Brian Silverman8b638692017-06-26 23:10:26 -07001342 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001343 flag: "-iquote"
1344 flag: "%{quote_include_paths}"
1345 iterate_over: "quote_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001346 }
1347 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001348 flag: "-I%{include_paths}"
1349 iterate_over: "include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001350 }
1351 flag_group {
Brian Silverman7b8899e2018-06-30 19:19:24 -07001352 flag: "-I"
1353 flag: "%{system_include_paths}"
1354 iterate_over: "system_include_paths"
Brian Silverman8b638692017-06-26 23:10:26 -07001355 }
1356 }
1357 }
1358}