diff mbox series

build: lib.rules: add common-clean

Message ID 1602754941-I9e3917110257f1da52b1fc3d29d5e871fa6a7c08@changeid
State Accepted
Headers show
Series build: lib.rules: add common-clean | expand

Commit Message

Johannes Berg Oct. 15, 2020, 9:42 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

During the build reshuffling, I missed this, so doing
'make clean' in a certain src/lib folder doesn't clean
up everything anymore. Fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 src/lib.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jouni Malinen Oct. 16, 2020, 8:08 p.m. UTC | #1
On Thu, Oct 15, 2020 at 11:42:21AM +0200, Johannes Berg wrote:
> During the build reshuffling, I missed this, so doing
> 'make clean' in a certain src/lib folder doesn't clean
> up everything anymore. Fix that.

Thanks, applied.
diff mbox series

Patch

diff --git a/src/lib.rules b/src/lib.rules
index 59801c5171cb..947617b079d6 100644
--- a/src/lib.rules
+++ b/src/lib.rules
@@ -25,5 +25,5 @@  install-default:
 %: %-default
 	@true
 
-clean:
+clean: common-clean
 	$(Q)rm -f *~ *.o *.d *.gcno *.gcda *.gcov $(ALL)