build.ck 976 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*++
  2. Copyright (c) 2014 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. TI OMAP4
  9. Abstract:
  10. This library contains the OMAP4 UEFI device support.
  11. Author:
  12. Evan Green 3-Mar-2014
  13. Environment:
  14. Firmware
  15. --*/
  16. from menv import kernelLibrary;
  17. function build() {
  18. var entries;
  19. var includes;
  20. var lib;
  21. var sources;
  22. var sourcesConfig;
  23. sources = [
  24. "clock.c"
  25. ];
  26. includes = [
  27. "$S/uefi/include"
  28. ];
  29. sourcesConfig = {
  30. "CFLAGS": ["-fshort-wchar"],
  31. };
  32. lib = {
  33. "label": "omap4",
  34. "inputs": sources,
  35. "sources_config": sourcesConfig,
  36. "includes": includes
  37. };
  38. entries = kernelLibrary(lib);
  39. return entries;
  40. }