Re: cscope build warning [Was: mm snapshot broken-out-2007-11-13-04-14.tar.gz uploaded]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Ravnborg
Date: Tuesday, November 13, 2007 - 6:27 am

On Tue, Nov 13, 2007 at 01:40:45PM +0100, Jiri Slaby wrote:

I have following fix queued in my inbox:

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


Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>

---

diff --git a/Makefile b/Makefile
index e28dde8..01335ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1322,6 +1322,7 @@ ALLINCLUDE_ARCHS := $(ARCH) $(SUBARCH)
 else
 ALLINCLUDE_ARCHS := $(SRCARCH)
 endif
+ALLINCLUDE_ARCHS := $(shell echo $(ALLINCLUDE_ARCHS)|sed -e "s/i386/x86/" -e "s/x86_64/x86/")
 else
 #Allow user to specify only ALLSOURCE_PATHS on the command line, keeping existing behavour.
 ALLINCLUDE_ARCHS := $(ALLSOURCE_ARCHS)
@@ -1331,7 +1332,7 @@ endif
 ifeq ($(ARCH), $(SRCARCH))
 ALLSOURCE_ARCHS := $(ARCH)
 else
-ALLSOURCE_ARCHS := $(ARCH) $(SRCARCH)
+ALLSOURCE_ARCHS := $(shell echo $(ARCH) $(SRCARCH)|sed -e "s/i386/x86/" -e "s/x86_64/x86/")
 endif
 
 define find-sources

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: cscope build warning [Was: mm snapshot broken-out-2007 ..., Sam Ravnborg, (Tue Nov 13, 6:27 am)
Re: mm snapshot broken-out-2007-11-13-04-14 Build Fails at ..., Martin Schwidefsky, (Tue Nov 13, 8:17 am)
Re: mm snapshot broken-out-2007-11-13-04-14 Build Fails at ..., Martin Schwidefsky, (Tue Nov 13, 8:29 am)
Re: mm snapshot broken-out-2007-11-13-04-14 Build Fails - ..., Kamalesh Babulal, (Tue Nov 13, 12:51 pm)
Re: mm snapshot broken-out-2007-11-13-04-14.tar.gz uploaded, Kevin Winchester, (Tue Nov 13, 5:20 pm)