]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - Makefile
[PATCH] kbuild: make 'cscope -q' play well with cscope.el
[mirror_ubuntu-artful-kernel.git] / Makefile
index 9cf07e7b9f88dc43da8c06dde1b949f50b479aac..8294cd73b3aa7a5be61a6e77df33cc0f6f781c4b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1177,10 +1177,10 @@ define all-sources
 endef
 
 quiet_cmd_cscope-file = FILELST cscope.files
-      cmd_cscope-file = $(all-sources) > cscope.files
+      cmd_cscope-file = (echo \-k; echo \-q; $(all-sources)) > cscope.files
 
 quiet_cmd_cscope = MAKE    cscope.out
-      cmd_cscope = cscope -k -b -q
+      cmd_cscope = cscope -b
 
 cscope: FORCE
        $(call cmd,cscope-file)