[coreboot-gerrit] Change in coreboot[master]: depthcharge: Fix ominous warning on make clean

Martin Roth (Code Review) gerrit at coreboot.org
Sun Jul 23 23:09:39 CEST 2017


Martin Roth has uploaded this change for review. ( https://review.coreboot.org/20724


Change subject: depthcharge: Fix ominous warning on make clean
......................................................................

depthcharge: Fix ominous warning on make clean

When the depthcharge build folder isn't present, an error message is
printed because of the test.  Just remove the test and always try to
remove the directory.

Change-Id: I8d4bb0fbdbdefecd87336ea0c12ba0df7f5e7425
Signed-off-by: Martin Roth <martinroth at google.com>
---
M payloads/external/depthcharge/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/20724/1

diff --git a/payloads/external/depthcharge/Makefile b/payloads/external/depthcharge/Makefile
index 1c8d345..8115eb1 100644
--- a/payloads/external/depthcharge/Makefile
+++ b/payloads/external/depthcharge/Makefile
@@ -89,7 +89,7 @@
 		PATH="$(abspath ../../../build/util/cbfstool):$$PATH"
 
 clean:
-	test -d $(output_dir) && rm -rf $(output_dir)
+	rm -rf $(output_dir)
 
 distclean:
 	rm -rf $(project_dir)

-- 
To view, visit https://review.coreboot.org/20724
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d4bb0fbdbdefecd87336ea0c12ba0df7f5e7425
Gerrit-Change-Number: 20724
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170723/e4b969c5/attachment-0001.html>


More information about the coreboot-gerrit mailing list