summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7f5ccc6..3f427a6 100644
--- a/Makefile
+++ b/Makefile
@@ -129,6 +129,9 @@ $(BOOTTARGETS):
-var='playbook=build-dracut-initramfs.yml' \
$(BUILD_DIR)/$(ANSIBLE_DIR)/run-playbook-only.json
@mv $(BUILD_DIR)/$(ANSIBLE_DIR)/boot_files $(BUILD_DIR)/build/boot
+ ifndef DEBUG
+ @rm -rf $(BUILD_DIR)/build/tmp
+ endif
clean_except_last: