summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2018-02-08 20:16:03 -0700
committerMartin Roth <martinroth@google.com>2018-02-10 23:49:58 +0000
commit681bf41087ae1c2f496b987be283e7df77cc4590 (patch)
tree51d13dfbe99bbb07a7672ac2aa2d1fd69740c7a1
parentba39770f2e41918c14da3dddab4d119d996d4eec (diff)
util/broadcom/secimage: Add distclean target
When running 'make distclean' on coreboot, the build cleans the tools as well. Since secimage didn't have a distclean target, it gave an error that the distclean target didn't exist. This didn't actually affect anything more than the secimage clean, but it was impossible to tell that from the warning: % make distclean make[1]: *** No rule to make target 'distclean'. Stop. Change-Id: I4b4bcc1ab48e767218d31e455d23527acedf4953 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/23666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r--util/broadcom/secimage/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/broadcom/secimage/Makefile b/util/broadcom/secimage/Makefile
index 132c59e37a..ab8a1a4706 100644
--- a/util/broadcom/secimage/Makefile
+++ b/util/broadcom/secimage/Makefile
@@ -36,7 +36,7 @@ test: $(TARGET)
@find test -maxdepth 1 -type f -executable \
| xargs -I "{}" sh -c "{} $$(realpath $<)"
-.PHONY: clean
+.PHONY: clean distclean
-clean:
+clean distclean:
$(RM) -f $(TARGET) $(OBJS)