build-pkg.lua 372 B

12345678910111213141516171819202122232425
  1. include("plat/build.lua")
  2. ackfile {
  3. name = "boot",
  4. srcs = { "./boot.s" },
  5. vars = { plat = "linux386" }
  6. }
  7. build_plat_libs {
  8. name = "libs",
  9. arch = "i386",
  10. plat = "linux386",
  11. }
  12. installable {
  13. name = "pkg",
  14. map = {
  15. "+tools",
  16. "+libs",
  17. "./include+pkg",
  18. ["$(PLATIND)/linux386/boot.o"] = "+boot",
  19. ["$(PLATIND)/linux386/libsys.a"] = "./libsys+lib",
  20. }
  21. }