Message ID | a7007a68b6a11f84f6551d253563da2f37319e55.1608179175.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Headers | show |
Series | module.mk: Remove build-in.a files as well during make clean | expand |
Hi! > Remove build-in.a files as well during make clean and also add it to > .gitignore. It's actually built-in.a not build-in.a. Anyways I've fixed that and pushed, thanks.
On 17-12-20, 10:18, Cyril Hrubis wrote: > Hi! > > Remove build-in.a files as well during make clean and also add it to > > .gitignore. > > It's actually built-in.a not build-in.a. I copied the name from your earlier email, didn't apply much brain after that as it wasn't generating for me :)
diff --git a/.gitignore b/.gitignore index 769d4be8873e..199445292c52 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ lib*.a .cache.mk *.dwo *.mod +build-in.a /aclocal.m4 autom4te.cache diff --git a/include/mk/module.mk b/include/mk/module.mk index 1b71a28b92a1..dad293276fb8 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 *.mod +CLEAN_TARGETS += .dep_modules *.mod build-in.a MODULE_SOURCES := $(patsubst %.ko,%.c,$(filter %.ko, $(MAKE_TARGETS)))
Remove build-in.a files as well during make clean and also add it to .gitignore. Reported-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- .gitignore | 1 + include/mk/module.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)