From d818da7f77c8cd7fe8e66fb2e2ecd0590b1e9e8e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 4 Jul 2016 20:25:13 +0200 Subject: mvebu: enable core drivers in the kernel config instead of packaging them Simplify profile package selection Signed-off-by: Felix Fietkau --- package/kernel/linux/modules/other.mk | 40 +++-------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) (limited to 'package/kernel/linux/modules/other.mk') diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 503ca98be4..42b45ba893 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -501,7 +501,7 @@ $(eval $(call KernelPackage,wdt-omap)) define KernelPackage/wdt-orion SUBMENU:=$(OTHER_MENU) TITLE:=Marvell Orion Watchdog timer - DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu + DEPENDS:=@TARGET_orion||TARGET_kirkwood KCONFIG:=CONFIG_ORION_WATCHDOG FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko AUTOLOAD:=$(call AutoLoad,50,orion_wdt,1) @@ -585,7 +585,7 @@ $(eval $(call KernelPackage,rtc-isl1208)) define KernelPackage/rtc-marvell SUBMENU:=$(OTHER_MENU) TITLE:=Marvell SoC built-in RTC support - DEPENDS:=@RTC_SUPPORT @TARGET_kirkwood||TARGET_orion||TARGET_mvebu + DEPENDS:=@RTC_SUPPORT @TARGET_kirkwood||TARGET_orion KCONFIG:=CONFIG_RTC_DRV_MV \ CONFIG_RTC_CLASS=y FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko @@ -599,23 +599,6 @@ endef $(eval $(call KernelPackage,rtc-marvell)) -define KernelPackage/rtc-armada38x - SUBMENU:=$(OTHER_MENU) - TITLE:=Marvell Armada 38x SoC built-in RTC support - DEPENDS:=@RTC_SUPPORT @TARGET_mvebu - KCONFIG:=CONFIG_RTC_DRV_ARMADA38X \ - CONFIG_RTC_CLASS=y - FILES:=$(LINUX_DIR)/drivers/rtc/rtc-armada38x.ko - AUTOLOAD:=$(call AutoProbe,rtc-armada38x) -endef - -define KernelPackage/rtc-armada38x/description - Kernel module for Marvell Armada 38x SoC built-in RTC. -endef - -$(eval $(call KernelPackage,rtc-armada38x)) - - define KernelPackage/rtc-pcf8563 SUBMENU:=$(OTHER_MENU) TITLE:=Philips PCF8563/Epson RTC8564 RTC support @@ -794,7 +777,7 @@ $(eval $(call KernelPackage,zram)) define KernelPackage/mvsdio SUBMENU:=$(OTHER_MENU) TITLE:=Marvell SDIO support - DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc + DEPENDS:=@TARGET_orion||TARGET_kirkwood +kmod-mmc KCONFIG:=CONFIG_MMC_MVSDIO FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko AUTOLOAD:=$(call AutoProbe,mvsdio) @@ -936,23 +919,6 @@ endef $(eval $(call KernelPackage,thermal)) -define KernelPackage/thermal-armada - SUBMENU:=$(OTHER_MENU) - TITLE:=Armada 370/XP thermal management - DEPENDS:=@TARGET_mvebu +kmod-thermal - KCONFIG:=CONFIG_ARMADA_THERMAL - FILES:=$(LINUX_DIR)/drivers/thermal/armada_thermal.ko - AUTOLOAD:=$(call AutoProbe,armada_thermal) -endef - -define KernelPackage/thermal-armada/description - Enable this module if you want to have support for thermal management - controller present in Armada 370 and Armada XP SoC. -endef - -$(eval $(call KernelPackage,thermal-armada)) - - define KernelPackage/thermal-imx SUBMENU:=$(OTHER_MENU) TITLE:=Temperature sensor driver for Freescale i.MX SoCs -- cgit v1.2.3