Skip to contentSkip to conversation

module.mk: Remove build-in.a files as well during make clean

PATCH New Viresh Kumar 2 participants 3 messages Dec 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module.mk: Remove build-in.a files as well during make clean

Remove build-in.a files as well during make clean and also add it to .gitignore.

---
 .gitignore           | 1 +
 include/mk/module.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
.gitignore +1 -0
index 769d4be8873e..199445292c52 100644
@@ -12,6 +12,7 @@ lib*.a
 .cache.mk
 *.dwo
 *.mod
+build-in.a
 
 /aclocal.m4
 autom4te.cache
include/mk/module.mk +1 -1
index 1b71a28b92a1..dad293276fb8 100644
@@ -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)))
 
Signature · 1 line
2.25.0.rc1.19.g042ed3e048af
#1 lore raw

PATCH 1/1 module.mk: Remove build-in.a files as well during make clean

Hi!

Quoted 2 lines

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.

Signature · 2 lines
Cyril Hrubis
[email protected]
#2 lore raw

PATCH 1/1 module.mk: Remove build-in.a files as well during make clean

Quoted 5 lines · Cyril Hrubis

Hi!

Quoted 2 lines

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 :)

Signature · 1 line
viresh