commit | 00e78348d1d06d11231662c10cbc69b1514f345f | [log] [tgz] |
---|---|---|
author | Philipp Schrader <philipp.schrader@gmail.com> | Sun Nov 08 10:33:22 2020 -0800 |
committer | Philipp Schrader <philipp.schrader@gmail.com> | Sun Nov 08 10:33:22 2020 -0800 |
tree | fd7c900aeda3c11a20fc23c02b156d587f96ac43 | |
parent | 7b0286a484a67d7f8e5beb1c575bce466abf2fe2 [diff] |
Fix hex_from_elf macro for newer bazel versions The `$(OBJCOPY)` make variable is only available if you explicitly depend on the C++ toolchain. Change-Id: Ic17dd6e858d11753b0b319818ccc7b3d40c9ba02
diff --git a/motors/macros.bzl b/motors/macros.bzl index 4f3cf17..6b15f00 100644 --- a/motors/macros.bzl +++ b/motors/macros.bzl
@@ -7,4 +7,5 @@ executable = True, output_to_bindir = True, restricted_to = restricted_to, + toolchains = ["@bazel_tools//tools/cpp:current_cc_toolchain"], )