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

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

Advertisement

Kernel v2.6.28-rc3 /Makefile

Filename:/Makefile
Lines Added:12
Lines Deleted:6
Also changed in: (Previous) 2.6.28-rc2-git7  2.6.28-rc2-git6  2.6.28-rc2-git5  2.6.28-rc2-git4  2.6.28-rc2-git3  2.6.28-rc2-git2 
(Following) 2.6.28-rc3-git1  2.6.28-rc3-git2  2.6.28-rc3-git3  2.6.28-rc3-git4  2.6.28-rc3-git5  2.6.28-rc3-git6 

Location
[  2.6.28-rc3
   o  Makefile

Patch

diff --git a/Makefile b/Makefile
index 16e3fbb..29abe62 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 VERSION = 2
 PATCHLEVEL = 6
-SUBLEVEL = 27
-EXTRAVERSION =
-NAME = Rotary Wombat
+SUBLEVEL = 28
+EXTRAVERSION = -rc3
+NAME = Killer Bat of Doom
 
 # *DOCUMENTATION*
 # To see a list of typical targets execute "make help"
@@ -437,7 +437,7 @@ ifeq ($(config-targets),1)
 # KBUILD_DEFCONFIG may point out an alternative default configuration
 # used for 'make defconfig'
 include $(srctree)/arch/$(SRCARCH)/Makefile
-export KBUILD_DEFCONFIG
+export KBUILD_DEFCONFIG KBUILD_KCONFIG
 
 config %config: scripts_basic outputmakefile FORCE
    $(Q)mkdir -p include/linux include/config
@@ -536,7 +536,7 @@ KBUILD_CFLAGS   += -g
 KBUILD_AFLAGS   += -gdwarf-2
 endif
 
-ifdef CONFIG_FTRACE
+ifdef CONFIG_FUNCTION_TRACER
 KBUILD_CFLAGS   += -pg
 endif
 
@@ -961,6 +961,7 @@ export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
 
 # The asm symlink changes when $(ARCH) changes.
 # Detect this and ask user to run make mrproper
+# If asm is a stale symlink (point to dir that does not exist) remove it
 define check-symlink
    set -e;                                                            \
    if [ -L include/asm ]; then                                        \
@@ -970,6 +971,10 @@ define check-symlink
          echo "       set ARCH or save .config and run 'make mrproper' to fix it";             \
          exit 1;                                            \
       fi;                                                        \
+      test -e $$asmlink || rm include/asm;                       \
+   elif [ -d include/asm ]; then                                      \
+      echo "ERROR: $@ is a directory but a symlink was expected";\
+      exit 1;                                                    \
    fi
 endef
 
@@ -1431,7 +1436,8 @@ ALLSOURCE_ARCHS := $(SRCARCH)
 define find-sources
         ( for arch in $(ALLSOURCE_ARCHS) ; do \
           find $(__srctree)arch/$${arch} $(RCS_FIND_IGNORE) \
-               -name $1 -print; \
+          -wholename $(__srctree)arch/$${arch}/include/asm -type d -prune \
+               -o -name $1 -print; \
      done ; \
      find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \
           -name $1 -print; \


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