mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
e9b60b587b
This change adds the sp5100_tco driver as a kernel module for the x86 target. Specifically, this can be used by the PCEngines APU2/APU3. The reason for having this as a kernel module is to allow users to load/unload it on demand, as the I2C interface on the APU2/APU3 will not work while this module is loaded. More info can be found on GitHub at https://github.com/riptidewave93/LEDE-APU2/pull/5#issuecomment-255667736 Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
#
|
|
# Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
#
|
|
|
|
define KernelPackage/sound-cs5535audio
|
|
TITLE:=CS5535/CS5536 Audio Controller
|
|
DEPENDS:=@TARGET_x86_geode +kmod-ac97
|
|
KCONFIG:=CONFIG_SND_CS5535AUDIO
|
|
FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
|
|
AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
|
|
$(call AddDepends/sound)
|
|
endef
|
|
|
|
define KernelPackage/sound-cs5535audio/description
|
|
Support for the integrated AC97 sound device on motherboards
|
|
with AMD CS5535/CS5536 chipsets.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,sound-cs5535audio))
|
|
|
|
define KernelPackage/sp5100_tco
|
|
SUBMENU:=$(OTHER_MENU)
|
|
TITLE:=SP5100 Watchdog Support
|
|
DEPENDS:=@TARGET_x86
|
|
KCONFIG:=CONFIG_SP5100_TCO
|
|
FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
|
|
AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
|
|
endef
|
|
|
|
define KernelPackage/sp5100_tco/description
|
|
Kernel module for the SP5100_TCO hardware watchdog.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,sp5100_tco))
|