2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 10:29:53 +00:00
xcat-dep/kvm/kvm-kmod-makefix.patch

24 lines
661 B
Diff
Raw Normal View History

--- kvm-84/kernel/Makefile 2009-02-12 10:19:26.000000000 -0500
+++ kvm-84/kernel/Makefile.rpmfixes 2009-03-12 08:26:33.000000000 -0400
@@ -8,8 +8,6 @@
KVERREL = $(patsubst /lib/modules/%/build,%,$(KERNELDIR))
-DESTDIR=
-
MAKEFILE_PRE = $(ARCH_DIR)/Makefile.pre
INSTALLDIR = $(patsubst %/build,%/extra,$(KERNELDIR))
@@ -104,11 +102,6 @@
install:
mkdir -p $(DESTDIR)/$(INSTALLDIR)
cp $(ARCH_DIR)/*.ko $(DESTDIR)/$(INSTALLDIR)
- for i in $(ORIGMODDIR)/drivers/kvm/*.ko \
- $(ORIGMODDIR)/arch/$(ARCH_DIR)/kvm/*.ko; do \
- if [ -f "$$i" ]; then mv "$$i" "$$i.orig"; fi; \
- done
- /sbin/depmod -a $(DEPMOD_VERSION)
tmpspec = .tmp.kvm-kmod.spec