X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fmodules.mk;h=88e83a487f6f60e82c2c427b3ea0531af61d7bac;hp=524b1ef4fd2c787d8fbdeb5b914d17a792037098;hb=dda5d9b78643ca2a943759278c2ef50d595cb509;hpb=a93a48328d092e4d097bf6b218dfe531d92b803a diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk index 524b1ef4fd..88e83a487f 100644 --- a/target/linux/ramips/modules.mk +++ b/target/linux/ramips/modules.mk @@ -7,29 +7,29 @@ OTHER_MENU:=Other modules -define KernelPackage/pwm-mediatek +define KernelPackage/pwm-mediatek-ramips SUBMENU:=Other modules TITLE:=MT7628 PWM - DEPENDS:=@(TARGET_ramips_mt7628||TARGET_ramips_mt7688) + DEPENDS:=@(TARGET_ramips_mt76x8) KCONFIG:= \ CONFIG_PWM=y \ - CONFIG_PWM_MEDIATEK \ + CONFIG_PWM_MEDIATEK_RAMIPS \ CONFIG_PWM_SYSFS=y FILES:= \ - $(LINUX_DIR)/drivers/pwm/pwm-mediatek.ko - AUTOLOAD:=$(call AutoProbe,pwm-mediatek) + $(LINUX_DIR)/drivers/pwm/pwm-mediatek-ramips.ko + AUTOLOAD:=$(call AutoProbe,pwm-mediatek-ramips) endef define KernelPackage/pwm-mediatek/description Kernel modules for MediaTek Pulse Width Modulator endef -$(eval $(call KernelPackage,pwm-mediatek)) +$(eval $(call KernelPackage,pwm-mediatek-ramips)) define KernelPackage/sdhci-mt7620 SUBMENU:=Other modules TITLE:=MT7620 SDCI - DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt7628||TARGET_ramips_mt7621||TARGET_ramips_mt7688) +kmod-mmc + DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt76x8||TARGET_ramips_mt7621) +kmod-mmc KCONFIG:= \ CONFIG_MTK_MMC \ CONFIG_MTK_AEE_KDUMP=n \ @@ -48,7 +48,7 @@ define KernelPackage/i2c-ralink $(call i2c_defaults,$(I2C_RALINK_MODULES),59) TITLE:=Ralink I2C Controller DEPENDS:=kmod-i2c-core @TARGET_ramips \ - @!(TARGET_ramips_mt7621||TARGET_ramips_mt7628||TARGET_ramips_mt7688) + @!(TARGET_ramips_mt7621||TARGET_ramips_mt76x8) endef define KernelPackage/i2c-ralink/description @@ -65,7 +65,7 @@ define KernelPackage/i2c-mt7628 $(call i2c_defaults,$(I2C_MT7621_MODULES),59) TITLE:=MT7628/88 I2C Controller DEPENDS:=kmod-i2c-core \ - @(TARGET_ramips_mt7628||TARGET_ramips_mt7688) + @(TARGET_ramips_mt76x8) endef define KernelPackage/i2c-mt7628/description @@ -120,10 +120,12 @@ define KernelPackage/sound-mt7620 KCONFIG:= \ CONFIG_SND_RALINK_SOC_I2S \ CONFIG_SND_SIMPLE_CARD \ + CONFIG_SND_SIMPLE_CARD_UTILS \ CONFIG_SND_SOC_WM8960 FILES:= \ $(LINUX_DIR)/sound/soc/ralink/snd-soc-ralink-i2s.ko \ $(LINUX_DIR)/sound/soc/generic/snd-soc-simple-card.ko \ + $(LINUX_DIR)/sound/soc/generic/snd-soc-simple-card-utils.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko AUTOLOAD:=$(call AutoLoad,90,snd-soc-wm8960 snd-soc-ralink-i2s snd-soc-simple-card) $(call AddDepends/sound)