Merge git://git.infradead.org/~dwmw2/random-2.6

* git://git.infradead.org/~dwmw2/random-2.6:
remove dummy asm/kvm.h files
firmware: create firmware binaries during 'make modules'.

+11 -109
+1
Makefile
··· 1061 1061 $(Q)$(AWK) '!x[$$0]++' $(vmlinux-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order 1062 1062 @echo ' Building modules, stage 2.'; 1063 1063 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1064 + $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modbuild 1064 1065 1065 1066 1066 1067 # Target to prepare building external modules
-6
include/asm-alpha/kvm.h
··· 1 - #ifndef __LINUX_KVM_ALPHA_H 2 - #define __LINUX_KVM_ALPHA_H 3 - 4 - /* alpha does not support KVM */ 5 - 6 - #endif
-6
include/asm-arm/kvm.h
··· 1 - #ifndef __LINUX_KVM_ARM_H 2 - #define __LINUX_KVM_ARM_H 3 - 4 - /* arm does not support KVM */ 5 - 6 - #endif
-6
include/asm-avr32/kvm.h
··· 1 - #ifndef __LINUX_KVM_AVR32_H 2 - #define __LINUX_KVM_AVR32_H 3 - 4 - /* avr32 does not support KVM */ 5 - 6 - #endif
-6
include/asm-blackfin/kvm.h
··· 1 - #ifndef __LINUX_KVM_BLACKFIN_H 2 - #define __LINUX_KVM_BLACKFIN_H 3 - 4 - /* blackfin does not support KVM */ 5 - 6 - #endif
-6
include/asm-cris/kvm.h
··· 1 - #ifndef __LINUX_KVM_CRIS_H 2 - #define __LINUX_KVM_CRIS_H 3 - 4 - /* cris does not support KVM */ 5 - 6 - #endif
-6
include/asm-frv/kvm.h
··· 1 - #ifndef __LINUX_KVM_FRV_H 2 - #define __LINUX_KVM_FRV_H 3 - 4 - /* frv does not support KVM */ 5 - 6 - #endif
+2
include/asm-generic/Kbuild.asm
··· 1 + ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/kvm.h),) 1 2 header-y += kvm.h 3 + endif 2 4 3 5 ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/a.out.h),) 4 6 unifdef-y += a.out.h
-6
include/asm-h8300/kvm.h
··· 1 - #ifndef __LINUX_KVM_H8300_H 2 - #define __LINUX_KVM_H8300_H 3 - 4 - /* h8300 does not support KVM */ 5 - 6 - #endif
-6
include/asm-m32r/kvm.h
··· 1 - #ifndef __LINUX_KVM_M32R_H 2 - #define __LINUX_KVM_M32R_H 3 - 4 - /* m32r does not support KVM */ 5 - 6 - #endif
-6
include/asm-m68k/kvm.h
··· 1 - #ifndef __LINUX_KVM_M68K_H 2 - #define __LINUX_KVM_M68K_H 3 - 4 - /* m68k does not support KVM */ 5 - 6 - #endif
-6
include/asm-m68knommu/kvm.h
··· 1 - #ifndef __LINUX_KVM_M68KNOMMU_H 2 - #define __LINUX_KVM_M68KNOMMU_H 3 - 4 - /* m68knommu does not support KVM */ 5 - 6 - #endif
-6
include/asm-mips/kvm.h
··· 1 - #ifndef __LINUX_KVM_MIPS_H 2 - #define __LINUX_KVM_MIPS_H 3 - 4 - /* mips does not support KVM */ 5 - 6 - #endif
-6
include/asm-mn10300/kvm.h
··· 1 - #ifndef __LINUX_KVM_MN10300_H 2 - #define __LINUX_KVM_MN10300_H 3 - 4 - /* mn10300 does not support KVM */ 5 - 6 - #endif
-6
include/asm-parisc/kvm.h
··· 1 - #ifndef __LINUX_KVM_PARISC_H 2 - #define __LINUX_KVM_PARISC_H 3 - 4 - /* parisc does not support KVM */ 5 - 6 - #endif
-1
include/asm-s390/Kbuild
··· 7 7 header-y += ucontext.h 8 8 header-y += vtoc.h 9 9 header-y += zcrypt.h 10 - header-y += kvm.h 11 10 header-y += chsc.h 12 11 13 12 unifdef-y += cmb.h
-6
include/asm-sh/kvm.h
··· 1 - #ifndef __LINUX_KVM_SH_H 2 - #define __LINUX_KVM_SH_H 3 - 4 - /* sh does not support KVM */ 5 - 6 - #endif
-6
include/asm-sparc/kvm.h
··· 1 - #ifndef __LINUX_KVM_SPARC_H 2 - #define __LINUX_KVM_SPARC_H 3 - 4 - /* sparc does not support KVM */ 5 - 6 - #endif
-1
include/asm-sparc64/kvm.h
··· 1 - #include <asm-sparc/kvm.h>
-6
include/asm-um/kvm.h
··· 1 - #ifndef __LINUX_KVM_UM_H 2 - #define __LINUX_KVM_UM_H 3 - 4 - /* um does not support KVM */ 5 - 6 - #endif
-1
include/asm-x86/Kbuild
··· 3 3 header-y += boot.h 4 4 header-y += bootparam.h 5 5 header-y += debugreg.h 6 - header-y += kvm.h 7 6 header-y += ldt.h 8 7 header-y += msr-index.h 9 8 header-y += prctl.h
-6
include/asm-xtensa/kvm.h
··· 1 - #ifndef __LINUX_KVM_XTENSA_H 2 - #define __LINUX_KVM_XTENSA_H 3 - 4 - /* xtensa does not support KVM */ 5 - 6 - #endif
+2
include/linux/Kbuild
··· 255 255 unifdef-y += kernelcapi.h 256 256 unifdef-y += kernel.h 257 257 unifdef-y += keyboard.h 258 + ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/kvm.h),) 258 259 unifdef-y += kvm.h 260 + endif 259 261 unifdef-y += llc.h 260 262 unifdef-y += loop.h 261 263 unifdef-y += lp.h
+6 -4
scripts/Makefile.fwinst
··· 17 17 18 18 include scripts/Makefile.host 19 19 20 - mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-m)) 21 - 20 + mod-fw := $(fw-shipped-m) 22 21 # If CONFIG_FIRMWARE_IN_KERNEL isn't set, then install the 23 22 # firmware for in-kernel drivers too. 24 23 ifndef CONFIG_FIRMWARE_IN_KERNEL 25 - mod-fw += $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-y)) 24 + mod-fw += $(fw-shipped-y) 26 25 endif 26 + 27 + installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw)) 27 28 28 29 installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all)) 29 30 installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/. ··· 50 49 .PHONY: $(PHONY) 51 50 52 51 __fw_install: $(installed-fw) 53 - __fw_modinst: $(mod-fw) 52 + __fw_modinst: $(installed-mod-fw) 53 + __fw_modbuild: $(addprefix $(obj)/,$(mod-fw)) 54 54 55 55 FORCE: 56 56