build.ck 785 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*++
  2. Copyright (c) 2014 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. GenFV
  5. Abstract:
  6. This module builds the GenFV build utility, which can create a FFS2
  7. Firmware Volume out of one or more FFS files.
  8. Author:
  9. Evan Green 7-Mar-2014
  10. Environment:
  11. Build
  12. --*/
  13. function build() {
  14. sources = [
  15. "genfv.c",
  16. ];
  17. includes = [
  18. "$//uefi/include"
  19. ];
  20. app = {
  21. "label": "genfv",
  22. "inputs": sources,
  23. "includes": includes,
  24. "build": TRUE
  25. };
  26. entries = application(app);
  27. tool = {
  28. "type": "tool",
  29. "name": "genfv",
  30. "command": "$^//uefi/tools/genfv/genfv $GENFV_FLAGS -o $OUT $IN",
  31. "description": "GenFV - $OUT"
  32. };
  33. return entries + [tool];
  34. }
  35. return build();