build.ck 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*++
  2. Copyright (c) 2013 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. USB
  5. Abstract:
  6. This directory contains Universal Serial Bus (USB) related drivers,
  7. including the USB core support library, host controller implementations,
  8. generic device class drivers, and specific USB device drivers.
  9. Author:
  10. Evan Green 13-Jan-2013
  11. Environment:
  12. Kernel
  13. --*/
  14. function build() {
  15. usb_drivers = [
  16. "//drivers/usb/ehci:ehci",
  17. "//drivers/usb/onering:onering",
  18. "//drivers/usb/onering/usbrelay:usbrelay",
  19. "//drivers/usb/usbcomp:usbcomp",
  20. "//drivers/usb/usbhub:usbhub",
  21. "//drivers/usb/usbkbd:usbkbd",
  22. ];
  23. if ((arch == "armv7") || (arch == "armv6")) {
  24. usb_drivers = [
  25. "//drivers/usb/am3usb:am3usb",
  26. "//drivers/usb/dwhci:dwhci"
  27. ];
  28. } else if (arch == "x86") {
  29. usb_drivers = [
  30. "//drivers/usb/uhci:uhci"
  31. ];
  32. }
  33. entries = group("usb_drivers", usb_drivers);
  34. return entries;
  35. }
  36. return build();