X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fkvm-kmod;h=90bd790a9d0e4dac33f448fe7fa836f3a57ac977;hb=36d809efb637c618359f40c1ecd8d820fcb2c882;hp=283b01aa63d81cf58d42c35969fc78114b1c5c74;hpb=9dfa84ec02919f45bf9c8142a7bd08f6a6173841;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/kvm-kmod b/lfs/kvm-kmod index 283b01aa6..90bd790a9 100644 --- a/lfs/kvm-kmod +++ b/lfs/kvm-kmod @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# 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,19 +24,16 @@ include Config -ifeq "$(XEN)" "1" - VERSUFIX=ipfire-xen -else - VERSUFIX=ipfire -endif +VERSUFIX=ipfire$(KCFG) -VER = 2.6.31.5 +VER = 3.6 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 @@ -46,7 +43,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 1f5a9ec75efae079487be6db43e3a684 +$(DL_FILE)_MD5 = 3e51d395d6a0ecac6ae600a0515880c2 install : $(TARGET) @@ -82,7 +79,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)