build.ck 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. Veyron ACPI tables
  9. Abstract:
  10. This module compiles the Veyron ACPI tables.
  11. Author:
  12. Evan Green 10-Jul-2015
  13. Environment:
  14. Firmware
  15. --*/
  16. from menv import compiledAsl;
  17. function build() {
  18. var asl;
  19. var entries;
  20. var ffs;
  21. var ffsSources;
  22. var sources;
  23. sources = [
  24. "apic.asl",
  25. "dbg2.asl",
  26. "dsdt.asl",
  27. "facp.asl",
  28. "facs.asl",
  29. "gtdt.asl",
  30. "rk32.asl"
  31. ];
  32. asl = compiledAsl(sources);
  33. entries = asl[1];
  34. ffsSources = asl[0];
  35. ffs = {
  36. "type": "target",
  37. "label": "acpi.ffs",
  38. "inputs": ffsSources,
  39. "implicit": ["uefi/tools/genffs:genffs"],
  40. "tool": "genffs_acpi"
  41. };
  42. entries += [ffs];
  43. return entries;
  44. }