Skip to content

Commit

Permalink
Merge git://git.infradead.org/~dwmw2/random-2.6
Browse files Browse the repository at this point in the history
* git://git.infradead.org/~dwmw2/random-2.6:
  remove dummy asm/kvm.h files
  firmware: create firmware binaries during 'make modules'.
  • Loading branch information
torvalds committed Jul 25, 2008
2 parents c6af5e9 + 7dcf2a9 commit 762b829
Show file tree
Hide file tree
Showing 24 changed files with 11 additions and 109 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,7 @@ modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux)
$(Q)$(AWK) '!x[$$0]++' $(vmlinux-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order
@echo ' Building modules, stage 2.';
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modbuild


# Target to prepare building external modules
Expand Down
6 changes: 0 additions & 6 deletions include/asm-alpha/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-arm/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-avr32/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-blackfin/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-cris/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-frv/kvm.h

This file was deleted.

2 changes: 2 additions & 0 deletions include/asm-generic/Kbuild.asm
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
header-y += kvm.h
endif

ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
unifdef-y += a.out.h
Expand Down
6 changes: 0 additions & 6 deletions include/asm-h8300/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-m32r/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-m68k/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-m68knommu/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-mips/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-mn10300/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-parisc/kvm.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-s390/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ header-y += tape390.h
header-y += ucontext.h
header-y += vtoc.h
header-y += zcrypt.h
header-y += kvm.h
header-y += chsc.h

unifdef-y += cmb.h
Expand Down
6 changes: 0 additions & 6 deletions include/asm-sh/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-sparc/kvm.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-sparc64/kvm.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-um/kvm.h

This file was deleted.

1 change: 0 additions & 1 deletion include/asm-x86/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ include include/asm-generic/Kbuild.asm
header-y += boot.h
header-y += bootparam.h
header-y += debugreg.h
header-y += kvm.h
header-y += ldt.h
header-y += msr-index.h
header-y += prctl.h
Expand Down
6 changes: 0 additions & 6 deletions include/asm-xtensa/kvm.h

This file was deleted.

2 changes: 2 additions & 0 deletions include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ unifdef-y += kd.h
unifdef-y += kernelcapi.h
unifdef-y += kernel.h
unifdef-y += keyboard.h
ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
unifdef-y += kvm.h
endif
unifdef-y += llc.h
unifdef-y += loop.h
unifdef-y += lp.h
Expand Down
10 changes: 6 additions & 4 deletions scripts/Makefile.fwinst
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ include $(srctree)/$(obj)/Makefile

include scripts/Makefile.host

mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-m))

mod-fw := $(fw-shipped-m)
# If CONFIG_FIRMWARE_IN_KERNEL isn't set, then install the
# firmware for in-kernel drivers too.
ifndef CONFIG_FIRMWARE_IN_KERNEL
mod-fw += $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-y))
mod-fw += $(fw-shipped-y)
endif

installed-mod-fw := $(addprefix $(INSTALL_FW_PATH)/,$(mod-fw))

installed-fw := $(addprefix $(INSTALL_FW_PATH)/,$(fw-shipped-all))
installed-fw-dirs := $(sort $(dir $(installed-fw))) $(INSTALL_FW_PATH)/.

Expand All @@ -49,7 +50,8 @@ PHONY += __fw_install __fw_modinst FORCE
.PHONY: $(PHONY)

__fw_install: $(installed-fw)
__fw_modinst: $(mod-fw)
__fw_modinst: $(installed-mod-fw)
__fw_modbuild: $(addprefix $(obj)/,$(mod-fw))

FORCE:

Expand Down

0 comments on commit 762b829

Please sign in to comment.