build.ck 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*++
  2. Copyright (c) 2013 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. USB
  9. Abstract:
  10. This directory contains Universal Serial Bus (USB) related drivers,
  11. including the USB core support library, host controller implementations,
  12. generic device class drivers, and specific USB device drivers.
  13. Author:
  14. Evan Green 13-Jan-2013
  15. Environment:
  16. Kernel
  17. --*/
  18. function build() {
  19. usb_drivers = [
  20. "//drivers/usb/ehci:ehci",
  21. "//drivers/usb/onering:onering",
  22. "//drivers/usb/onering/usbrelay:usbrelay",
  23. "//drivers/usb/usbcomp:usbcomp",
  24. "//drivers/usb/usbhub:usbhub",
  25. "//drivers/usb/usbkbd:usbkbd",
  26. "//drivers/usb/usbmass:usbmass"
  27. ];
  28. if ((arch == "armv7") || (arch == "armv6")) {
  29. usb_drivers += [
  30. "//drivers/usb/am3usb:am3usb",
  31. "//drivers/usb/dwhci:dwhci"
  32. ];
  33. } else if (arch == "x86") {
  34. usb_drivers += [
  35. "//drivers/usb/uhci:uhci"
  36. ];
  37. }
  38. entries = group("usb_drivers", usb_drivers);
  39. return entries;
  40. }
  41. return build();