openwrt/target/linux/bcm47xx/modules.mk
Adrian Schmutzler 8fe5ad5d33 brcm47xx: rename target to bcm47xx
This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-02-14 14:10:51 +01:00

25 lines
717 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_bcm47xx @!TARGET_bcm47xx_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))