Message ID | 9dcf930c32cfa30d683e56d368c094367695d733.1608100564.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Headers | show |
Series | module.mk: Remove .mod files as well during make clean | expand |
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.
diff --git a/include/mk/module.mk b/include/mk/module.mk index 07d8fa89efa6..1b71a28b92a1 100644 --- a/include/mk/module.mk +++ b/include/mk/module.mk @@ -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)))
The .mod files are left as is after a make clean, get rid of them as well. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- include/mk/module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)