mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-04 06:00:12 +00:00
Merge pull request #28 from ypid/clean-.d
Ensure DEPSDIR (.d) is removed on `make clean` as well
This commit is contained in:
commit
91b41539dc
4
Makefile
4
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
|
||||
@ -153,7 +156,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
|
||||
|
Loading…
Reference in New Issue
Block a user