modules.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # Copyright (C) 2017 Cezary Jackiewicz <[email protected]>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. #
  6. define KernelPackage/sound-cs5535audio
  7. TITLE:=CS5535/CS5536 Audio Controller
  8. DEPENDS:=@TARGET_x86_geode +kmod-ac97
  9. KCONFIG:=CONFIG_SND_CS5535AUDIO
  10. FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
  11. AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
  12. $(call AddDepends/sound)
  13. endef
  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. $(eval $(call KernelPackage,sound-cs5535audio))
  19. define KernelPackage/sp5100-tco
  20. SUBMENU:=$(OTHER_MENU)
  21. TITLE:=SP5100 Watchdog Support
  22. DEPENDS:=@TARGET_x86
  23. KCONFIG:=CONFIG_SP5100_TCO
  24. FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
  25. AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
  26. endef
  27. define KernelPackage/sp5100-tco/description
  28. Kernel module for the SP5100_TCO hardware watchdog.
  29. endef
  30. $(eval $(call KernelPackage,sp5100-tco))
  31. define KernelPackage/pcengines-apuv2
  32. SUBMENU:=$(OTHER_MENU)
  33. TITLE:=PC Engines APUv2/3 front button and LEDs driver
  34. DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
  35. KCONFIG:=CONFIG_PCENGINES_APU2
  36. FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
  37. AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
  38. endef
  39. define KernelPackage/pcengines-apuv2/description
  40. This driver provides support for the front button and LEDs on
  41. PC Engines APUv2/APUv3 board.
  42. endef
  43. $(eval $(call KernelPackage,pcengines-apuv2))