X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fkvm-kmod;h=0280b5e69a43afc986886be355e93d0002134d15;hb=fdf0c7c15d675a0f59939c6d228223962946f324;hp=e443b703447a1dfe922c582de6e2045c5ee2103c;hpb=59093c5ec474be7eb22c17a8f1cb0c1922f1f93a;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/kvm-kmod b/lfs/kvm-kmod index e443b7034..0280b5e69 100644 --- a/lfs/kvm-kmod +++ b/lfs/kvm-kmod @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2007-2011 IPFire Team # # # # 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 # @@ -24,23 +24,16 @@ include Config -ifeq "$(PAE)" "1" - VERSUFIX=ipfire-pae -else -ifeq "$(XEN)" "1" - VERSUFIX=ipfire-xen -else - VERSUFIX=ipfire -endif -endif +VERSUFIX=ipfire$(KCFG) -VER = 2.6.34.1 +VER = 3.0b THISAPP = kvm-kmod-$(VER) DL_FILE = $(THISAPP).tar.bz2 DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX) +SUP_ARCH = i586 ############################################################################### # Top-level Rules @@ -50,7 +43,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c227b58ee33f6035f16abd258bcd92ec +$(DL_FILE)_MD5 = 19792041adc25779b31ea5c5fdca7d8c install : $(TARGET) @@ -83,6 +76,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)_remove_pvclock_scale_delta_redefinition.patch cd $(DIR_APP) && ./configure --kerneldir=/usr/src/linux cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && install -m 644 x86/*.ko \