]> git.openfabrics.org - ~tnikolova/compat-rdma/.git/commitdiff
makefile: Added distclean target
authorVladimir Sokolovsky <vlad@mellanox.com>
Tue, 1 Mar 2016 06:50:47 +0000 (08:50 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Tue, 1 Mar 2016 07:35:04 +0000 (09:35 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
makefile

index e1356543e9b5d4a8f78c4af2e172541554c5b9a6..6aaf70d9eab4d9dc0b8c83d68897880707f3f9af 100644 (file)
--- a/makefile
+++ b/makefile
@@ -186,10 +186,12 @@ install_modules:
 clean: clean_kernel
 
 clean_kernel:
-       $(MAKE) -C $(KSRC_OBJ) SUBDIRS="$(CWD)" $(WITH_MAKE_PARAMS) clean
+       $(MAKE) -C $(KSRC_OBJ) rm-files= SUBDIRS="$(CWD)" $(WITH_MAKE_PARAMS) clean
+
+distclean: clean_kernel
        @/bin/rm -f $(clean-files)
 
-clean-files := Module.symvers modules.order Module.markers compat/modules.order
+clean-files := Module.symvers modules.order Module.markers compat/modules.order compat/configure
 clean-files += $(COMPAT_CONFIG) $(COMPAT_AUTOCONF)
 
 help: