build.ck 867 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. EHCI
  9. Abstract:
  10. This module implements the EHCI USB 2.0 Host Controller Driver.
  11. Author:
  12. Evan Green 18-Mar-2013
  13. Environment:
  14. Kernel
  15. --*/
  16. from menv import driver;
  17. function build() {
  18. var drv;
  19. var dynlibs;
  20. var entries;
  21. var name = "ehci";
  22. var sources;
  23. sources = [
  24. "ehci.c",
  25. "ehcihc.c"
  26. ];
  27. dynlibs = [
  28. "drivers/usb/usbcore:usbcore"
  29. ];
  30. drv = {
  31. "label": name,
  32. "inputs": sources + dynlibs,
  33. };
  34. entries = driver(drv);
  35. return entries;
  36. }