armsr: Move kmod-stmmac-core to common place
Move the kmod-stmmac-core package to the common place to share it with x86 later. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
aebdc73ce6
commit
1816e53062
|
@ -1542,6 +1542,26 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,sfp))
|
||||
|
||||
|
||||
define KernelPackage/stmmac-core
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
|
||||
DEPENDS:=@(TARGET_armsr_armv8) +kmod-pcs-xpcs +kmod-ptp \
|
||||
+kmod-of-mdio
|
||||
KCONFIG:=CONFIG_STMMAC_ETH \
|
||||
CONFIG_STMMAC_SELFTESTS=n \
|
||||
CONFIG_STMMAC_PLATFORM \
|
||||
CONFIG_CONFIG_DWMAC_DWC_QOS_ETH=n \
|
||||
CONFIG_DWMAC_GENERIC
|
||||
FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko \
|
||||
$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko \
|
||||
$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.ko
|
||||
AUTOLOAD=$(call AutoLoad,40,stmmac stmmac-platform dwmac-generic)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stmmac-core))
|
||||
|
||||
|
||||
define KernelPackage/igc
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Intel(R) Ethernet Controller I225 Series support
|
||||
|
|
|
@ -216,24 +216,6 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,imx7-ulp-wdt))
|
||||
|
||||
define KernelPackage/stmmac-core
|
||||
SUBMENU=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
|
||||
DEPENDS:=@(TARGET_armsr_armv8) +kmod-pcs-xpcs +kmod-ptp \
|
||||
+kmod-of-mdio
|
||||
KCONFIG:=CONFIG_STMMAC_ETH \
|
||||
CONFIG_STMMAC_SELFTESTS=n \
|
||||
CONFIG_STMMAC_PLATFORM \
|
||||
CONFIG_CONFIG_DWMAC_DWC_QOS_ETH=n \
|
||||
CONFIG_DWMAC_GENERIC
|
||||
FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac.ko \
|
||||
$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko \
|
||||
$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.ko
|
||||
AUTOLOAD=$(call AutoLoad,40,stmmac stmmac-platform dwmac-generic)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,stmmac-core))
|
||||
|
||||
define KernelPackage/dwmac-imx
|
||||
SUBMENU=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=NXP i.MX8 Ethernet controller
|
||||
|
|
Loading…
Reference in New Issue