24a4384577e398a3839c7b83ce86e65bc6537e00
[openwrt/staging/mkresin.git] / target / linux / x86 / modules.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
4
5 define KernelPackage/sound-cs5535audio
6 TITLE:=CS5535/CS5536 Audio Controller
7 DEPENDS:=@TARGET_x86_geode +kmod-ac97
8 KCONFIG:=CONFIG_SND_CS5535AUDIO
9 FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
10 AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
11 $(call AddDepends/sound)
12 endef
13
14 define KernelPackage/sound-cs5535audio/description
15 Support for the integrated AC97 sound device on motherboards
16 with AMD CS5535/CS5536 chipsets.
17 endef
18
19 $(eval $(call KernelPackage,sound-cs5535audio))
20
21 define KernelPackage/sp5100-tco
22 SUBMENU:=$(OTHER_MENU)
23 TITLE:=SP5100 Watchdog Support
24 DEPENDS:=@TARGET_x86
25 KCONFIG:=CONFIG_SP5100_TCO
26 FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
27 AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
28 endef
29
30 define KernelPackage/sp5100-tco/description
31 Kernel module for the SP5100_TCO hardware watchdog.
32 endef
33
34 $(eval $(call KernelPackage,sp5100-tco))
35
36
37 define KernelPackage/pcengines-apuv2
38 SUBMENU:=$(OTHER_MENU)
39 TITLE:=PC Engines APUv2/3 front button and LEDs driver
40 DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
41 KCONFIG:=CONFIG_PCENGINES_APU2
42 FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
43 AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
44 endef
45
46 define KernelPackage/pcengines-apuv2/description
47 This driver provides support for the front button and LEDs on
48 PC Engines APUv2/APUv3 board.
49 endef
50
51 $(eval $(call KernelPackage,pcengines-apuv2))