[openwrt/openwrt] armsr: Fix kmod-fsl-dpaa2-net build
LEDE Commits
lede-commits at lists.infradead.org
Wed Mar 12 15:57:08 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8d69613125e037d00a4d202e1fb26bfe6548b6b9
commit 8d69613125e037d00a4d202e1fb26bfe6548b6b9
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Wed Mar 12 23:54:38 2025 +0100
armsr: Fix kmod-fsl-dpaa2-net build
The build failed because the CONFIG_FSL_DPAA2_ETH_DCB option was not
set. Activate this option to build the driver with DCB support when it
is available.
Fixes: 40f1db9cb11d ("kernel: Add KERNEL_DCB (Data Center Bridging)")
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/armsr/modules.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/armsr/modules.mk b/target/linux/armsr/modules.mk
index 692fb9fa68..d570d7f74e 100644
--- a/target/linux/armsr/modules.mk
+++ b/target/linux/armsr/modules.mk
@@ -128,7 +128,8 @@ define KernelPackage/fsl-dpaa2-net
+kmod-fsl-pcs-lynx +kmod-fsl-mc-dpio
KCONFIG:= \
CONFIG_FSL_MC_UAPI_SUPPORT=y \
- CONFIG_FSL_DPAA2_ETH
+ CONFIG_FSL_DPAA2_ETH \
+ CONFIG_FSL_DPAA2_ETH_DCB=y
FILES:= \
$(LINUX_DIR)/drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.ko
AUTOLOAD=$(call AutoLoad,35,fsl-dpaa2-eth)
More information about the lede-commits
mailing list