]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/kvm-kmod
Add pae-kernel package.
[ipfire-2.x.git] / lfs / kvm-kmod
index 283b01aa63d81cf58d42c35969fc78114b1c5c74..e443b703447a1dfe922c582de6e2045c5ee2103c 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2010  IPFire Team <info@ipfire.org>                           #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
+ifeq "$(PAE)" "1"
+       VERSUFIX=ipfire-pae
+else
 ifeq "$(XEN)" "1"
        VERSUFIX=ipfire-xen
 else
        VERSUFIX=ipfire
 endif
+endif
 
-VER        = 2.6.31.5
+VER        = 2.6.34.1
 
 THISAPP    = kvm-kmod-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -46,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 1f5a9ec75efae079487be6db43e3a684
+$(DL_FILE)_MD5 = c227b58ee33f6035f16abd258bcd92ec
 
 install : $(TARGET)
 
@@ -82,7 +86,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && ./configure --kerneldir=/usr/src/linux
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && install -m 644 x86/*.ko \
-           /lib/modules/$(KVER)-$(VERSUFIX)/kernel/arch/x86/
+           /lib/modules/$(KVER)-$(VERSUFIX)/kernel/arch/x86/kvm/
        cd $(DIR_APP) && cp -f include/asm/* /usr/include/asm
        cd $(DIR_APP) && cp -f include/linux/* /usr/include/linux
        @rm -rf $(DIR_APP)