]> err.no Git - linux-2.6/commitdiff
Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
authorLinus Torvalds <torvalds@evo.osdl.org>
Tue, 6 Sep 2005 07:35:51 +0000 (00:35 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Tue, 6 Sep 2005 07:35:51 +0000 (00:35 -0700)
1  2 
Makefile
arch/m68knommu/Makefile
arch/mips/Makefile
drivers/block/Kconfig
init/Kconfig

diff --combined Makefile
index 2d68adbcfa28d43583ae0e12fbe3fef9a4d79d6a,c6aae86a02cdb1d2445b09aae41342256b5b8ebd..63e5c9f0bc7ad9776a4f9a33e07600b0085c5672
+++ b/Makefile
@@@ -1,8 -1,8 +1,8 @@@
  VERSION = 2
  PATCHLEVEL = 6
  SUBLEVEL = 13
 -EXTRAVERSION =-rc2
 -NAME=Woozy Numbat
 +EXTRAVERSION =
 +NAME=Affluent Albatross
  
  # *DOCUMENTATION*
  # To see a list of typical targets execute "make help"
@@@ -109,10 -109,9 +109,9 @@@ $(if $(KBUILD_OUTPUT),, 
  .PHONY: $(MAKECMDGOALS)
  
  $(filter-out _all,$(MAKECMDGOALS)) _all:
-       $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT)         \
-       KBUILD_SRC=$(CURDIR)         KBUILD_VERBOSE=$(KBUILD_VERBOSE)   \
-       KBUILD_CHECK=$(KBUILD_CHECK) KBUILD_EXTMOD="$(KBUILD_EXTMOD)"   \
-         -f $(CURDIR)/Makefile $@
+       $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
+       KBUILD_SRC=$(CURDIR) \
+       KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile $@
  
  # Leave processing to above invocation of make
  skip-makefile := 1
@@@ -233,7 -232,7 +232,7 @@@ ifeq ($(MAKECMDGOALS),
    KBUILD_MODULES := 1
  endif
  
- export KBUILD_MODULES KBUILD_BUILTIN KBUILD_VERBOSE
+ export KBUILD_MODULES KBUILD_BUILTIN
  export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
  
  # Beautify output
@@@ -309,6 -308,9 +308,9 @@@ cc-version = $(shell $(CONFIG_SHELL) $(
  # Look for make include files relative to root of kernel src
  MAKEFLAGS += --include-dir=$(srctree)
  
+ # We need some generic definitions
+ include  $(srctree)/scripts/Kbuild.include
  # For maximum performance (+ possibly random breakage, uncomment
  # the following)
  
@@@ -348,7 -350,7 +350,7 @@@ LINUXINCLUDE    := -Iinclude 
  
  CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
  
- CFLAGS                := -Wall -Wstrict-prototypes -Wno-trigraphs \
+ CFLAGS                := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
                   -fno-strict-aliasing -fno-common \
                   -ffreestanding
  AFLAGS                := -D__ASSEMBLY__
@@@ -367,15 -369,10 +369,10 @@@ export AFLAGS AFLAGS_KERNEL AFLAGS_MODU
  # even be read-only.
  export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_versions
  
- # The temporary file to save gcc -MD generated dependencies must not
- # contain a comma
- comma := ,
- depfile = $(subst $(comma),_,$(@D)/.$(@F).d)
  # Files to ignore in find ... statements
  
 -RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc \) -prune -o
 -RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc
 +RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o
 +RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg
  
  # ===========================================================================
  # Rules shared between *config targets and build targets
@@@ -551,6 -548,26 +548,26 @@@ export KBUILD_IMAGE ?= vmlinu
  # images. Default is /boot, but you can set it to other values
  export        INSTALL_PATH ?= /boot
  
+ # If CONFIG_LOCALVERSION_AUTO is set, we automatically perform some tests
+ # and try to determine if the current source tree is a release tree, of any sort,
+ # or if is a pure development tree.
+ #
+ # A 'release tree' is any tree with a git TAG associated
+ # with it.  The primary goal of this is to make it safe for a native
+ # git/CVS/SVN user to build a release tree (i.e, 2.6.9) and also to
+ # continue developing against the current Linus tree, without having the Linus
+ # tree overwrite the 2.6.9 tree when installed.
+ #
+ # Currently, only git is supported.
+ # Other SCMs can edit scripts/setlocalversion and add the appropriate
+ # checks as needed.
+ ifdef CONFIG_LOCALVERSION_AUTO
+       localversion-auto := $(shell $(PERL) $(srctree)/scripts/setlocalversion $(srctree))
+       LOCALVERSION := $(LOCALVERSION)$(localversion-auto)
+ endif
  #
  # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
  # relocations required by build roots.  This is not defined in the
@@@ -691,8 -708,10 +708,10 @@@ ende
  
  # Update vmlinux version before link
  # Use + in front of this rule to silent warning about make -j1
+ # First command is ':' to allow us to use + in front of this rule
  cmd_ksym_ld = $(cmd_vmlinux__)
  define rule_ksym_ld
+       : 
        +$(call cmd,vmlinux_version)
        $(call cmd,vmlinux__)
        $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
@@@ -722,6 -741,16 +741,16 @@@ quiet_cmd_kallsyms = KSYM    $
  # Needs to visit scripts/ before $(KALLSYMS) can be used.
  $(KALLSYMS): scripts ;
  
+ # Generate some data for debugging strange kallsyms problems
+ debug_kallsyms: .tmp_map$(last_kallsyms)
+ .tmp_map%: .tmp_vmlinux% FORCE
+       ($(OBJDUMP) -h $< | $(AWK) '/^ +[0-9]/{print $$4 " 0 " $$2}'; $(NM) $<) | sort > $@
+ .tmp_map3: .tmp_map2
+ .tmp_map2: .tmp_map1
  endif # ifdef CONFIG_KALLSYMS
  
  # vmlinux image - including updated kernel symbols
@@@ -757,7 -786,7 +786,7 @@@ $(vmlinux-dirs): prepare-all script
  prepare2:
  ifneq ($(KBUILD_SRC),)
        @echo '  Using $(srctree) as source for kernel'
-       $(Q)if [ -h $(srctree)/include/asm -o -f $(srctree)/.config ]; then \
+       $(Q)if [ -f $(srctree)/.config ]; then \
                echo "  $(srctree) is not clean, please run 'make mrproper'";\
                echo "  in the '$(srctree)' directory.";\
                /bin/false; \
@@@ -769,7 -798,8 +798,8 @@@ endi
  # prepare1 creates a makefile if using a separate output directory
  prepare1: prepare2 outputmakefile
  
- prepare0: prepare1 include/linux/version.h include/asm include/config/MARKER
+ prepare0: prepare1 include/linux/version.h include/asm \
+                    include/config/MARKER
  ifneq ($(KBUILD_MODULES),)
        $(Q)rm -rf $(MODVERDIR)
        $(Q)mkdir -p $(MODVERDIR)
@@@ -875,7 -905,7 +905,7 @@@ modules_install: _modinst_ _modinst_pos
  
  .PHONY: _modinst_
  _modinst_:
-       @if [ -z "`$(DEPMOD) -V | grep module-init-tools`" ]; then \
+       @if [ -z "`$(DEPMOD) -V 2>/dev/null | grep module-init-tools`" ]; then \
                echo "Warning: you may need to install module-init-tools"; \
                echo "See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt";\
                sleep 1; \
  __srctree = $(srctree)/
  endif
  
+ ALLSOURCE_ARCHS := $(ARCH)
  define all-sources
        ( find $(__srctree) $(RCS_FIND_IGNORE) \
               \( -name include -o -name arch \) -prune -o \
               -name '*.[chS]' -print; \
-         find $(__srctree)arch/$(ARCH) $(RCS_FIND_IGNORE) \
-              -name '*.[chS]' -print; \
+         for ARCH in $(ALLSOURCE_ARCHS) ; do \
+              find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \
+                   -name '*.[chS]' -print; \
+         done ; \
          find $(__srctree)security/selinux/include $(RCS_FIND_IGNORE) \
               -name '*.[chS]' -print; \
          find $(__srctree)include $(RCS_FIND_IGNORE) \
               \( -name config -o -name 'asm-*' \) -prune \
               -o -name '*.[chS]' -print; \
-         find $(__srctree)include/asm-$(ARCH) $(RCS_FIND_IGNORE) \
-              -name '*.[chS]' -print; \
+         for ARCH in $(ALLSOURCE_ARCHS) ; do \
+              find $(__srctree)include/asm-$${ARCH} $(RCS_FIND_IGNORE) \
+                   -name '*.[chS]' -print; \
+         done ; \
          find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
               -name '*.[chS]' -print )
  endef
  
  quiet_cmd_cscope-file = FILELST cscope.files
-       cmd_cscope-file = $(all-sources) > cscope.files
+       cmd_cscope-file = (echo \-k; echo \-q; $(all-sources)) > cscope.files
  
  quiet_cmd_cscope = MAKE    cscope.out
-       cmd_cscope = cscope -k -b -q
+       cmd_cscope = cscope -b
  
  cscope: FORCE
        $(call cmd,cscope-file)
        $(call cmd,cscope)
  
  quiet_cmd_TAGS = MAKE   $@
- cmd_TAGS = $(all-sources) | etags -
+ define cmd_TAGS
+       rm -f $@; \
+       ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+       $(all-sources) | xargs etags $$ETAGSF -a
+ endef
+ TAGS: FORCE
+       $(call cmd,TAGS)
  
- #     Exuberant ctags works better with -I
  
  quiet_cmd_tags = MAKE   $@
  define cmd_tags
        $(all-sources) | xargs ctags $$CTAGSF -a
  endef
  
- TAGS: FORCE
-       $(call cmd,TAGS)
  tags: FORCE
        $(call cmd,tags)
  
@@@ -1268,82 -1307,11 +1307,11 @@@ ifneq ($(cmd_files),
    include $(cmd_files)
  endif
  
- # Execute command and generate cmd file
- if_changed = $(if $(strip $? \
-                         $(filter-out $(cmd_$(1)),$(cmd_$@))\
-                         $(filter-out $(cmd_$@),$(cmd_$(1)))),\
-       @set -e; \
-       $(if $($(quiet)cmd_$(1)),echo '  $(subst ','\'',$($(quiet)cmd_$(1)))';) \
-       $(cmd_$(1)); \
-       echo 'cmd_$@ := $(subst $$,$$$$,$(subst ','\'',$(cmd_$(1))))' > $(@D)/.$(@F).cmd)
- # execute the command and also postprocess generated .d dependencies
- # file
- if_changed_dep = $(if $(strip $? $(filter-out FORCE $(wildcard $^),$^)\
-                         $(filter-out $(cmd_$(1)),$(cmd_$@))\
-                         $(filter-out $(cmd_$@),$(cmd_$(1)))),\
-       $(Q)set -e; \
-       $(if $($(quiet)cmd_$(1)),echo '  $(subst ','\'',$($(quiet)cmd_$(1)))';) \
-       $(cmd_$(1)); \
-       scripts/basic/fixdep $(depfile) $@ '$(subst $$,$$$$,$(subst ','\'',$(cmd_$(1))))' > $(@D)/.$(@F).tmp; \
-       rm -f $(depfile); \
-       mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd)
- # Usage: $(call if_changed_rule,foo)
- # will check if $(cmd_foo) changed, or any of the prequisites changed,
- # and if so will execute $(rule_foo)
- if_changed_rule = $(if $(strip $? \
-                              $(filter-out $(cmd_$(1)),$(cmd_$(@F)))\
-                              $(filter-out $(cmd_$(@F)),$(cmd_$(1)))),\
-                      $(Q)$(rule_$(1)))
- # If quiet is set, only print short version of command
- cmd = @$(if $($(quiet)cmd_$(1)),echo '  $($(quiet)cmd_$(1))' &&) $(cmd_$(1))
- # filechk is used to check if the content of a generated file is updated.
- # Sample usage:
- # define filechk_sample
- #     echo $KERNELRELEASE
- # endef
- # version.h : Makefile
- #     $(call filechk,sample)
- # The rule defined shall write to stdout the content of the new file.
- # The existing file will be compared with the new one.
- # - If no file exist it is created
- # - If the content differ the new file is used
- # - If they are equal no change, and no timestamp update
- define filechk
-       @set -e;                                \
-       echo '  CHK     $@';                    \
-       mkdir -p $(dir $@);                     \
-       $(filechk_$(1)) < $< > $@.tmp;          \
-       if [ -r $@ ] && cmp -s $@ $@.tmp; then  \
-               rm -f $@.tmp;                   \
-       else                                    \
-               echo '  UPD     $@';            \
-               mv -f $@.tmp $@;                \
-       fi
- endef
- # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj=dir
- # Usage:
- # $(Q)$(MAKE) $(build)=dir
- build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
  # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=dir
  # Usage:
  # $(Q)$(MAKE) $(clean)=dir
  clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj
  
- #     $(call descend,<dir>,<target>)
- #     Recursively call a sub-make in <dir> with target <target>
- # Usage is deprecated, because make does not see this as an invocation of make.
- descend =$(Q)$(MAKE) -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj=$(1) $(2)
  endif # skip-makefile
  
  FORCE:
diff --combined arch/m68knommu/Makefile
index 97022ed0da3896d4b173cd4f255c5a513324093a,58c9fa57ca67075cd52618974b120b577dcd3b69..7ce5e55b2401e40716faeaaf5fdacbe903cfea2f
@@@ -14,7 -14,6 +14,7 @@@ platform-$(CONFIG_M68VZ328)   := 68VZ32
  platform-$(CONFIG_M68360)     := 68360
  platform-$(CONFIG_M5206)      := 5206
  platform-$(CONFIG_M5206e)     := 5206e
 +platform-$(CONFIG_M523x)      := 523x
  platform-$(CONFIG_M5249)      := 5249
  platform-$(CONFIG_M527x)      := 527x
  platform-$(CONFIG_M5272)      := 5272
@@@ -30,7 -29,6 +30,7 @@@ board-$(CONFIG_UCQUICC)               := uCquic
  board-$(CONFIG_DRAGEN2)               := de2
  board-$(CONFIG_ARNEWSH)               := ARNEWSH
  board-$(CONFIG_MOTOROLA)      := MOTOROLA
 +board-$(CONFIG_M5235EVB)      := M5235EVB
  board-$(CONFIG_M5271EVB)      := M5271EVB
  board-$(CONFIG_M5275EVB)      := M5275EVB
  board-$(CONFIG_M5282EVB)      := M5282EVB
@@@ -41,7 -39,6 +41,7 @@@ board-$(CONFIG_SECUREEDGEMP3) := MP
  board-$(CONFIG_CLEOPATRA)     := CLEOPATRA
  board-$(CONFIG_senTec)                := senTec
  board-$(CONFIG_SNEHA)                 := SNEHA
 +board-$(CONFIG_MOD5272)               := MOD5272
  BOARD := $(board-y)
  
  model-$(CONFIG_RAMKERNEL)     := ram
@@@ -56,7 -53,6 +56,7 @@@ MODEL := $(model-y
  #
  cpuclass-$(CONFIG_M5206)      := 5307
  cpuclass-$(CONFIG_M5206e)     := 5307
 +cpuclass-$(CONFIG_M523x)      := 5307
  cpuclass-$(CONFIG_M5249)      := 5307
  cpuclass-$(CONFIG_M527x)      := 5307
  cpuclass-$(CONFIG_M5272)      := 5307
@@@ -80,7 -76,6 +80,7 @@@ export PLATFORM BOARD MODEL CPUCLAS
  #
  cflags-$(CONFIG_M5206)                := -m5200 -Wa,-S -Wa,-m5200
  cflags-$(CONFIG_M5206e)               := -m5200 -Wa,-S -Wa,-m5200
 +cflags-$(CONFIG_M523x)                := -m5307 -Wa,-S -Wa,-m5307
  cflags-$(CONFIG_M5249)                := -m5200 -Wa,-S -Wa,-m5200
  cflags-$(CONFIG_M527x)                := -m5307 -Wa,-S -Wa,-m5307
  cflags-$(CONFIG_M5272)                := -m5307 -Wa,-S -Wa,-m5307
@@@ -114,7 -109,7 +114,7 @@@ libs-y     += arch/m68knommu/lib
  prepare: include/asm-$(ARCH)/asm-offsets.h
  
  archclean:
-       $(call descend arch/$(ARCH)/boot, subdirclean)
+       $(Q)$(MAKE) $(clean)=arch/m68knommu/boot
  
  include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
                                   include/asm include/linux/version.h \
diff --combined arch/mips/Makefile
index d27b82595485dc8d8075befd44ef125247eccf33,26528b600b972c06b52ce47b8d22c537c7c47f8a..b0fdaee8d8d95228a810f23ed680e7134022f4ee
@@@ -37,12 -37,12 +37,12 @@@ els
  64bit-emul            = elf64btsmip
  endif
  
 -ifdef CONFIG_MIPS32
 +ifdef CONFIG_32BIT
  gcc-abi                       = 32
  tool-prefix           = $(32bit-tool-prefix)
  UTS_MACHINE           := mips
  endif
 -ifdef CONFIG_MIPS64
 +ifdef CONFIG_64BIT
  gcc-abi                       = 64
  tool-prefix           = $(64bit-tool-prefix)
  UTS_MACHINE           := mips64
@@@ -63,7 -63,7 +63,7 @@@ ld-emul                       = $(32bit-emul
  vmlinux-32            = vmlinux
  vmlinux-64            = vmlinux.64
  
 -cflags-$(CONFIG_MIPS64)       += $(call cc-option,-mno-explicit-relocs)
 +cflags-$(CONFIG_64BIT)        += $(call cc-option,-mno-explicit-relocs)
  endif
  
  #
@@@ -177,7 -177,7 +177,7 @@@ cflags-$(CONFIG_CPU_MIPS64)        += 
  
  cflags-$(CONFIG_CPU_R5000)    += \
                        $(call set_gccflags,r5000,mips4,r5000,mips4,mips2) \
 -                      -Wa,--trap 
 +                      -Wa,--trap
  
  cflags-$(CONFIG_CPU_R5432)    += \
                        $(call set_gccflags,r5400,mips4,r5000,mips4,mips2) \
@@@ -423,12 -423,6 +423,12 @@@ core-$(CONFIG_PMC_YOSEMITE)      += arch/mip
  cflags-$(CONFIG_PMC_YOSEMITE) += -Iinclude/asm-mips/mach-yosemite
  load-$(CONFIG_PMC_YOSEMITE)   += 0xffffffff80100000
  
 +# Qemu simulating MIPS32 4Kc
 +#
 +core-$(CONFIG_QEMU)           += arch/mips/qemu/
 +cflags-$(CONFIG_QEMU)         += -Iinclude/asm-mips/mach-qemu
 +load-$(CONFIG_QEMU)           += 0xffffffff80010000
 +
  #
  # Momentum Ocelot-3
  #
@@@ -474,6 -468,13 +474,6 @@@ core-$(CONFIG_LASAT)              += arch/mips/lasa
  cflags-$(CONFIG_LASAT)                += -Iinclude/asm-mips/mach-lasat
  load-$(CONFIG_LASAT)          += 0xffffffff80000000
  
 -#
 -# NEC Osprey (vr4181) board
 -#
 -core-$(CONFIG_NEC_OSPREY)     += arch/mips/vr4181/common/ \
 -                                 arch/mips/vr4181/osprey/
 -load-$(CONFIG_NEC_OSPREY)     += 0xffffffff80002000
 -
  #
  # Common VR41xx
  #
@@@ -489,11 -490,13 +489,11 @@@ load-$(CONFIG_NEC_CMBVR4133)    += 0xfffff
  #
  # ZAO Networks Capcella (VR4131)
  #
 -core-$(CONFIG_ZAO_CAPCELLA)   += arch/mips/vr41xx/zao-capcella/
  load-$(CONFIG_ZAO_CAPCELLA)   += 0xffffffff80000000
  
  #
  # Victor MP-C303/304 (VR4122)
  #
 -core-$(CONFIG_VICTOR_MPC30X)  += arch/mips/vr41xx/victor-mpc30x/
  load-$(CONFIG_VICTOR_MPC30X)  += 0xffffffff80001000
  
  #
@@@ -509,9 -512,16 +509,9 @@@ core-$(CONFIG_CASIO_E55)  += arch/mips/v
  load-$(CONFIG_CASIO_E55)      += 0xffffffff80004000
  
  #
 -# TANBAC TB0226 Mbase (VR4131)
 -#
 -core-$(CONFIG_TANBAC_TB0226)  += arch/mips/vr41xx/tanbac-tb0226/
 -load-$(CONFIG_TANBAC_TB0226)  += 0xffffffff80000000
 -
 -#
 -# TANBAC TB0229 VR4131DIMM (VR4131)
 +# TANBAC VR4131 multichip module(TB0225) and TANBAC VR4131DIMM(TB0229) (VR4131)
  #
 -core-$(CONFIG_TANBAC_TB0229)  += arch/mips/vr41xx/tanbac-tb0229/
 -load-$(CONFIG_TANBAC_TB0229)  += 0xffffffff80000000
 +load-$(CONFIG_TANBAC_TB022X)  += 0xffffffff80000000
  
  #
  # SGI IP22 (Indy/Indigo2)
  #
  core-$(CONFIG_SGI_IP22)               += arch/mips/sgi-ip22/
  cflags-$(CONFIG_SGI_IP22)     += -Iinclude/asm-mips/mach-ip22
 -ifdef CONFIG_MIPS32
 +ifdef CONFIG_32BIT
  load-$(CONFIG_SGI_IP22)               += 0xffffffff88002000
  endif
 -ifdef CONFIG_MIPS64
 +ifdef CONFIG_64BIT
  load-$(CONFIG_SGI_IP22)               += 0xffffffff88004000
  endif
  
@@@ -632,7 -642,7 +632,7 @@@ load-$(CONFIG_TOSHIBA_RBTX4927)    += 0xff
  cflags-y                      += -Iinclude/asm-mips/mach-generic
  drivers-$(CONFIG_PCI)         += arch/mips/pci/
  
 -ifdef CONFIG_MIPS32
 +ifdef CONFIG_32BIT
  ifdef CONFIG_CPU_LITTLE_ENDIAN
  JIFFIES                       = jiffies_64
  else
@@@ -664,8 -674,8 +664,8 @@@ CPPFLAGS_vmlinux.lds := 
  head-y := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
  
  libs-y                        += arch/mips/lib/
 -libs-$(CONFIG_MIPS32) += arch/mips/lib-32/
 -libs-$(CONFIG_MIPS64) += arch/mips/lib-64/
 +libs-$(CONFIG_32BIT)  += arch/mips/lib-32/
 +libs-$(CONFIG_64BIT)  += arch/mips/lib-64/
  
  core-y                        += arch/mips/kernel/ arch/mips/mm/ arch/mips/math-emu/
  
@@@ -673,7 -683,7 +673,7 @@@ drivers-$(CONFIG_OPROFILE) += arch/mips
  
  ifdef CONFIG_LASAT
  rom.bin rom.sw: vmlinux
-       $(call descend,arch/mips/lasat/image,$@)
+       $(Q)$(MAKE) $(build)=arch/mips/lasat/image $@
  endif
  
  #
@@@ -720,7 -730,7 +720,7 @@@ archclean
        @$(MAKE) $(clean)=arch/mips/boot
        @$(MAKE) $(clean)=arch/mips/lasat
  
 -# Generate <asm/offset.h 
 +# Generate <asm/offset.h
  #
  # The default rule is suffering from funny problems on MIPS so we using our
  # own ...
diff --combined drivers/block/Kconfig
index 879036d4b30b60e5ddce767214c9f5b542dc1e77,7cd7bf35d0285bda0e7c4f6101eef829b670b762..6b736364cc5b886589c54a21bfdc8afdda448fe9
@@@ -408,54 -408,12 +408,12 @@@ config BLK_DEV_INITR
          "real" root file system, etc. See <file:Documentation/initrd.txt>
          for details.
  
- config INITRAMFS_SOURCE
-       string "Initramfs source file(s)"
-       default ""
-       help
-         This can be either a single cpio archive with a .cpio suffix or a
-         space-separated list of directories and files for building the
-         initramfs image.  A cpio archive should contain a filesystem archive
-         to be used as an initramfs image.  Directories should contain a
-         filesystem layout to be included in the initramfs image.  Files
-         should contain entries according to the format described by the
-         "usr/gen_init_cpio" program in the kernel tree.
-         When multiple directories and files are specified then the
-         initramfs image will be the aggregate of all of them.
-         See <file:Documentation/early-userspace/README for more details.
-         If you are not sure, leave it blank.
- config INITRAMFS_ROOT_UID
-       int "User ID to map to 0 (user root)"
-       depends on INITRAMFS_SOURCE!=""
-       default "0"
-       help
-         This setting is only meaningful if the INITRAMFS_SOURCE is
-         contains a directory.  Setting this user ID (UID) to something
-         other than "0" will cause all files owned by that UID to be
-         owned by user root in the initial ramdisk image.
-         If you are not sure, leave it set to "0".
- config INITRAMFS_ROOT_GID
-       int "Group ID to map to 0 (group root)"
-       depends on INITRAMFS_SOURCE!=""
-       default "0"
-       help
-         This setting is only meaningful if the INITRAMFS_SOURCE is
-         contains a directory.  Setting this group ID (GID) to something
-         other than "0" will cause all files owned by that GID to be
-         owned by group root in the initial ramdisk image.
-         If you are not sure, leave it set to "0".
  
  #XXX - it makes sense to enable this only for 32-bit subarch's, not for x86_64
  #for instance.
  config LBD
        bool "Support for Large Block Devices"
 -      depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH || UML
 +      depends on X86 || (MIPS && 32BIT) || PPC32 || ARCH_S390_31 || SUPERH || UML
        help
          Say Y here if you want to attach large (bigger than 2TB) discs to
          your machine, or if you want to have a raid or loopback device
diff --combined init/Kconfig
index 05a75c4f5ce2a230f9193233dd4e05737878b5bf,f27fc48c1fdc80039d59d47f3e4c02c2e6fdad67..d5a1a1228fab05632107e53152c954c0033d10f9
@@@ -77,6 -77,22 +77,22 @@@ config LOCALVERSIO
          object and source tree, in that order.  Your total string can
          be a maximum of 64 characters.
  
+ config LOCALVERSION_AUTO
+       bool "Automatically append version information to the version string"
+       default y
+       help
+         This will try to automatically determine if the current tree is a
+         release tree by looking for git tags that
+         belong to the current top of tree revision.
+         A string of the format -gxxxxxxxx will be added to the localversion
+         if a git based tree is found.  The string generated by this will be
+         appended after any matching localversion* files, and after the value
+         set in CONFIG_LOCALVERSION
+         Note: This requires Perl, and a git repository, but not necessarily
+         the git or cogito tools to be installed.
  config SWAP
        bool "Support for paging of anonymous memory (swap)"
        depends on MMU
@@@ -231,13 -247,15 +247,15 @@@ config CPUSET
        bool "Cpuset support"
        depends on SMP
        help
 -        This options will let you create and manage CPUSET's which
 +        This option will let you create and manage CPUSETs which
          allow dynamically partitioning a system into sets of CPUs and
          Memory Nodes and assigning tasks to run only within those sets.
          This is primarily useful on large SMP or NUMA systems.
  
          Say N if unsure.
  
+ source "usr/Kconfig"
  menuconfig EMBEDDED
        bool "Configure standard kernel features (for small systems)"
        help
@@@ -260,8 -278,8 +278,8 @@@ config KALLSYMS_AL
        help
           Normally kallsyms only contains the symbols of functions, for nicer
           OOPS messages.  Some debuggers can use kallsyms for other
-          symbols too: say Y here to include all symbols, and you
-          don't care about adding 300k to the size of your kernel.
+          symbols too: say Y here to include all symbols, if you need them 
+          and you don't care about adding 300k to the size of your kernel.
  
           Say N.