OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../rt2570/dist.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- rt2570/Module/Makefile.orig 2005-08-19 01:18:00.000000000 +0200
  17. +++ rt2570/Module/Makefile 2005-08-19 06:43:57.000000000 +0200
  18. @@ -111,41 +111,15 @@
  19. @rm -fr .tmp_versions
  20. modules_install:
  21. -ifeq ($(PATCHLEVEL),4)
  22. if ! [ -f $(MODULE_OBJECT) ]; then \
  23. module; \
  24. fi
  25. @echo "install '$(MODULE_OBJECT)' to $(MODULE_ROOT)"
  26. install -m 755 -o 0 -g 0 -d $(MODULE_ROOT)
  27. install -m 644 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT)
  28. - /sbin/depmod -a
  29. -else
  30. - echo "2.6 module install"
  31. - make $(KBUILD_PARAMS) modules_install
  32. - /sbin/depmod -a
  33. -endif
  34. -
  35. install: modules_install
  36. - @if ! grep -q 'rausb0' $(MODULE_CONF) ; then \
  37. - echo "append 'alias rausb0 rt2570' to $(MODULE_CONF)"; \
  38. - echo "alias rausb0 rt2570" >> $(MODULE_CONF) ; \
  39. - fi
  40. -install-fedora:
  41. - if ! [ -f $(MODULE_OBJECT) ]; then \
  42. - module; \
  43. - fi
  44. - @echo "install '$(MODULE_OBJECT)' to $(MODULE_ROOT)"
  45. - install -m 755 -o 0 -g 0 -d $(MODULE_ROOT)
  46. - install -m 644 -o 0 -g 0 $(MODULE_OBJECT) $(MODULE_ROOT)
  47. - /sbin/depmod -a
  48. -
  49. - @if ! grep -q 'wlan0' /etc/modprobe.conf ; then \
  50. - echo "append 'alias wlan0 rt2570' to /etc/modprobe.conf"; \
  51. - echo "alias wlan0 rt2570" >> /etc/modprobe.conf ; \
  52. - echo "options rt2570 ifname=wlan%d" >> /etc/modprobe.conf ; \
  53. - fi
  54. ifeq ($(PATCHLEVEL), 4)
  55. include $(KERNEL_SOURCES)/Rules.make
  56. endif