modules.mk 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # Copyright (C) 2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. define KernelPackage/ata-rb532-cf
  8. SUBMENU:=$(BLOCK_MENU)
  9. TITLE:=RB532 Compact Flash support
  10. DEPENDS:=@TARGET_rb532 @BROKEN
  11. KCONFIG:= \
  12. CONFIG_PATA_PLATFORM \
  13. CONFIG_PATA_RB532
  14. FILES:=\
  15. $(LINUX_DIR)/drivers/ata/pata_platform.ko \
  16. $(LINUX_DIR)/drivers/ata/pata_rb532_cf.ko
  17. AUTOLOAD:=$(call AutoLoad,41,pata_platform pata_rb532_cf,1)
  18. $(call AddDepends/ata)
  19. endef
  20. define KernelPackage/ata-rb532-cf/description
  21. RB532 Compact Flash support.
  22. endef
  23. $(eval $(call KernelPackage,ata-rb532-cf))
  24. define KernelPackage/input-rb532
  25. SUBMENU:=$(OTHER_MENU)
  26. TITLE:=RB532 button device support
  27. DEPENDS:=@TARGET_rb532 +kmod-input-polldev
  28. KCONFIG:= \
  29. CONFIG_INPUT_MISC=y \
  30. CONFIG_INPUT_RB532_BUTTON
  31. FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.ko
  32. AUTOLOAD:=$(call AutoLoad,62,rb532_button)
  33. $(call AddDepends/input)
  34. endef
  35. define KernelPackage/input-rb532/description
  36. Kernel module for RB532 button
  37. endef
  38. $(eval $(call KernelPackage,input-rb532))