001-depends.mk 795 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #
  2. # Copyright (C) 2010-2011 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 AddDepends/crc16
  8. DEPENDS+= +kmod-lib-crc16 $(1)
  9. endef
  10. define AddDepends/hid
  11. DEPENDS+= +kmod-hid $(1)
  12. endef
  13. define AddDepends/input
  14. DEPENDS+= +kmod-input-core $(1)
  15. endef
  16. define AddDepends/nls
  17. DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
  18. endef
  19. define SetDepends/rfkill
  20. DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini||TARGET_cns3xxx||TARGET_ixp4xx)
  21. endef
  22. define AddDepends/rfkill
  23. DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_cns3xxx||TARGET_ixp4xx):kmod-rfkill $(1)
  24. endef
  25. define AddDepends/rtc
  26. DEPENDS+= @RTC_SUPPORT
  27. endef