]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/r8168
core70: add kernel images to update.
[people/teissler/ipfire-2.x.git] / lfs / r8168
index 2a4e2abad2ca3ff3b98e7a19be3d394bef9b4880..98267370ab03dede08b2bfb6188347bc06c32d03 100644 (file)
--- a/lfs/r8168
+++ b/lfs/r8168
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2011  IPFire Team <info@ipfire.org>                      #
+# Copyright (C) 2007-2013  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.61
+       MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net
+       MODNAME = r8168.ko
+else
+       MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/realtek
+       MODNAME = r8168.ko.vendor
+endif
 
-VER        = 8.019.00
+VER        = 8.035.00
 
 THISAPP    = r8168-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -42,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = f6934fc5df1dfb5fea82e4a310568890
+$(DL_FILE)_MD5 = 80b8d23e463e5408dced1b1377579dae
 
 install : $(TARGET)
 
@@ -76,6 +84,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ SUBDIRS=$(DIR_APP)/src modules
-       cd $(DIR_APP)/src && install -m 644 r8168.ko /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net 
+       cd $(DIR_APP)/src && install -m 644 r8168.ko $(MODPATH)/$(MODNAME)
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)