]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/e1000e
slang: revert parallelized build
[ipfire-2.x.git] / lfs / e1000e
index f046ee516c99e7795df86b910f736690050a63bf..80a3c35d48b8775a18277782704a6bb8d87f627f 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2011  IPFire Team <info@ipfire.org>                      #
+# Copyright (C) 2007-2018  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        #
@@ -25,8 +25,9 @@
 include Config
 
 VERSUFIX = ipfire$(KCFG)
+MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/intel/e1000e
 
-VER        = 1.6.3
+VER        = 3.3.3
 
 THISAPP    = e1000e-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -42,7 +43,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 9526a6c004f936506a90e10911420bf8
+$(DL_FILE)_MD5 = 01274408a0f987457600dc7993c9d59a
 
 install : $(TARGET)
 
@@ -75,12 +76,10 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        #Save original e1000e module
-       -mv /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e/e1000e.ko \
-           /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e/e1000e.ko.org
+       -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 && install -m 644 e1000e.ko \
-               /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/e1000e
+       cd $(DIR_APP)/src && make BUILD_KERNEL=$(KVER)-$(VERSUFIX)
+       cd $(DIR_APP)/src && install -m 644 e1000e.ko $(MODPATH)
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)