Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1 | # GENERATED FILE. DO NOT EDIT |
| 2 | # Generated by tools/cpp/gen_crosstool.py |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 3 | major_version: "local" |
| 4 | minor_version: "" |
| 5 | default_target_cpu: "same_as_host" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 6 | default_toolchain { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 7 | cpu: "roborio" |
| 8 | toolchain_identifier: "roborio_linux" |
| 9 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 10 | default_toolchain { |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 11 | cpu: "k8" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 12 | toolchain_identifier: "k8_linux" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 13 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 14 | default_toolchain { |
| 15 | cpu: "armeabi-v7a" |
| 16 | toolchain_identifier: "stub_armeabi-v7a" |
| 17 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 18 | default_toolchain { |
| 19 | cpu: "armhf-debian" |
| 20 | toolchain_identifier: "clang_linux_armhf" |
| 21 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 22 | default_toolchain { |
| 23 | cpu: "cortex-m4f" |
| 24 | toolchain_identifier: "cortex-m4f" |
| 25 | } |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 26 | default_toolchain { |
| 27 | cpu: "cortex-m4f-k22" |
| 28 | toolchain_identifier: "cortex-m4f-k22" |
| 29 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 30 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 31 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 37 | abi_version: "armeabi-v7a" |
| 38 | abi_libc_version: "armeabi-v7a" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 39 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 83 | supports_gold_linker: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 84 | supports_thin_archives: false |
| 85 | needsPic: true |
| 86 | builtin_sysroot: "" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 87 | supports_normalizing_ar: false |
| 88 | supports_start_end_lib: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 89 | supports_interface_shared_objects: false |
| 90 | supports_incremental_linker: false |
| 91 | supports_fission: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 92 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 93 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 94 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 100 | abi_version: "local" |
| 101 | abi_libc_version: "local" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 102 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 146 | supports_gold_linker: false |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 147 | supports_thin_archives: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 148 | needsPic: true |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 149 | compiler_flag: "--sysroot=external/clang_3p6_repo/" |
| 150 | compiler_flag: "-nostdinc" |
| 151 | compiler_flag: "-isystem" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 152 | compiler_flag: "external/clang_3p6_repo/usr/include" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 153 | compiler_flag: "-isystem" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 154 | compiler_flag: "external/clang_3p6_repo/usr/include/x86_64-linux-gnu" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 155 | compiler_flag: "-isystem" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 156 | 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 Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 183 | 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 Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 189 | linker_flag: "-nodefaultlibs" |
| 190 | linker_flag: "--sysroot=external/clang_3p6_repo/" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 191 | linker_flag: "-lstdc++" |
Philipp Schrader | 9b1790e | 2018-03-10 20:21:30 -0800 | [diff] [blame] | 192 | 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 Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 200 | 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 Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 240 | feature { |
| 241 | name: "opt" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 242 | 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 Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 253 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 254 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 255 | feature { |
| 256 | name: "dbg" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 257 | 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 Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 267 | flag_group { |
| 268 | flag: "-fno-omit-frame-pointer" |
| 269 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 270 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 271 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 272 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 273 | feature { |
| 274 | name: "fastbuild" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 275 | 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 Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 286 | implies: "all_modes" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 287 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 288 | feature { |
| 289 | name: "all_modes" |
| 290 | flag_set { |
Austin Schuh | a20ae72 | 2015-11-01 12:29:38 -0800 | [diff] [blame] | 291 | action: "preprocess-assemble" |
| 292 | action: "assemble" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 293 | 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 Schuh | a20ae72 | 2015-11-01 12:29:38 -0800 | [diff] [blame] | 304 | flag: "-std=gnu++1y" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 305 | } |
Brian Silverman | 23a1b34 | 2015-10-11 23:44:09 -0400 | [diff] [blame] | 306 | } |
| 307 | flag_set { |
| 308 | action: "preprocess-assemble" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 309 | action: "assemble" |
| 310 | action: "c++-link" |
Brian Silverman | 23a1b34 | 2015-10-11 23:44:09 -0400 | [diff] [blame] | 311 | action: "c++-compile" |
| 312 | action: "c++-header-parsing" |
| 313 | action: "c++-header-preprocessing" |
| 314 | action: "c++-module-compile" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 315 | action: "c-compile" |
Brian Silverman | 5dc0007 | 2015-10-12 00:38:14 -0400 | [diff] [blame] | 316 | flag_group { |
Brian Silverman | 5dc0007 | 2015-10-12 00:38:14 -0400 | [diff] [blame] | 317 | flag: "-pthread" |
| 318 | } |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 319 | } |
| 320 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 321 | 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 | } |
| 332 | toolchain { |
| 333 | toolchain_identifier: "roborio_linux" |
| 334 | host_system_name: "roborio" |
| 335 | target_system_name: "roborio" |
| 336 | target_cpu: "roborio" |
| 337 | target_libc: "roborio" |
| 338 | compiler: "gcc" |
| 339 | abi_version: "roborio" |
| 340 | abi_libc_version: "roborio" |
| 341 | tool_path { |
| 342 | name: "ar" |
| 343 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ar" |
| 344 | } |
| 345 | tool_path { |
| 346 | name: "compat-ld" |
| 347 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" |
| 348 | } |
| 349 | tool_path { |
| 350 | name: "cpp" |
| 351 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-cpp" |
| 352 | } |
| 353 | tool_path { |
| 354 | name: "dwp" |
| 355 | path: "/bin/false" |
| 356 | } |
| 357 | tool_path { |
| 358 | name: "gcc" |
| 359 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcc" |
| 360 | } |
| 361 | tool_path { |
| 362 | name: "gcov" |
| 363 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" |
| 364 | } |
| 365 | tool_path { |
| 366 | name: "ld" |
| 367 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-ld" |
| 368 | } |
| 369 | tool_path { |
| 370 | name: "nm" |
| 371 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-nm" |
| 372 | } |
| 373 | tool_path { |
| 374 | name: "objcopy" |
| 375 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objcopy" |
| 376 | } |
| 377 | tool_path { |
| 378 | name: "objdump" |
| 379 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-objdump" |
| 380 | } |
| 381 | tool_path { |
| 382 | name: "strip" |
| 383 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-strip" |
| 384 | } |
| 385 | supports_gold_linker: false |
| 386 | supports_thin_archives: false |
| 387 | needsPic: true |
| 388 | compiler_flag: "--sysroot=external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi" |
| 389 | compiler_flag: "-nostdinc" |
| 390 | compiler_flag: "-isystem" |
| 391 | compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include" |
| 392 | compiler_flag: "-isystem" |
| 393 | compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed" |
| 394 | compiler_flag: "-isystem" |
| 395 | compiler_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/usr/include" |
| 396 | compiler_flag: "-mfpu=neon" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 397 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 398 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 399 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 400 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 401 | compiler_flag: "-DAOS_ARCHITECTURE_arm_frc" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 402 | compiler_flag: "-U_FORTIFY_SOURCE" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 403 | compiler_flag: "-fstack-protector" |
| 404 | compiler_flag: "-fPIE" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 405 | compiler_flag: "-fdiagnostics-color=always" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 406 | compiler_flag: "-Wall" |
| 407 | compiler_flag: "-Wextra" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 408 | compiler_flag: "-Wpointer-arith" |
Brian Silverman | 594be0d | 2015-10-31 17:56:23 -0400 | [diff] [blame] | 409 | compiler_flag: "-Wstrict-aliasing" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 410 | compiler_flag: "-Wcast-qual" |
| 411 | compiler_flag: "-Wcast-align" |
| 412 | compiler_flag: "-Wwrite-strings" |
| 413 | compiler_flag: "-Wtype-limits" |
| 414 | compiler_flag: "-Wsign-compare" |
| 415 | compiler_flag: "-Wformat=2" |
| 416 | compiler_flag: "-Werror" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 417 | compiler_flag: "-Wunused-local-typedefs" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 418 | compiler_flag: "-fno-omit-frame-pointer" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 419 | compiler_flag: "-D__has_feature(x)=0" |
Brian Silverman | 12b3fc5 | 2015-10-11 19:38:33 -0400 | [diff] [blame] | 420 | compiler_flag: "-pipe" |
Brian Silverman | d254040 | 2015-11-28 18:35:00 -0500 | [diff] [blame] | 421 | compiler_flag: "-ggdb3" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 422 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 423 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 424 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 425 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0/arm-frc-linux-gnueabi" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 426 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 427 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include/c++/5.4.0/backward" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 428 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 429 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 430 | cxx_flag: "-isystem" |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 431 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 432 | cxx_flag: "-isystem" |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 433 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/include" |
Austin Schuh | 044e18b | 2015-10-21 20:17:09 -0700 | [diff] [blame] | 434 | cxx_flag: "-isystem" |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 435 | cxx_flag: "external/arm_frc_linux_gnueabi_repo/usr/arm-frc-linux-gnueabi/usr/include" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 436 | linker_flag: "-lstdc++" |
| 437 | linker_flag: "-Ltools/cpp/arm-frc-linux-gnueabi/libs" |
| 438 | linker_flag: "-no-canonical-prefixes" |
| 439 | linker_flag: "-Wl,-z,relro,-z,now" |
| 440 | linker_flag: "-lm" |
| 441 | linker_flag: "-pass-exit-codes" |
| 442 | linker_flag: "-Wl,--build-id=md5" |
| 443 | linker_flag: "-Wl,--hash-style=gnu" |
| 444 | objcopy_embed_flag: "-I" |
| 445 | objcopy_embed_flag: "binary" |
| 446 | compilation_mode_flags { |
| 447 | mode: OPT |
| 448 | compiler_flag: "-O2" |
| 449 | compiler_flag: "-DNDEBUG" |
| 450 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 451 | compiler_flag: "-ffunction-sections" |
| 452 | compiler_flag: "-fdata-sections" |
| 453 | linker_flag: "-Wl,--gc-sections" |
| 454 | } |
| 455 | linking_mode_flags { |
| 456 | mode: DYNAMIC |
| 457 | } |
Austin Schuh | 94f51e9 | 2017-10-30 19:25:32 -0700 | [diff] [blame] | 458 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0" |
| 459 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0/arm-frc-linux-gnueabi" |
| 460 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%/c++/5.4.0/backward" |
| 461 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include)%" |
| 462 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/lib/x86_64-linux-gnu/gcc/arm-frc-linux-gnueabi/5.4.0/include-fixed)%" |
Brian Silverman | 826e1cd | 2016-01-31 18:26:00 -0500 | [diff] [blame] | 463 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/include)%" |
| 464 | cxx_builtin_include_directory: "%package(@arm_frc_linux_gnueabi_repo//usr/arm-frc-linux-gnueabi/usr/include)%" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 465 | builtin_sysroot: "" |
| 466 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 467 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 468 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 469 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 470 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 471 | supports_normalizing_ar: false |
| 472 | supports_start_end_lib: false |
| 473 | supports_interface_shared_objects: false |
| 474 | supports_incremental_linker: false |
| 475 | supports_fission: false |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 476 | feature { |
| 477 | name: "opt" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 478 | flag_set { |
| 479 | action: "preprocess-assemble" |
| 480 | action: "c-compile" |
| 481 | action: "c++-compile" |
| 482 | action: "c++-header-parsing" |
| 483 | action: "c++-header-preprocessing" |
| 484 | action: "c++-module-compile" |
| 485 | flag_group { |
| 486 | flag: "-DAOS_DEBUG=0" |
| 487 | } |
| 488 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 489 | implies: "all_modes" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 490 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 491 | feature { |
| 492 | name: "dbg" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 493 | flag_set { |
| 494 | action: "preprocess-assemble" |
| 495 | action: "c-compile" |
| 496 | action: "c++-compile" |
| 497 | action: "c++-header-parsing" |
| 498 | action: "c++-header-preprocessing" |
| 499 | action: "c++-module-compile" |
| 500 | flag_group { |
| 501 | flag: "-DAOS_DEBUG=1" |
| 502 | } |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 503 | flag_group { |
| 504 | flag: "-fno-omit-frame-pointer" |
| 505 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 506 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 507 | implies: "all_modes" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 508 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 509 | feature { |
| 510 | name: "fastbuild" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 511 | flag_set { |
| 512 | action: "preprocess-assemble" |
| 513 | action: "c-compile" |
| 514 | action: "c++-compile" |
| 515 | action: "c++-header-parsing" |
| 516 | action: "c++-header-preprocessing" |
| 517 | action: "c++-module-compile" |
| 518 | flag_group { |
| 519 | flag: "-DAOS_DEBUG=0" |
| 520 | } |
| 521 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 522 | implies: "all_modes" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 523 | } |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 524 | feature { |
| 525 | name: "all_modes" |
| 526 | flag_set { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 527 | action: "preprocess-assemble" |
| 528 | action: "assemble" |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 529 | action: "c-compile" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 530 | flag_group { |
| 531 | flag: "-std=gnu99" |
| 532 | } |
| 533 | } |
| 534 | flag_set { |
| 535 | action: "c++-compile" |
| 536 | action: "c++-header-parsing" |
| 537 | action: "c++-header-preprocessing" |
| 538 | action: "c++-module-compile" |
| 539 | flag_group { |
| 540 | flag: "-std=gnu++1y" |
| 541 | } |
| 542 | } |
| 543 | flag_set { |
| 544 | action: "preprocess-assemble" |
| 545 | action: "assemble" |
| 546 | action: "c++-link" |
| 547 | action: "c++-compile" |
| 548 | action: "c++-header-parsing" |
| 549 | action: "c++-header-preprocessing" |
| 550 | action: "c++-module-compile" |
| 551 | action: "c-compile" |
| 552 | flag_group { |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 553 | flag: "-pthread" |
| 554 | } |
| 555 | } |
| 556 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 557 | feature { |
| 558 | name: "pie_for_linking" |
| 559 | flag_set { |
| 560 | action: "c++-link-executable" |
| 561 | flag_group { |
| 562 | flag: "-pie" |
| 563 | } |
| 564 | } |
| 565 | enabled: true |
| 566 | } |
| 567 | } |
| 568 | toolchain { |
| 569 | toolchain_identifier: "clang_linux_armhf" |
| 570 | host_system_name: "linux" |
| 571 | target_system_name: "arm_a15" |
| 572 | target_cpu: "armhf-debian" |
| 573 | target_libc: "glibc_2.19" |
| 574 | compiler: "clang" |
| 575 | abi_version: "clang_3.6" |
| 576 | abi_libc_version: "glibc_2.19" |
| 577 | tool_path { |
| 578 | name: "ar" |
| 579 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ar" |
| 580 | } |
| 581 | tool_path { |
| 582 | name: "compat-ld" |
| 583 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ld" |
| 584 | } |
| 585 | tool_path { |
| 586 | name: "cpp" |
| 587 | path: "linaro_linux_gcc/clang_bin/clang" |
| 588 | } |
| 589 | tool_path { |
| 590 | name: "dwp" |
| 591 | path: "linaro_linux_gcc/arm-linux-gnueabihf-dwp" |
| 592 | } |
| 593 | tool_path { |
| 594 | name: "gcc" |
| 595 | path: "linaro_linux_gcc/clang_bin/clang" |
| 596 | } |
| 597 | tool_path { |
| 598 | name: "gcov" |
| 599 | path: "arm-frc-linux-gnueabi/arm-frc-linux-gnueabi-gcov-4.9" |
| 600 | } |
| 601 | tool_path { |
| 602 | name: "ld" |
| 603 | path: "linaro_linux_gcc/arm-linux-gnueabihf-ld" |
| 604 | } |
| 605 | tool_path { |
| 606 | name: "nm" |
| 607 | path: "linaro_linux_gcc/arm-linux-gnueabihf-nm" |
| 608 | } |
| 609 | tool_path { |
| 610 | name: "objcopy" |
| 611 | path: "linaro_linux_gcc/arm-linux-gnueabihf-objcopy" |
| 612 | } |
| 613 | tool_path { |
| 614 | name: "objdump" |
| 615 | path: "linaro_linux_gcc/arm-linux-gnueabihf-objdump" |
| 616 | } |
| 617 | tool_path { |
| 618 | name: "strip" |
| 619 | path: "linaro_linux_gcc/arm-linux-gnueabihf-strip" |
| 620 | } |
| 621 | supports_gold_linker: false |
| 622 | supports_thin_archives: true |
| 623 | needsPic: true |
| 624 | compiler_flag: "-target" |
| 625 | compiler_flag: "armv7a-arm-linux-gnueabif" |
| 626 | compiler_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc" |
| 627 | compiler_flag: "-mfloat-abi=hard" |
| 628 | compiler_flag: "-mfpu=vfpv3-d16" |
| 629 | compiler_flag: "-nostdinc" |
| 630 | compiler_flag: "-isystem" |
| 631 | compiler_flag: "/usr/lib/clang/3.6/include" |
| 632 | compiler_flag: "-isystem" |
| 633 | compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include" |
| 634 | compiler_flag: "-isystem" |
| 635 | compiler_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/include" |
| 636 | compiler_flag: "-isystem" |
| 637 | compiler_flag: "external/linaro_linux_gcc_4_9_repo/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 638 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 639 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 640 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 641 | compiler_flag: "-D_FILE_OFFSET_BITS=64" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 642 | compiler_flag: "-DAOS_ARCHITECTURE_armhf" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 643 | compiler_flag: "-U_FORTIFY_SOURCE" |
| 644 | compiler_flag: "-fstack-protector" |
| 645 | compiler_flag: "-fPIE" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 646 | compiler_flag: "-fdiagnostics-color=always" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 647 | compiler_flag: "-Wall" |
| 648 | compiler_flag: "-Wextra" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 649 | compiler_flag: "-Wpointer-arith" |
Brian Silverman | 594be0d | 2015-10-31 17:56:23 -0400 | [diff] [blame] | 650 | compiler_flag: "-Wstrict-aliasing" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 651 | compiler_flag: "-Wcast-qual" |
| 652 | compiler_flag: "-Wcast-align" |
| 653 | compiler_flag: "-Wwrite-strings" |
| 654 | compiler_flag: "-Wtype-limits" |
| 655 | compiler_flag: "-Wsign-compare" |
| 656 | compiler_flag: "-Wformat=2" |
| 657 | compiler_flag: "-Werror" |
Brian Silverman | a4a4ea6 | 2015-11-27 10:27:53 -0500 | [diff] [blame] | 658 | compiler_flag: "-Wunused-local-typedefs" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 659 | compiler_flag: "-fno-omit-frame-pointer" |
Austin Schuh | 23da18b | 2015-10-11 20:52:49 -0700 | [diff] [blame] | 660 | compiler_flag: "-pipe" |
Brian Silverman | d254040 | 2015-11-28 18:35:00 -0500 | [diff] [blame] | 661 | compiler_flag: "-ggdb3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 662 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 663 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3/arm-linux-gnueabihf" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 664 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 665 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/include/c++/4.9.3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 666 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 667 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3/arm-linux-gnueabihf" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 668 | cxx_flag: "-isystem" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 669 | cxx_flag: "external/linaro_linux_gcc_4_9_repo/include/c++/4.9.3" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 670 | linker_flag: "-target" |
| 671 | linker_flag: "armv7a-arm-linux-gnueabif" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 672 | linker_flag: "--sysroot=external/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 673 | linker_flag: "-lstdc++" |
| 674 | linker_flag: "-Ltools/cpp/linaro_linux_gcc/clang_more_libs" |
Austin Schuh | 6166083 | 2016-03-04 21:56:39 -0800 | [diff] [blame] | 675 | linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/lib" |
| 676 | linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/lib" |
| 677 | linker_flag: "-Lexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/libc/usr/lib" |
| 678 | linker_flag: "-Bexternal/linaro_linux_gcc_4_9_repo/arm-linux-gnueabihf/bin" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 679 | linker_flag: "-Wl,--dynamic-linker=/lib/ld-linux-armhf.so.3" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 680 | linker_flag: "-no-canonical-prefixes" |
| 681 | linker_flag: "-Wl,-z,relro,-z,now" |
| 682 | linker_flag: "-lm" |
| 683 | linker_flag: "-Wl,--build-id=md5" |
| 684 | linker_flag: "-Wl,--hash-style=gnu" |
| 685 | objcopy_embed_flag: "-I" |
| 686 | objcopy_embed_flag: "binary" |
| 687 | compilation_mode_flags { |
| 688 | mode: OPT |
| 689 | compiler_flag: "-O2" |
| 690 | compiler_flag: "-DNDEBUG" |
| 691 | compiler_flag: "-D_FORTIFY_SOURCE=1" |
| 692 | compiler_flag: "-ffunction-sections" |
| 693 | compiler_flag: "-fdata-sections" |
| 694 | linker_flag: "-Wl,--gc-sections" |
| 695 | } |
| 696 | linking_mode_flags { |
| 697 | mode: DYNAMIC |
| 698 | } |
| 699 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%" |
| 700 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/include)%" |
| 701 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/usr/lib/include)%" |
| 702 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%" |
| 703 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//include)%/c++/4.9.3" |
| 704 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include)%" |
| 705 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/libc/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%" |
| 706 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include)%" |
| 707 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed)%" |
| 708 | cxx_builtin_include_directory: "%package(@linaro_linux_gcc_4_9_repo//arm-linux-gnueabihf/include)%/c++/4.9.3" |
| 709 | cxx_builtin_include_directory: "/usr/lib/clang/3.6/include" |
| 710 | builtin_sysroot: "" |
| 711 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 712 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 713 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 714 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 715 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 716 | supports_normalizing_ar: true |
| 717 | supports_start_end_lib: false |
| 718 | supports_interface_shared_objects: false |
| 719 | supports_incremental_linker: false |
| 720 | supports_fission: false |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 721 | feature { |
| 722 | name: "opt" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 723 | flag_set { |
| 724 | action: "preprocess-assemble" |
| 725 | action: "c-compile" |
| 726 | action: "c++-compile" |
| 727 | action: "c++-header-parsing" |
| 728 | action: "c++-header-preprocessing" |
| 729 | action: "c++-module-compile" |
| 730 | flag_group { |
| 731 | flag: "-DAOS_DEBUG=0" |
| 732 | } |
| 733 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 734 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 735 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 736 | feature { |
| 737 | name: "dbg" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 738 | flag_set { |
| 739 | action: "preprocess-assemble" |
| 740 | action: "c-compile" |
| 741 | action: "c++-compile" |
| 742 | action: "c++-header-parsing" |
| 743 | action: "c++-header-preprocessing" |
| 744 | action: "c++-module-compile" |
| 745 | flag_group { |
| 746 | flag: "-DAOS_DEBUG=1" |
| 747 | } |
| 748 | flag_group { |
| 749 | flag: "-fno-omit-frame-pointer" |
| 750 | } |
| 751 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 752 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 753 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 754 | feature { |
| 755 | name: "fastbuild" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 756 | flag_set { |
| 757 | action: "preprocess-assemble" |
| 758 | action: "c-compile" |
| 759 | action: "c++-compile" |
| 760 | action: "c++-header-parsing" |
| 761 | action: "c++-header-preprocessing" |
| 762 | action: "c++-module-compile" |
| 763 | flag_group { |
| 764 | flag: "-DAOS_DEBUG=0" |
| 765 | } |
| 766 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 767 | implies: "all_modes" |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 768 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 769 | feature { |
| 770 | name: "all_modes" |
| 771 | flag_set { |
| 772 | action: "preprocess-assemble" |
| 773 | action: "assemble" |
| 774 | action: "c-compile" |
| 775 | flag_group { |
| 776 | flag: "-std=gnu99" |
| 777 | } |
| 778 | } |
| 779 | flag_set { |
| 780 | action: "c++-compile" |
| 781 | action: "c++-header-parsing" |
| 782 | action: "c++-header-preprocessing" |
| 783 | action: "c++-module-compile" |
| 784 | flag_group { |
| 785 | flag: "-std=gnu++1y" |
| 786 | } |
| 787 | } |
| 788 | flag_set { |
| 789 | action: "preprocess-assemble" |
| 790 | action: "assemble" |
| 791 | action: "c++-link" |
| 792 | action: "c++-compile" |
| 793 | action: "c++-header-parsing" |
| 794 | action: "c++-header-preprocessing" |
| 795 | action: "c++-module-compile" |
| 796 | action: "c-compile" |
| 797 | flag_group { |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 798 | flag: "-pthread" |
| 799 | } |
| 800 | } |
| 801 | } |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 802 | feature { |
| 803 | name: "pie_for_linking" |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 804 | flag_set { |
| 805 | action: "c++-link-executable" |
| 806 | flag_group { |
| 807 | flag: "-pie" |
| 808 | } |
| 809 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 810 | enabled: true |
Austin Schuh | 137d945 | 2018-07-07 15:42:36 -0700 | [diff] [blame] | 811 | } |
Brian Silverman | 0d57fc8 | 2016-01-24 21:02:53 -0500 | [diff] [blame] | 812 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 813 | toolchain { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 814 | toolchain_identifier: "cortex-m4f" |
| 815 | host_system_name: "local" |
| 816 | target_system_name: "cortex-m4f" |
| 817 | target_cpu: "cortex-m4f" |
| 818 | target_libc: "cortex-m4f" |
| 819 | compiler: "gcc" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 820 | abi_version: "cortex-m4f" |
| 821 | abi_libc_version: "cortex-m4f" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 822 | tool_path { |
| 823 | name: "ar" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 824 | path: "gcc_arm_none_eabi/arm-none-eabi-ar" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 825 | } |
| 826 | tool_path { |
| 827 | name: "compat-ld" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 828 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 829 | } |
| 830 | tool_path { |
| 831 | name: "cpp" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 832 | path: "gcc_arm_none_eabi/arm-none-eabi-cpp" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 833 | } |
| 834 | tool_path { |
| 835 | name: "dwp" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 836 | path: "gcc_arm_none_eabi/arm-none-eabi-dwp" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 837 | } |
| 838 | tool_path { |
| 839 | name: "gcc" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 840 | path: "gcc_arm_none_eabi/arm-none-eabi-gcc" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 841 | } |
| 842 | tool_path { |
| 843 | name: "gcov" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 844 | path: "gcc_arm_none_eabi/arm-none-eabi-gcov" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 845 | } |
| 846 | tool_path { |
| 847 | name: "ld" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 848 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 849 | } |
| 850 | tool_path { |
| 851 | name: "nm" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 852 | path: "gcc_arm_none_eabi/arm-none-eabi-nm" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 853 | } |
| 854 | tool_path { |
| 855 | name: "objcopy" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 856 | path: "gcc_arm_none_eabi/arm-none-eabi-objcopy" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 857 | } |
| 858 | tool_path { |
| 859 | name: "objdump" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 860 | path: "gcc_arm_none_eabi/arm-none-eabi-objdump" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 861 | } |
| 862 | tool_path { |
| 863 | name: "strip" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 864 | path: "gcc_arm_none_eabi/arm-none-eabi-strip" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 865 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 866 | supports_gold_linker: false |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 867 | supports_thin_archives: false |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 868 | needsPic: false |
| 869 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 870 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 871 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 872 | compiler_flag: "-D__MK64FX512__" |
| 873 | compiler_flag: "-DF_CPU=120000000" |
| 874 | compiler_flag: "-Wl,--gc-sections" |
| 875 | compiler_flag: "-D__have_long32" |
| 876 | compiler_flag: "-fstack-protector" |
| 877 | compiler_flag: "-mcpu=cortex-m4" |
| 878 | compiler_flag: "-mfpu=fpv4-sp-d16" |
| 879 | compiler_flag: "-mthumb" |
| 880 | compiler_flag: "-mfloat-abi=hard" |
| 881 | compiler_flag: "-fno-strict-aliasing" |
| 882 | compiler_flag: "-fmessage-length=80" |
| 883 | compiler_flag: "-fmax-errors=20" |
| 884 | compiler_flag: "-Wall" |
| 885 | compiler_flag: "-Wextra" |
| 886 | compiler_flag: "-Wpointer-arith" |
| 887 | compiler_flag: "-Wcast-qual" |
| 888 | compiler_flag: "-Wwrite-strings" |
| 889 | compiler_flag: "-Wtype-limits" |
| 890 | compiler_flag: "-Wsign-compare" |
| 891 | compiler_flag: "-Wformat=2" |
| 892 | compiler_flag: "-Werror" |
| 893 | compiler_flag: "-Wstrict-aliasing=2" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 894 | compiler_flag: "-Wno-misleading-indentation" |
| 895 | compiler_flag: "-Wno-int-in-bool-context" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 896 | compiler_flag: "-Wdouble-promotion" |
| 897 | compiler_flag: "-pipe" |
| 898 | compiler_flag: "-g" |
| 899 | compiler_flag: "-fno-common" |
| 900 | compiler_flag: "-ffreestanding" |
| 901 | compiler_flag: "-fbuiltin" |
| 902 | linker_flag: "-no-canonical-prefixes" |
| 903 | linker_flag: "-mcpu=cortex-m4" |
| 904 | linker_flag: "-mfpu=fpv4-sp-d16" |
| 905 | linker_flag: "-mthumb" |
| 906 | linker_flag: "-mfloat-abi=hard" |
| 907 | linker_flag: "-fno-strict-aliasing" |
| 908 | linker_flag: "--specs=nano.specs" |
| 909 | linker_flag: "-lgcc" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 910 | linker_flag: "-lstdc++_nano" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 911 | linker_flag: "-lm" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 912 | linker_flag: "-lc_nano" |
Brian Silverman | d4dc126 | 2018-09-23 16:50:34 -0700 | [diff] [blame^] | 913 | linker_flag: "-Tmotors/core/kinetis_512_256.ld" |
| 914 | linker_flag: "-Tmotors/core/kinetis_sections.ld" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 915 | objcopy_embed_flag: "-I" |
| 916 | objcopy_embed_flag: "binary" |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 917 | compilation_mode_flags { |
| 918 | mode: OPT |
| 919 | compiler_flag: "-O2" |
| 920 | compiler_flag: "-finline-functions" |
| 921 | compiler_flag: "-ffast-math" |
| 922 | compiler_flag: "-funroll-loops" |
| 923 | compiler_flag: "-DNDEBUG" |
| 924 | compiler_flag: "-ffunction-sections" |
| 925 | linker_flag: "-Wl,--gc-sections" |
| 926 | } |
| 927 | linking_mode_flags { |
| 928 | mode: FULLY_STATIC |
| 929 | } |
| 930 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include" |
| 931 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed" |
| 932 | cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include" |
| 933 | cxx_builtin_include_directory: "/usr/include/newlib" |
| 934 | builtin_sysroot: "" |
| 935 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 936 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 937 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 938 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 939 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 940 | supports_normalizing_ar: false |
| 941 | supports_start_end_lib: false |
| 942 | supports_interface_shared_objects: false |
| 943 | supports_incremental_linker: false |
| 944 | supports_fission: false |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 945 | feature { |
| 946 | name: "dbg" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 947 | flag_set { |
| 948 | action: "preprocess-assemble" |
| 949 | action: "c-compile" |
| 950 | action: "c++-compile" |
| 951 | action: "c++-header-parsing" |
| 952 | action: "c++-header-preprocessing" |
| 953 | action: "c++-module-compile" |
| 954 | flag_group { |
| 955 | flag: "-fno-omit-frame-pointer" |
| 956 | } |
| 957 | } |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 958 | implies: "all_modes" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 959 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 960 | feature { |
| 961 | name: "opt" |
| 962 | implies: "all_modes" |
| 963 | } |
| 964 | feature { |
| 965 | name: "fastbuild" |
| 966 | implies: "all_modes" |
| 967 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 968 | feature { |
| 969 | name: "all_modes" |
| 970 | flag_set { |
| 971 | action: "preprocess-assemble" |
| 972 | action: "assemble" |
| 973 | action: "c-compile" |
| 974 | flag_group { |
| 975 | flag: "--std=gnu99" |
| 976 | } |
| 977 | } |
| 978 | flag_set { |
| 979 | action: "c++-compile" |
| 980 | action: "c++-header-parsing" |
| 981 | action: "c++-header-preprocessing" |
| 982 | action: "c++-module-compile" |
| 983 | flag_group { |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 984 | flag: "--std=gnu++1y" |
| 985 | flag: "-fno-exceptions" |
| 986 | flag: "-fno-rtti" |
| 987 | } |
| 988 | } |
| 989 | } |
| 990 | feature { |
| 991 | name: "include_paths" |
| 992 | flag_set { |
| 993 | action: "preprocess-assemble" |
| 994 | action: "c-compile" |
| 995 | action: "c++-compile" |
| 996 | action: "c++-header-parsing" |
| 997 | action: "c++-header-preprocessing" |
| 998 | action: "c++-module-compile" |
| 999 | flag_group { |
| 1000 | flag: "-iquote" |
| 1001 | flag: "%{quote_include_paths}" |
| 1002 | iterate_over: "quote_include_paths" |
| 1003 | } |
| 1004 | flag_group { |
| 1005 | flag: "-I%{include_paths}" |
| 1006 | iterate_over: "include_paths" |
| 1007 | } |
| 1008 | flag_group { |
| 1009 | flag: "-I" |
| 1010 | flag: "%{system_include_paths}" |
| 1011 | iterate_over: "system_include_paths" |
| 1012 | } |
| 1013 | } |
| 1014 | } |
| 1015 | } |
| 1016 | toolchain { |
| 1017 | toolchain_identifier: "cortex-m4f-k22" |
| 1018 | host_system_name: "local" |
| 1019 | target_system_name: "cortex-m4f-k22" |
| 1020 | target_cpu: "cortex-m4f-k22" |
| 1021 | target_libc: "cortex-m4f-k22" |
| 1022 | compiler: "gcc" |
| 1023 | abi_version: "cortex-m4f-k22" |
| 1024 | abi_libc_version: "cortex-m4f-k22" |
| 1025 | tool_path { |
| 1026 | name: "ar" |
| 1027 | path: "gcc_arm_none_eabi/arm-none-eabi-ar" |
| 1028 | } |
| 1029 | tool_path { |
| 1030 | name: "compat-ld" |
| 1031 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
| 1032 | } |
| 1033 | tool_path { |
| 1034 | name: "cpp" |
| 1035 | path: "gcc_arm_none_eabi/arm-none-eabi-cpp" |
| 1036 | } |
| 1037 | tool_path { |
| 1038 | name: "dwp" |
| 1039 | path: "gcc_arm_none_eabi/arm-none-eabi-dwp" |
| 1040 | } |
| 1041 | tool_path { |
| 1042 | name: "gcc" |
| 1043 | path: "gcc_arm_none_eabi/arm-none-eabi-gcc" |
| 1044 | } |
| 1045 | tool_path { |
| 1046 | name: "gcov" |
| 1047 | path: "gcc_arm_none_eabi/arm-none-eabi-gcov" |
| 1048 | } |
| 1049 | tool_path { |
| 1050 | name: "ld" |
| 1051 | path: "gcc_arm_none_eabi/arm-none-eabi-ld" |
| 1052 | } |
| 1053 | tool_path { |
| 1054 | name: "nm" |
| 1055 | path: "gcc_arm_none_eabi/arm-none-eabi-nm" |
| 1056 | } |
| 1057 | tool_path { |
| 1058 | name: "objcopy" |
| 1059 | path: "gcc_arm_none_eabi/arm-none-eabi-objcopy" |
| 1060 | } |
| 1061 | tool_path { |
| 1062 | name: "objdump" |
| 1063 | path: "gcc_arm_none_eabi/arm-none-eabi-objdump" |
| 1064 | } |
| 1065 | tool_path { |
| 1066 | name: "strip" |
| 1067 | path: "gcc_arm_none_eabi/arm-none-eabi-strip" |
| 1068 | } |
| 1069 | supports_gold_linker: false |
| 1070 | supports_thin_archives: false |
| 1071 | needsPic: false |
| 1072 | compiler_flag: "-D__STDC_FORMAT_MACROS" |
| 1073 | compiler_flag: "-D__STDC_CONSTANT_MACROS" |
| 1074 | compiler_flag: "-D__STDC_LIMIT_MACROS" |
| 1075 | compiler_flag: "-D__MK22FX512__" |
| 1076 | compiler_flag: "-DF_CPU=120000000" |
| 1077 | compiler_flag: "-Wl,--gc-sections" |
| 1078 | compiler_flag: "-D__have_long32" |
| 1079 | compiler_flag: "-fstack-protector" |
| 1080 | compiler_flag: "-mcpu=cortex-m4" |
| 1081 | compiler_flag: "-mfpu=fpv4-sp-d16" |
| 1082 | compiler_flag: "-mthumb" |
| 1083 | compiler_flag: "-mfloat-abi=hard" |
| 1084 | compiler_flag: "-fno-strict-aliasing" |
| 1085 | compiler_flag: "-fmessage-length=80" |
| 1086 | compiler_flag: "-fmax-errors=20" |
| 1087 | compiler_flag: "-Wall" |
| 1088 | compiler_flag: "-Wextra" |
| 1089 | compiler_flag: "-Wpointer-arith" |
| 1090 | compiler_flag: "-Wcast-qual" |
| 1091 | compiler_flag: "-Wwrite-strings" |
| 1092 | compiler_flag: "-Wtype-limits" |
| 1093 | compiler_flag: "-Wsign-compare" |
| 1094 | compiler_flag: "-Wformat=2" |
| 1095 | compiler_flag: "-Werror" |
| 1096 | compiler_flag: "-Wstrict-aliasing=2" |
| 1097 | compiler_flag: "-Wno-misleading-indentation" |
| 1098 | compiler_flag: "-Wno-int-in-bool-context" |
| 1099 | compiler_flag: "-Wdouble-promotion" |
| 1100 | compiler_flag: "-pipe" |
| 1101 | compiler_flag: "-g" |
| 1102 | compiler_flag: "-fno-common" |
| 1103 | compiler_flag: "-ffreestanding" |
| 1104 | compiler_flag: "-fbuiltin" |
| 1105 | linker_flag: "-no-canonical-prefixes" |
| 1106 | linker_flag: "-mcpu=cortex-m4" |
| 1107 | linker_flag: "-mfpu=fpv4-sp-d16" |
| 1108 | linker_flag: "-mthumb" |
| 1109 | linker_flag: "-mfloat-abi=hard" |
| 1110 | linker_flag: "-fno-strict-aliasing" |
| 1111 | linker_flag: "--specs=nano.specs" |
| 1112 | linker_flag: "-lgcc" |
| 1113 | linker_flag: "-lstdc++_nano" |
| 1114 | linker_flag: "-lm" |
| 1115 | linker_flag: "-lc_nano" |
Brian Silverman | d4dc126 | 2018-09-23 16:50:34 -0700 | [diff] [blame^] | 1116 | linker_flag: "-Tmotors/core/kinetis_512_128.ld" |
| 1117 | linker_flag: "-Tmotors/core/kinetis_sections.ld" |
Brian Silverman | 6c8b88b | 2018-09-03 18:17:02 -0700 | [diff] [blame] | 1118 | objcopy_embed_flag: "-I" |
| 1119 | objcopy_embed_flag: "binary" |
| 1120 | compilation_mode_flags { |
| 1121 | mode: OPT |
| 1122 | compiler_flag: "-O2" |
| 1123 | compiler_flag: "-finline-functions" |
| 1124 | compiler_flag: "-ffast-math" |
| 1125 | compiler_flag: "-funroll-loops" |
| 1126 | compiler_flag: "-DNDEBUG" |
| 1127 | compiler_flag: "-ffunction-sections" |
| 1128 | linker_flag: "-Wl,--gc-sections" |
| 1129 | } |
| 1130 | linking_mode_flags { |
| 1131 | mode: FULLY_STATIC |
| 1132 | } |
| 1133 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include" |
| 1134 | cxx_builtin_include_directory: "/usr/lib/gcc/arm-none-eabi/4.8/include-fixed" |
| 1135 | cxx_builtin_include_directory: "/usr/lib/arm-none-eabi/include" |
| 1136 | cxx_builtin_include_directory: "/usr/include/newlib" |
| 1137 | builtin_sysroot: "" |
| 1138 | unfiltered_cxx_flag: "-no-canonical-prefixes" |
| 1139 | unfiltered_cxx_flag: "-Wno-builtin-macro-redefined" |
| 1140 | unfiltered_cxx_flag: "-D__DATE__=\"redacted\"" |
| 1141 | unfiltered_cxx_flag: "-D__TIMESTAMP__=\"redacted\"" |
| 1142 | unfiltered_cxx_flag: "-D__TIME__=\"redacted\"" |
| 1143 | supports_normalizing_ar: false |
| 1144 | supports_start_end_lib: false |
| 1145 | supports_interface_shared_objects: false |
| 1146 | supports_incremental_linker: false |
| 1147 | supports_fission: false |
| 1148 | feature { |
| 1149 | name: "dbg" |
| 1150 | flag_set { |
| 1151 | action: "preprocess-assemble" |
| 1152 | action: "c-compile" |
| 1153 | action: "c++-compile" |
| 1154 | action: "c++-header-parsing" |
| 1155 | action: "c++-header-preprocessing" |
| 1156 | action: "c++-module-compile" |
| 1157 | flag_group { |
| 1158 | flag: "-fno-omit-frame-pointer" |
| 1159 | } |
| 1160 | } |
| 1161 | implies: "all_modes" |
| 1162 | } |
| 1163 | feature { |
| 1164 | name: "opt" |
| 1165 | implies: "all_modes" |
| 1166 | } |
| 1167 | feature { |
| 1168 | name: "fastbuild" |
| 1169 | implies: "all_modes" |
| 1170 | } |
| 1171 | feature { |
| 1172 | name: "all_modes" |
| 1173 | flag_set { |
| 1174 | action: "preprocess-assemble" |
| 1175 | action: "assemble" |
| 1176 | action: "c-compile" |
| 1177 | flag_group { |
| 1178 | flag: "--std=gnu99" |
| 1179 | } |
| 1180 | } |
| 1181 | flag_set { |
| 1182 | action: "c++-compile" |
| 1183 | action: "c++-header-parsing" |
| 1184 | action: "c++-header-preprocessing" |
| 1185 | action: "c++-module-compile" |
| 1186 | flag_group { |
| 1187 | flag: "--std=gnu++1y" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1188 | flag: "-fno-exceptions" |
| 1189 | flag: "-fno-rtti" |
| 1190 | } |
| 1191 | } |
| 1192 | } |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1193 | feature { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1194 | name: "include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1195 | flag_set { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1196 | action: "preprocess-assemble" |
| 1197 | action: "c-compile" |
| 1198 | action: "c++-compile" |
| 1199 | action: "c++-header-parsing" |
| 1200 | action: "c++-header-preprocessing" |
| 1201 | action: "c++-module-compile" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1202 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1203 | flag: "-iquote" |
| 1204 | flag: "%{quote_include_paths}" |
| 1205 | iterate_over: "quote_include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1206 | } |
| 1207 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1208 | flag: "-I%{include_paths}" |
| 1209 | iterate_over: "include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1210 | } |
| 1211 | flag_group { |
Brian Silverman | 7b8899e | 2018-06-30 19:19:24 -0700 | [diff] [blame] | 1212 | flag: "-I" |
| 1213 | flag: "%{system_include_paths}" |
| 1214 | iterate_over: "system_include_paths" |
Brian Silverman | 8b63869 | 2017-06-26 23:10:26 -0700 | [diff] [blame] | 1215 | } |
| 1216 | } |
| 1217 | } |
| 1218 | } |