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.

73 lines
2.8 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../hostap/hostap-driver_nodepmod.diff
  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. --- hostap-driver-0.4.7/Makefile.orig 2005-03-19 05:17:28.000000000 +0100
  17. +++ hostap-driver-0.4.7/Makefile 2006-05-04 10:27:33.000000000 +0200
  18. @@ -98,6 +99,7 @@
  19. endif
  20. 2.4:
  21. + echo "Kernelver: $(KERNELVER) Kernelrelease: $(KERNELRELEASE) Modpath: $(MODPATH)"
  22. @if ! echo "$(KERNELRELEASE)" | grep -q "^2\.4"; then \
  23. echo "*** Can't build for 2.4 with a non-2.4 source!"; \
  24. exit 1; \
  25. @@ -106,6 +108,7 @@
  26. $(MAKE) install_all_info
  27. 2.6:
  28. + echo "Kernelver: $(KERNELVER) Kernelrelease: $(KERNELRELEASE) Modpath: $(MODPATH)"
  29. @if ! echo "$(KERNELRELEASE)" | grep -q "^2\.6" && \
  30. ! echo "$(KERNELRELEASE)" | grep -q "^2\.5"; then \
  31. echo "*** Can't build for 2.6 with a non-2.6 source!"; \
  32. @@ -150,12 +153,7 @@
  33. @if [ -r $(MODPATH)/kernel/drivers/net/wireless/hostap_crypt.ko ]; then \
  34. echo "You may need to remove old $(MODPATH)/kernel/drivers/net/wireless/hostap_crypt.ko"; \
  35. fi
  36. - @if [ -f "/boot/System.map-$(KERNELRELEASE)" ] || [ "$(CURRENTKV)" = "$(KERNELRELEASE)" ]; then \
  37. - echo "*** Running depmod..."; \
  38. - /sbin/depmod -ae; \
  39. - else \
  40. - echo "*** I won't run depmod because I can't find an appropriate System.map file or you are not running the same kernel as the one you are building against. Please run it manually when the conditions are correct..."; \
  41. - fi
  42. + echo "T2: not running depmod in build."
  43. install_hostap: $(MSRC)/hostap.o
  44. @echo "Installing hostap.o to $(MODPATH_PCI)"
  45. @@ -175,7 +173,7 @@
  46. mkdir -p $(MODPATH_CS)
  47. cp -f $(MSRC)/$(MODULE_CS) $(MODPATH_CS)
  48. ifndef DESTDIR
  49. - /sbin/depmod -ae
  50. + echo "T2: not running depmod in build."
  51. endif
  52. install_conf:
  53. @@ -191,13 +189,13 @@
  54. @echo "Installing $(MODULE_PLX) to $(MODPATH_PLX)"
  55. mkdir -p $(MODPATH_PLX)
  56. cp -f $(MSRC)/$(MODULE_PLX) $(MODPATH_PLX)
  57. - /sbin/depmod -ae
  58. + echo "T2: not running depmod in build."
  59. install_pci: install_check install_crypt install_hostap
  60. @echo "Installing $(MODULE_PCI) to $(MODPATH_PCI)"
  61. mkdir -p $(MODPATH_PCI)
  62. cp -f $(MSRC)/$(MODULE_PCI) $(MODPATH_PCI)
  63. - /sbin/depmod -ae
  64. + echo "T2: not running depmod in build."
  65. uninstall:
  66. find $(MODPATH) -name "hostap*" | xargs rm -f