Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Makefile fragment for Broadcom 802.11n Networking Device Driver
  3. #
  4. # Copyright (c) 2010 Broadcom Corporation
  5. #
  6. # Permission to use, copy, modify, and/or distribute this software for any
  7. # purpose with or without fee is hereby granted, provided that the above
  8. # copyright notice and this permission notice appear in all copies.
  9. #
  10. # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  11. # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  12. # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  13. # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  14. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  15. # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  16. # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  17. ccflags-y := \
  18. -D__CHECK_ENDIAN__ \
  19. -Idrivers/net/wireless/brcm80211/brcmsmac \
  20. -Idrivers/net/wireless/brcm80211/brcmsmac/phy \
  21. -Idrivers/net/wireless/brcm80211/include
  22. brcmsmac-y := \
  23. mac80211_if.o \
  24. ucode_loader.o \
  25. ampdu.o \
  26. antsel.o \
  27. channel.o \
  28. main.o \
  29. phy_shim.o \
  30. pmu.o \
  31. rate.o \
  32. stf.o \
  33. aiutils.o \
  34. phy/phy_cmn.o \
  35. phy/phy_lcn.o \
  36. phy/phy_n.o \
  37. phy/phytbl_lcn.o \
  38. phy/phytbl_n.o \
  39. phy/phy_qmath.o \
  40. dma.o \
  41. brcms_trace_events.o \
  42. debug.o
  43. brcmsmac-$(CONFIG_BCMA_DRIVER_GPIO) += led.o
  44. obj-$(CONFIG_BRCMSMAC) += brcmsmac.o