ramips: make package kmod-sdhci-mt7620 conflict with kmod-mmc-mtk

These two packages are SDXC drivers for Mediatek mt762x series SoCs.
One is upstream implementation, and the other is downstream driver.
Installing them together will result in conflicts.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17446
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang 2025-01-01 16:17:08 +08:00 committed by Hauke Mehrtens
parent f5996ae947
commit 0764e30082

View File

@ -47,6 +47,7 @@ $(eval $(call KernelPackage,pwm-mediatek-ramips))
define KernelPackage/sdhci-mt7620 define KernelPackage/sdhci-mt7620
SUBMENU:=Other modules SUBMENU:=Other modules
TITLE:=MT7620 SDCI TITLE:=MT7620 SDCI
CONFLICTS:=kmod-mmc-mtk
DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt76x8||TARGET_ramips_mt7621) +kmod-mmc DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt76x8||TARGET_ramips_mt7621) +kmod-mmc
KCONFIG:= \ KCONFIG:= \
CONFIG_MTK_MMC \ CONFIG_MTK_MMC \