modules.mk 719 B

123456789101112131415161718192021222324
  1. #
  2. # Copyright (C) 2006-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. define KernelPackage/bgmac
  8. TITLE:=Broadcom bgmac driver
  9. KCONFIG:=CONFIG_BGMAC CONFIG_BGMAC_BCMA
  10. DEPENDS:=@TARGET_brcm47xx @!TARGET_brcm47xx_legacy
  11. SUBMENU:=$(NETWORK_DEVICES_MENU)
  12. FILES:= \
  13. $(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma.ko \
  14. $(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.ko \
  15. $(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
  16. AUTOLOAD:=$(call AutoProbe,bgmac-bcma)
  17. endef
  18. define KernelPackage/bgmac/description
  19. Kernel modules for Broadcom bgmac Ethernet adapters.
  20. endef
  21. $(eval $(call KernelPackage,bgmac))