kbuild: Drop support for clean-rule
authorMichal Marek <mmarek@suse.cz>
Wed, 31 Dec 2014 15:32:14 +0000 (16:32 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 2 Jan 2015 13:50:59 +0000 (14:50 +0100)
clean-rule has not been used since 94869f86 (kbuild: Accept absolute
paths in clean-files and introduce clean-dirs) ten years ago.

Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.clean

index 1bca180..af03c57 100644 (file)
@@ -70,9 +70,6 @@ ifneq ($(strip $(__clean-files)),)
 endif
 ifneq ($(strip $(__clean-dirs)),)
        +$(call cmd,cleandir)
-endif
-ifneq ($(strip $(clean-rule)),)
-       +$(clean-rule)
 endif
        @: