###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2010 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
-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
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f6934fc5df1dfb5fea82e4a310568890
+$(DL_FILE)_MD5 = 80b8d23e463e5408dced1b1377579dae
install : $(TARGET)
@$(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)