From 00256d86dc2041882509fd3c0261905d326b4ff0 Mon Sep 17 00:00:00 2001 From: Pascal Coudurier Date: Fri, 1 Dec 2023 22:25:58 +0100 Subject: [PATCH] x86: kernel: modules: clean makefiles Signed-off-by: Pascal Coudurier --- package/kernel/linux/modules/hwmon.mk | 4 ++-- package/kernel/linux/modules/video.mk | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 8638d508235..8afe315344f 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -436,9 +436,9 @@ define KernelPackage/hwmon-nct6775 KCONFIG:=CONFIG_SENSORS_NCT6775 FILES:= \ $(LINUX_DIR)/drivers/hwmon/nct6775.ko \ - $(LINUX_DIR)/drivers/hwmon/nct6775-core.ko@ge5.19 + $(LINUX_DIR)/drivers/hwmon/nct6775-core.ko AUTOLOAD:=$(call AutoProbe,nct6775) - $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid +LINUX_6_1:kmod-regmap-core) + $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid +kmod-regmap-core) endef define KernelPackage/hwmon-nct6775/description diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 6ae2bf51041..cb96ae80f8d 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -342,8 +342,7 @@ define KernelPackage/drm-amdgpu TITLE:=AMDGPU DRM support DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-ttm \ +kmod-drm-ttm-helper +kmod-drm-kms-helper +kmod-i2c-algo-bit +amdgpu-firmware \ - +LINUX_6_1:kmod-drm-display-helper +LINUX_6_1:kmod-drm-buddy \ - +LINUX_6_1:kmod-acpi-video + +kmod-drm-display-helper +kmod-drm-buddy +kmod-acpi-video KCONFIG:=CONFIG_DRM_AMDGPU \ CONFIG_DRM_AMDGPU_SI=y \ CONFIG_DRM_AMDGPU_CIK=y \ @@ -442,7 +441,7 @@ define KernelPackage/drm-radeon TITLE:=Radeon DRM support DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-kms-helper \ +kmod-drm-ttm +kmod-drm-ttm-helper +kmod-i2c-algo-bit +radeon-firmware \ - +LINUX_6_1:kmod-drm-display-helper +LINUX_6_1:kmod-acpi-video + +kmod-drm-display-helper +kmod-acpi-video KCONFIG:=CONFIG_DRM_RADEON FILES:=$(LINUX_DIR)/drivers/gpu/drm/radeon/radeon.ko AUTOLOAD:=$(call AutoProbe,radeon) -- 2.30.2