Buildified the world again.
bzl files were pretty off.
Change-Id: Ief87d7c0a08c6706c8c6c573afef95a6d51968e7
diff --git a/motors/macros.bzl b/motors/macros.bzl
index 3b1d379..4f3cf17 100644
--- a/motors/macros.bzl
+++ b/motors/macros.bzl
@@ -1,10 +1,10 @@
-def hex_from_elf(name, restricted_to=None):
- native.genrule(
- name = name,
- srcs = [ '%s.elf' % name ],
- outs = [ '%s.hex' % name ],
- cmd = '$(OBJCOPY) -O ihex $< $@',
- executable = True,
- output_to_bindir = True,
- restricted_to = restricted_to,
- )
+def hex_from_elf(name, restricted_to = None):
+ native.genrule(
+ name = name,
+ srcs = ["%s.elf" % name],
+ outs = ["%s.hex" % name],
+ cmd = "$(OBJCOPY) -O ihex $< $@",
+ executable = True,
+ output_to_bindir = True,
+ restricted_to = restricted_to,
+ )