Zephyr: only clean if there's a build

This commit is contained in:
Sergio R. Caprile
2025-07-25 11:38:30 -03:00
parent 5e4c40ad09
commit eff74fdc9d
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ run:
$(DOCKER) west build -t run
clean:
-$(DOCKER) west build -t clean
-test -d $(CURDIR)/build && $(DOCKER) west build -t clean
pristine:
-$(DOCKER) west build -t pristine
+1 -1
View File
@@ -24,7 +24,7 @@ run:
$(DOCKER) west build -t run
clean:
-$(DOCKER) west build -t clean
-test -d $(CURDIR)/build && $(DOCKER) west build -t clean
pristine:
-$(DOCKER) west build -t pristine
+1 -1
View File
@@ -24,7 +24,7 @@ run:
$(DOCKER) west build -t run
clean:
-$(DOCKER) west build -t clean
-test -d $(CURDIR)/build && $(DOCKER) west build -t clean
pristine:
-$(DOCKER) west build -t pristine
+1 -1
View File
@@ -24,7 +24,7 @@ run:
$(DOCKER) west build -t run
clean:
-$(DOCKER) west build -t clean
-test -d $(CURDIR)/build && $(DOCKER) west build -t clean
pristine:
-$(DOCKER) west build -t pristine
+1 -1
View File
@@ -24,7 +24,7 @@ run:
$(DOCKER) west build -t run
clean:
-$(DOCKER) west build -t clean
-test -d $(CURDIR)/build && $(DOCKER) west build -t clean
pristine:
-$(DOCKER) west build -t pristine