openwrt/target/linux/bcm47xx/modules.mk
Adrian Schmutzler 598b29585e target: use SPDX license identifiers on Makefiles
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-10 15:47:18 +01:00

22 lines
641 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2012 OpenWrt.org
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))