build.ck 880 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*++
  2. Copyright (c) 2015 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. OMAP4 GPIO
  9. Abstract:
  10. This module implements General Purpose I/O support for the TI OMAP4
  11. SoC in the kernel.
  12. Author:
  13. Evan Green 4-Aug-2015
  14. Environment:
  15. Kernel
  16. --*/
  17. from menv import driver;
  18. function build() {
  19. var drv;
  20. var dynlibs;
  21. var entries;
  22. var name = "om4gpio";
  23. var sources;
  24. sources = [
  25. "om4gpio.c"
  26. ];
  27. dynlibs = [
  28. "drivers/gpio/core:gpio"
  29. ];
  30. drv = {
  31. "label": name,
  32. "inputs": sources + dynlibs,
  33. };
  34. entries = driver(drv);
  35. return entries;
  36. }