Skip to content

Commit

Permalink
module.mk: Remove built-in.a files as well during make clean
Browse files Browse the repository at this point in the history
Remove built-in.a files as well during make clean and also add it to
.gitignore.

Reported-by: Cyril Hrubis <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Cyril Hrubis <[email protected]>
  • Loading branch information
vireshk authored and metan-ucw committed Dec 17, 2020
1 parent 9799638 commit d97cf8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ lib*.a
.cache.mk
*.dwo
*.mod
built-in.a

/aclocal.m4
autom4te.cache
Expand Down
2 changes: 1 addition & 1 deletion include/mk/module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 built-in.a

MODULE_SOURCES := $(patsubst %.ko,%.c,$(filter %.ko, $(MAKE_TARGETS)))

Expand Down

0 comments on commit d97cf8c

Please sign in to comment.