Advertisement
Guest User

Untitled

a guest
Oct 28th, 2012
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.98 KB | None | 0 0
  1. ################################################################################
  2. #
  3. # r8168 is the Linux device driver released for RealTek RTL8168B/8111B,
  4. # RTL8168C/8111C, RTL8168CP/8111CP, RTL8168D/8111D, and RTL8168DP/8111DP
  5. # Gigabit Ethernet controllers with PCI-Express interface.
  6. #
  7. # Copyright(c) 2012 Realtek Semiconductor Corp. All rights reserved.
  8. #
  9. # This program is free software; you can redistribute it and/or modify it
  10. # under the terms of the GNU General Public License as published by the Free
  11. # Software Foundation; either version 2 of the License, or (at your option)
  12. # any later version.
  13. #
  14. # This program is distributed in the hope that it will be useful, but WITHOUT
  15. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  16. # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  17. # more details.
  18. #
  19. # You should have received a copy of the GNU General Public License along with
  20. # this program; if not, see <http://www.gnu.org/licenses/>.
  21. #
  22. # Author:
  23. # Realtek NIC software team <nicfae@realtek.com>
  24. # No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan
  25. #
  26. ################################################################################
  27.  
  28. ################################################################################
  29. # This product is covered by one or more of the following patents:
  30. # US5,307,459, US5,434,872, US5,732,094, US6,570,884, US6,115,776, and US6,327,625.
  31. ################################################################################
  32.  
  33. KFLAG := 2$(shell uname -r | sed -ne 's/^2\.[4]\..*/4/p')x
  34.  
  35. all: clean modules install
  36.  
  37. modules:
  38. ifeq ($(KFLAG),24x)
  39.     $(MAKE) -C src/ -f Makefile_linux24x modules
  40. else
  41.     $(MAKE) -C src/ modules
  42. endif
  43.  
  44. clean:
  45. ifeq ($(KFLAG),24x)
  46.     $(MAKE) -C src/ -f Makefile_linux24x clean
  47. else
  48.     $(MAKE) -C src/ -f Makefile clean
  49. endif
  50.  
  51. install:
  52. ifeq ($(KFLAG),24x)
  53.     $(MAKE) -C src/ -f Makefile_linux24x install
  54. else
  55.     $(MAKE) -C src/ -f Makefile install
  56. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement