]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/e1000e
Intel-lan: updated e1000 and igb vendor driver.
[people/teissler/ipfire-2.x.git] / lfs / e1000e
index 42f26380331d6e6f4e11c217bc22331f798b8f0d..58c99c43c8bcff1e736c7537d12c4b97cdd48475 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2012  IPFire Team <info@ipfire.org>                      #
+# Copyright (C) 2007-2014  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
 
 VERSUFIX = ipfire$(KCFG)
-ifeq "$(KCFG)" "-xen"
-       KVER = 2.6.32.60
-       MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e
-else
-       MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/intel/e1000e
-endif
+MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e
 
-VER        = 2.1.4
+VER        = 2.5.4
 
 THISAPP    = e1000e-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -48,7 +43,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = e8dba81bfc86c6c75f39d025fb70899f
+$(DL_FILE)_MD5 = 8a57fc73335bf1ab0e16a02ecccdae76
 
 install : $(TARGET)
 
@@ -84,8 +79,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        -mv $(MODPATH)/e1000e.ko \
            $(MODPATH)/e1000e.ko.org
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP)/src && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ \
-               SUBDIRS=$(DIR_APP)/src modules
+       cd $(DIR_APP)/src && make BUILD_KERNEL=$(KVER)-$(VERSUFIX)
        cd $(DIR_APP)/src && install -m 644 e1000e.ko $(MODPATH)
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)