ramips: fix mt76x8 dependencies

The commit merging mt7628 and mt7688 failed to update some
dependencies.

Signed-off-by: John Crispin <john@phrozen.org>
v19.07.3_mercusys_ac12_duma
John Crispin 7 years ago
parent 69323a0c07
commit 5117911d91

@ -96,7 +96,7 @@ endef
define KernelPackage/mt7603/install define KernelPackage/mt7603/install
$(INSTALL_DIR) $(1)/lib/firmware $(INSTALL_DIR) $(1)/lib/firmware
cp $(if $(CONFIG_TARGET_ramips_mt7628)$(CONFIG_TARGET_ramips_mt7688), \ cp $(if $(CONFIG_TARGET_ramips_mt76x8), \
$(PKG_BUILD_DIR)/firmware/mt7628_e1.bin \ $(PKG_BUILD_DIR)/firmware/mt7628_e1.bin \
$(PKG_BUILD_DIR)/firmware/mt7628_e2.bin \ $(PKG_BUILD_DIR)/firmware/mt7628_e2.bin \
,\ ,\

@ -10,7 +10,7 @@ OTHER_MENU:=Other modules
define KernelPackage/pwm-mediatek define KernelPackage/pwm-mediatek
SUBMENU:=Other modules SUBMENU:=Other modules
TITLE:=MT7628 PWM TITLE:=MT7628 PWM
DEPENDS:=@(TARGET_ramips_mt7628||TARGET_ramips_mt7688) DEPENDS:=@(TARGET_ramips_mt76x8)
KCONFIG:= \ KCONFIG:= \
CONFIG_PWM=y \ CONFIG_PWM=y \
CONFIG_PWM_MEDIATEK \ CONFIG_PWM_MEDIATEK \
@ -29,7 +29,7 @@ $(eval $(call KernelPackage,pwm-mediatek))
define KernelPackage/sdhci-mt7620 define KernelPackage/sdhci-mt7620
SUBMENU:=Other modules SUBMENU:=Other modules
TITLE:=MT7620 SDCI 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:= \ KCONFIG:= \
CONFIG_MTK_MMC \ CONFIG_MTK_MMC \
CONFIG_MTK_AEE_KDUMP=n \ CONFIG_MTK_AEE_KDUMP=n \
@ -48,7 +48,7 @@ define KernelPackage/i2c-ralink
$(call i2c_defaults,$(I2C_RALINK_MODULES),59) $(call i2c_defaults,$(I2C_RALINK_MODULES),59)
TITLE:=Ralink I2C Controller TITLE:=Ralink I2C Controller
DEPENDS:=kmod-i2c-core @TARGET_ramips \ DEPENDS:=kmod-i2c-core @TARGET_ramips \
@!(TARGET_ramips_mt7621||TARGET_ramips_mt7628||TARGET_ramips_mt7688) @!(TARGET_ramips_mt7621||TARGET_ramips_mt76x8)
endef endef
define KernelPackage/i2c-ralink/description define KernelPackage/i2c-ralink/description
@ -65,7 +65,7 @@ define KernelPackage/i2c-mt7628
$(call i2c_defaults,$(I2C_MT7621_MODULES),59) $(call i2c_defaults,$(I2C_MT7621_MODULES),59)
TITLE:=MT7628/88 I2C Controller TITLE:=MT7628/88 I2C Controller
DEPENDS:=kmod-i2c-core \ DEPENDS:=kmod-i2c-core \
@(TARGET_ramips_mt7628||TARGET_ramips_mt7688) @(TARGET_ramips_mt76x8)
endef endef
define KernelPackage/i2c-mt7628/description define KernelPackage/i2c-mt7628/description

Loading…
Cancel
Save