X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fr8168;h=98267370ab03dede08b2bfb6188347bc06c32d03;hp=a80d15694d4ab15b1e1e60329e83107d55324151;hb=8b48e20bb3ecf9f4c56d040f9e91fccb5e859313;hpb=50f696157ff447b332b92588588dbfa5cf98fef3 diff --git a/lfs/r8168 b/lfs/r8168 index a80d15694d..98267370ab 100644 --- a/lfs/r8168 +++ b/lfs/r8168 @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2007-2013 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,17 +24,17 @@ include Config -ifeq "$(PAE)" "1" - VERSUFIX = ipfire-pae +VERSUFIX = ipfire$(KCFG) +ifeq "$(KCFG)" "-xen" + KVER = 2.6.32.61 + MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net + MODNAME = r8168.ko else -ifeq "$(XEN)" "1" - VERSUFIX = ipfire-xen -else - VERSUFIX = ipfire -endif + 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 @@ -50,7 +50,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = f6934fc5df1dfb5fea82e4a310568890 +$(DL_FILE)_MD5 = 80b8d23e463e5408dced1b1377579dae install : $(TARGET) @@ -84,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)