linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6.24-rc1-git] Warning with make tags and cscope
@ 2007-10-31  7:23 Kamalesh Babulal
  2007-11-14 20:35 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Kamalesh Babulal @ 2007-10-31  7:23 UTC (permalink / raw)
  To: LKML; +Cc: Sam Ravnborg, linux-kbuild

Hi,

Get following warning while building tags and cscope index files

$ make tags -j 2
  MAKE   tags
find: arch/i386: No such file or directory
find: arch/i386: No such file or directory
find: arch/i386: No such file or directory
$ make cscope -j 2
  FILELST cscope.files
find: arch/i386: No such file or directory
  MAKE    cscope.out

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6.24-rc1-git] Warning with make tags and cscope
  2007-10-31  7:23 [2.6.24-rc1-git] Warning with make tags and cscope Kamalesh Babulal
@ 2007-11-14 20:35 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2007-11-14 20:35 UTC (permalink / raw)
  To: Kamalesh Babulal; +Cc: LKML, linux-kbuild

Hi Kamalesh.
Thanks for reporting!

On Wed, Oct 31, 2007 at 12:53:39PM +0530, Kamalesh Babulal wrote:
> Hi,
> 
> Get following warning while building tags and cscope index files
> 
> $ make tags -j 2
>   MAKE   tags
> find: arch/i386: No such file or directory
> find: arch/i386: No such file or directory
> find: arch/i386: No such file or directory
> $ make cscope -j 2
>   FILELST cscope.files
> find: arch/i386: No such file or directory
>   MAKE    cscope.out

Sorry for getting back to you so late.
Following patch fixes the issue.

	Sam

commit 5683c81430f9cf2a2eaf71ce93291f00b528b6c4
Author: WANG Cong <xiyou.wangcong@gmail.com>
Date:   Thu Nov 8 17:22:11 2007 +0800

    kbuild: fix cscope so it does not emit warnings
    
    This patch fixed the following errors when doing "make cscope" and
    "make cscope ARCH=um".
    
      FILELST cscope.files
    find: arch/i386: No such file or directory
      MAKE    cscope.out
    
      FILELST cscope.files
    find: include/asm-i386: No such file or directory
      MAKE    cscope.out
    
    In addition it teach kbuild to delete ncscope.out at mrproper
    
    Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

diff --git a/Makefile b/Makefile
index cb740d4..1d48b0f 100644
--- a/Makefile
+++ b/Makefile
@@ -1086,7 +1086,7 @@ MRPROPER_DIRS  += include/config include2 usr/include
 MRPROPER_FILES += .config .config.old include/asm .version .old_version \
                   include/linux/autoconf.h include/linux/version.h      \
                   include/linux/utsrelease.h                            \
-		  Module.symvers tags TAGS cscope*
+		  Module.symvers tags TAGS *cscope*
 
 # clean - Delete most, but leave enough to build external modules
 #
@@ -1318,7 +1318,7 @@ endif
 
 ifeq ($(ALLSOURCE_ARCHS),)
 ifeq ($(ARCH),um)
-ALLINCLUDE_ARCHS := $(ARCH) $(SUBARCH)
+ALLINCLUDE_ARCHS := $(SRCARCH) $(SUBARCH)
 else
 ALLINCLUDE_ARCHS := $(SRCARCH)
 endif
@@ -1327,12 +1327,7 @@ else
 ALLINCLUDE_ARCHS := $(ALLSOURCE_ARCHS)
 endif
 
-# Take care of arch/x86
-ifeq ($(ARCH), $(SRCARCH))
-ALLSOURCE_ARCHS := $(ARCH)
-else
-ALLSOURCE_ARCHS := $(ARCH) $(SRCARCH)
-endif
+ALLSOURCE_ARCHS := $(SRCARCH)
 
 define find-sources
         ( for arch in $(ALLSOURCE_ARCHS) ; do \

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-14 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-31  7:23 [2.6.24-rc1-git] Warning with make tags and cscope Kamalesh Babulal
2007-11-14 20:35 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).