module.mk: Remove .mod files as well during make clean
PATCH 1/1 module.mk: Remove .mod files as well during make clean
The .mod files are left as is after a make clean, get rid of them as well.
Signed-off-by Viresh Kumar <[email protected]>
--- include/mk/module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/mk/module.mk +1 -1
@@ -45,7 +45,7 @@ MAKE_TARGETS := $(filter-out %.ko, $(MAKE_TARGETS)) MAKE_TARGETS += $(wildcard *.ko) endif -CLEAN_TARGETS += .dep_modules +CLEAN_TARGETS += .dep_modules *.mod MODULE_SOURCES := $(patsubst %.ko,%.c,$(filter %.ko, $(MAKE_TARGETS)))
Signature · 1 line
2.25.0.rc1.19.g042ed3e048af
PATCH 1/1 module.mk: Remove .mod files as well during make clean
Hi!
Pushed, thanks.
Also for me the module build generates build-in.a as well. I guess that we should add that one to .gitignore and clean it up on make clean as well.
Signature · 2 lines
Cyril Hrubis [email protected]