modules.mk 1.5 KB

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