build.ck 1014 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. SD DesignWare
  9. Abstract:
  10. This library contains the DesignWare Secure Digital (card) controller
  11. device.
  12. Author:
  13. Chris Stevens 16-Jul-2015
  14. Environment:
  15. Firmware
  16. --*/
  17. from menv import kernelLibrary;
  18. function build() {
  19. var entries;
  20. var includes;
  21. var lib;
  22. var sources;
  23. var sourcesConfig;
  24. sources = [
  25. "sddwc.c"
  26. ];
  27. includes = [
  28. "$S/uefi/include"
  29. ];
  30. sourcesConfig = {
  31. "CFLAGS": ["-fshort-wchar"],
  32. };
  33. lib = {
  34. "label": "sddwc",
  35. "inputs": sources,
  36. "sources_config": sourcesConfig,
  37. "includes": includes
  38. };
  39. entries = kernelLibrary(lib);
  40. return entries;
  41. }