Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jan 2011 16:27:52 +0000 (08:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jan 2011 16:27:52 +0000 (08:27 -0800)
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
  mkuboot.sh: Fail if mkimage is missing
  gen_init_cpio: checkpatch fixes
  gen_init_cpio: Avoid race between call to stat() and call to open()
  modpost: Fix address calculation in reloc_location()
  Make fixdep error handling more explicit
  checksyscalls: Fix stand-alone usage
  modpost: Put .zdebug* section on white list
  kbuild: fix interaction of CONFIG_IKCONFIG and KCONFIG_CONFIG
  kbuild: export linux/{a.out,kvm,kvm_para}.h on headers_install_all
  kbuild: introduce HDR_ARCH_LIST for headers_install_all
  headers_install: check exit status of unifdef
  gen_init_cpio: remove leading `/' from file names
  scripts/genksyms: fix header usage
  fixdep: use hash table instead of a single array

1  2 
Makefile
include/linux/Kbuild

diff --combined Makefile
+++ b/Makefile
@@@ -1,7 -1,7 +1,7 @@@
  VERSION = 2
  PATCHLEVEL = 6
  SUBLEVEL = 37
 -EXTRAVERSION = -rc1
 +EXTRAVERSION =
  NAME = Flesh-Eating Bats with Fangs
  
  # *DOCUMENTATION*
@@@ -224,6 -224,7 +224,7 @@@ ifeq ($(ARCH),m68knommu
  endif
  
  KCONFIG_CONFIG        ?= .config
+ export KCONFIG_CONFIG
  
  # SHELL used by kbuild
  CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
diff --combined include/linux/Kbuild
@@@ -20,15 -20,18 +20,18 @@@ header-y += wimax
  objhdr-y += version.h
  
  ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \
-                 $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
+                 $(srctree)/include/asm-$(SRCARCH)/a.out.h \
+                 $(INSTALL_HDR_PATH)/include/asm-*/a.out.h),)
  header-y += a.out.h
  endif
  ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \
-                 $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
+                 $(srctree)/include/asm-$(SRCARCH)/kvm.h \
+                 $(INSTALL_HDR_PATH)/include/asm-*/kvm.h),)
  header-y += kvm.h
  endif
  ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \
-                 $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),)
+                 $(srctree)/include/asm-$(SRCARCH)/kvm_para.h \
+                 $(INSTALL_HDR_PATH)/include/asm-*/kvm_para.h),)
  header-y += kvm_para.h
  endif
  
@@@ -367,6 -370,7 +370,6 @@@ header-y += utime.
  header-y += utsname.h
  header-y += veth.h
  header-y += vhost.h
 -header-y += videodev.h
  header-y += videodev2.h
  header-y += virtio_9p.h
  header-y += virtio_balloon.h