X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fr8101;h=85d39007b871c65b5222adaf8dea66beed1abb1c;hb=3af89eb5857600d79926ac2c4bf032d239422536;hp=252b18fd748ac8c8280497bf6d5fcbce2dd266c0;hpb=5111b6c08b568300c50cb3079ed7d8b6976e17e1;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/r8101 b/lfs/r8101 index 252b18fd7..85d39007b 100644 --- a/lfs/r8101 +++ b/lfs/r8101 @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2007-2012 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,13 +24,15 @@ include Config -ifeq "$(XEN)" "1" - VERSUFIX = ipfire-xen +VERSUFIX = ipfire$(KCFG) +ifeq "$(KCFG)" "-xen" + KVER = 2.6.32.60 + MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net else - VERSUFIX = ipfire + MODPATH = /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net/ethernet/realtek endif -VER = 1.016.00 +VER = 1.023.00 THISAPP = r8101-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -46,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 5885e0f20cf8a87566f1fb99b5113b72 +$(DL_FILE)_MD5 = 03cfc34e41522cd34ac6f4b1b6508896 install : $(TARGET) @@ -81,6 +83,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/r8101_add_missing_pciids.patch cd $(DIR_APP) && make -C /lib/modules/$(KVER)-$(VERSUFIX)/build/ SUBDIRS=$(DIR_APP)/src modules - cd $(DIR_APP)/src && install -m 644 r8101.ko /lib/modules/$(KVER)-$(VERSUFIX)/kernel/drivers/net + cd $(DIR_APP)/src && install -m 644 r8101.ko $(MODPATH) @rm -rf $(DIR_APP) @$(POSTBUILD)