1
0

build.ck 740 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*++
  2. Copyright (c) 2015 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. AM335x SoC
  5. Abstract:
  6. This module implements the TI AM335x SoC support driver.
  7. Author:
  8. Evan Green 9-Sep-2015
  9. Environment:
  10. Kernel
  11. --*/
  12. function build() {
  13. name = "am3soc";
  14. fw_name = "am3cm3fw";
  15. sources = [
  16. "am3soc.c",
  17. ":" + fw_name + ".o",
  18. "mailbox.c",
  19. "sleep.S"
  20. ];
  21. drv = {
  22. "label": name,
  23. "inputs": sources,
  24. };
  25. entries = driver(drv);
  26. //
  27. // Objectify the firmware into the driver.
  28. //
  29. fw_o = {
  30. "label": fw_name + ".o",
  31. "inputs": [fw_name + ".bin"]
  32. };
  33. entries += objectified_binary(fw_o);
  34. return entries;
  35. }
  36. return build();