001-depends.mk 851 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. # XXX: xburst has CONFIG_CRC16=y because of CONFIG_UBIFS_FS=y
  8. define SetDepends/crc16
  9. DEPENDS:= @!TARGET_xburst
  10. endef
  11. define AddDepends/crc16
  12. DEPENDS+= +!TARGET_xburst:kmod-crc16 $(1)
  13. endef
  14. define SetDepends/hid
  15. DEPENDS:= @!TARGET_x86
  16. endef
  17. define AddDepends/hid
  18. DEPENDS+= +!TARGET_x86:kmod-hid $(1)
  19. endef
  20. define SetDepends/input
  21. DEPENDS:= @!TARGET_x86
  22. endef
  23. define AddDepends/input
  24. DEPENDS+= +!TARGET_x86:kmod-input-core $(1)
  25. endef
  26. define SetDepends/rfkill
  27. DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini)
  28. endef
  29. define AddDepends/rfkill
  30. DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1)
  31. endef