1
0

build.ck 656 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*++
  2. Copyright (c) 2014 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. PL-031 RTC
  5. Abstract:
  6. This library contains the ARM PrimeCell PL-031 Real Time Clock
  7. device support.
  8. Author:
  9. Evan Green 7-Apr-2014
  10. Environment:
  11. Firmware
  12. --*/
  13. function build() {
  14. sources = [
  15. "pl031.c"
  16. ];
  17. includes = [
  18. "$//uefi/include"
  19. ];
  20. sources_config = {
  21. "CFLAGS": ["-fshort-wchar"],
  22. };
  23. lib = {
  24. "label": "pl031",
  25. "inputs": sources,
  26. "sources_config": sources_config,
  27. "includes": includes
  28. };
  29. entries = static_library(lib);
  30. return entries;
  31. }
  32. return build();