From: Sam Ravnborg On Tue, Nov 13, 2007 at 01:40:45PM +0100, Jiri Slaby wrote: > On 11/13/2007 01:15 PM, akpm@linux-foundation.org wrote: > > The mm snapshot broken-out-2007-11-13-04-14.tar.gz has been uploaded to > > $ uname -a > Linux bellona 2.6.23-rc8-mm2_64 #58 SMP Fri Sep 28 08:52:12 CEST 2007 x86_64 > x86_64 x86_64 GNU/Linux > $ make O=../bu cscope > FILELST cscope.files > find: /home/l/latest/xxx/arch/x86_64: není souborem ani adresářem > MAKE cscope.out > 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 Cc: Sam Ravnborg Cc: Jiri Slaby Signed-off-by: Andrew Morton --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN Makefile~cscope-build-warning Makefile --- a/Makefile~cscope-build-warning +++ a/Makefile @@ -1323,6 +1323,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) @@ -1332,7 +1333,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 _