From: Pascal Coudurier Date: Fri, 1 Dec 2023 21:25:58 +0000 (+0100) Subject: x86: kernel: modules: clean makefiles X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=00256d86dc2041882509fd3c0261905d326b4ff0;p=openwrt%2Fstaging%2F981213.git x86: kernel: modules: clean makefiles Signed-off-by: Pascal Coudurier --- diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 8638d50823..8afe315344 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 6ae2bf5104..cb96ae80f8 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)