@@ -6,7 +6,6 @@
.*.cmd
*.ko
*.mod.c
-config.kbuild
config.mak
modules.order
Module.symvers
@@ -1,5 +1,4 @@
include config.mak
-include config.kbuild
ARCH_DIR = $(if $(filter $(ARCH),x86_64 i386),x86,$(ARCH))
ARCH_CONFIG := $(shell echo $(ARCH_DIR) | tr '[:lower:]' '[:upper:]')
@@ -72,4 +71,4 @@ clean:
$(MAKE) -C $(KERNELDIR) M=`pwd` $@
distclean: clean
- rm -f config.kbuild config.mak include/asm include-compat/asm
+ rm -f config.mak include/asm include-compat/asm
@@ -129,6 +129,3 @@ AR=$cross_prefix$ar
DEPMOD_VERSION=$depmod_version
KVM_VERSION=$(kvm_version)
EOF
-
-cat <<EOF > config.kbuild
-EOF
@@ -1,7 +1,3 @@
-# trick to get the kvm-specific CONFIG_KVM_* definitions,
-# because the kernel source tree won't have them
-include $(obj)/../config.kbuild
-
obj-m := kvm.o kvm-intel.o kvm-amd.o
kvm-objs := kvm_main.o x86.o mmu.o emulate.o ../anon_inodes.o irq.o i8259.o \
lapic.o ioapic.o preempt.o i8254.o coalesced_mmio.o irq_comm.o \