openwrtv4/target/linux/brcm47xx/modules.mk
Rafał Miłecki 11c41a0ea9 brcm47xx: fix bgmac package
With all recent patches & changes it needs more modules.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-01-04 11:55:39 +01:00

24 lines
719 B
Makefile

#
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define KernelPackage/bgmac
TITLE:=Broadcom bgmac driver
KCONFIG:=CONFIG_BGMAC CONFIG_BGMAC_BCMA
DEPENDS:=@TARGET_brcm47xx @!TARGET_brcm47xx_legacy
SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:= \
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma.ko \
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.ko \
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
AUTOLOAD:=$(call AutoProbe,bgmac-bcma)
endef
define KernelPackage/bgmac/description
Kernel modules for Broadcom bgmac Ethernet adapters.
endef
$(eval $(call KernelPackage,bgmac))