Ensure we have something to do.

This commit is contained in:
Jean-Michel Picod
2020-03-11 18:31:09 +01:00
parent 4a3ccb48d7
commit 7c5c7b9d05

View File

@@ -547,6 +547,10 @@ class OpenSKInstaller:
self.check_prerequisites()
self.update_rustc_if_needed()
if not self.args.tockos and not self.args.application:
info("Nothing to do.")
return 0
# Compile what needs to be compiled
if self.args.tockos:
self.build_tockos()