From a641f330328bb03ae04868d6f0dfbfe04131ffa5 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sat, 17 Jun 2017 21:03:42 +0200 Subject: [PATCH] Ensure DEPSDIR (.d) is removed on `make clean` as well Important because of "The slice.deps targets basically do not handle add/del/change of the *.slice files." --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 66dc5ad..9f2080e 100644 --- a/Makefile +++ b/Makefile @@ -32,11 +32,14 @@ list_laptops: .PHONY: list_laptops +DEPSDIR := .d + # Remove all the usual junk (including any patched firmware images) clean: rm -f patched.*.iso patched.*.img *.FL2 *.FL2.orig *.img.enc \ *.img.enc.orig *.img.orig *.bat \ *.img + rm -rf "$(DEPSDIR)" # Also remove the large downloaded iso images really_clean: clean @@ -155,7 +158,6 @@ define patch_disable $(call patch_mv,$1,$1.OFF) endef -DEPSDIR := .d $(shell mkdir -p $(DEPSDIR)) -include $(DEPSDIR)/slice.extract.deps $(DEPSDIR)/slice.extract.deps: Makefile