Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.15-rc1-git7 /Makefile

Filename:/Makefile
Lines Added:13
Lines Deleted:2
Also changed in: (Previous) 2.6.15-rc1-git6  2.6.15-rc1-git5  2.6.15-rc1-git4  2.6.15-rc1-git3  2.6.15-rc1-git2  2.6.15-rc1-git1 
(Following) 2.6.15-rc2  2.6.15-rc2-git1  2.6.15-rc2-git2  2.6.15-rc2-git3  2.6.15-rc2-git4  2.6.15-rc2-git5 

Location
[  2.6.15-rc1-git7
   o  Makefile

Patch

diff --git a/Makefile b/Makefile
index 8560b79..d7da06e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 15
-EXTRAVERSION =-rc1
+EXTRAVERSION = -rc1-git7
 NAME=Affluent Albatross
 
 # *DOCUMENTATION*
@@ -1193,6 +1193,17 @@ else
 __srctree = $(srctree)/
 endif
 
+ifeq ($(ALLSOURCE_ARCHS),)
+ifeq ($(ARCH),um)
+ALLINCLUDE_ARCHS := $(ARCH) $(SUBARCH)
+else
+ALLINCLUDE_ARCHS := $(ARCH)
+endif
+else
+#Allow user to specify only ALLSOURCE_PATHS on the command line, keeping existing behaviour.
+ALLINCLUDE_ARCHS := $(ALLSOURCE_ARCHS)
+endif
+
 ALLSOURCE_ARCHS := $(ARCH)
 
 define all-sources
@@ -1208,7 +1219,7 @@ define all-sources
      find $(__srctree)include $(RCS_FIND_IGNORE) \
           \( -name config -o -name 'asm-*' \) -prune \
           -o -name '*.[chS]' -print; \
-     for ARCH in $(ALLSOURCE_ARCHS) ; do \
+     for ARCH in $(ALLINCLUDE_ARCHS) ; do \
           find $(__srctree)include/asm-$${ARCH} $(RCS_FIND_IGNORE) \
                -name '*.[chS]' -print; \
      done ; \


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.