BUILD 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. objcopy(
  2. name="harvey",
  3. deps=[
  4. "//sys/src/9/amd64:harvey"
  5. ],
  6. infile="elf64-x86-64",
  7. outfile="elf32-i386",
  8. )
  9. kernel(
  10. name="kernel",
  11. deps=[
  12. ":harvey",
  13. "//sys/src/9/amd64:init",
  14. "//sys/src/cmd:echo",
  15. "//sys/src/cmd:ls",
  16. "//sys/src/cmd:cat",
  17. "//sys/src/cmd:date",
  18. "//sys/src/cmd/ip/ipconfig:ipconfig",
  19. "//sys/src/cmd/auth/factotum:factotum",
  20. "//sys/src/cmd/acme:acme",
  21. "//sys/src/cmd:mount",
  22. "//sys/src/cmd:srv",
  23. "//sys/src/cmd:ed",
  24. "//sys/src/cmd:ratrace",
  25. "//sys/src/cmd:ps",
  26. "//sys/src/libc:libc",
  27. "//sys/src/libip:libip",
  28. "//sys/src/libdraw:libdraw",
  29. "//sys/src/lib9p:lib9p",
  30. "//sys/src/libString:libString",
  31. "//sys/src/libauth:libauth",
  32. "//sys/src/libauthsrv:libauthsrv",
  33. "//sys/src/libbin:libbin",
  34. "//sys/src/libbio:libbio",
  35. "//sys/src/libcomplete:libcomplete",
  36. "//sys/src/libcontrol:libcontrol",
  37. "//sys/src/libdisk:libdisk",
  38. "//sys/src/libflate:libflate",
  39. "//sys/src/libframe:libframe",
  40. "//sys/src/libgeometry:libgeometry",
  41. "//sys/src/libhttpd:libhttpd",
  42. "//sys/src/liblex:liblex",
  43. "//sys/src/libmach:libmach",
  44. "//sys/src/libmemdraw:libmemdraw",
  45. "//sys/src/libmemlayer:libmemlayer",
  46. "//sys/src/libmp:libmp",
  47. "//sys/src/libndb:libndb",
  48. "//sys/src/liboventi:liboventi",
  49. "//sys/src/libplumb:libplumb",
  50. "//sys/src/libregexp:libregexp",
  51. "//sys/src/libsec:libsec",
  52. "//sys/src/libstdio:libstdio",
  53. "//sys/src/libthread:libthread",
  54. "//sys/src/libusb:libusb",
  55. "//sys/src/libventi:libventi",
  56. ],
  57. installs={
  58. "amd64/lib/libc.a": "lib/libc.a",
  59. "amd64/lib/libip.a": "lib/libip.a",
  60. "amd64/lib/libdraw.a": "lib/libdraw.a",
  61. "amd64/lib/lib9p.a": "lib/lib9p.a",
  62. "amd64/lib/libString.a": "lib/libString.a",
  63. "amd64/lib/libauth.a": "lib/libauth.a",
  64. "amd64/lib/libauthsrv.a": "lib/libauthsrv.a",
  65. "amd64/lib/libbin.a": "lib/libbin.a",
  66. "amd64/lib/libbio.a": "lib/libbio.a",
  67. "amd64/lib/libcomplete.a": "lib/libcomplete.a",
  68. "amd64/lib/libcontrol.a": "lib/libcontrol.a",
  69. "amd64/lib/libdisk.a": "lib/libdisk.a",
  70. "amd64/lib/libflate.a": "lib/libflate.a",
  71. "amd64/lib/libframe.a": "lib/libframe.a",
  72. "amd64/lib/libgeometry.a": "lib/libgeometry.a",
  73. "amd64/lib/libhttpd.a": "lib/libhttpd.a",
  74. "amd64/lib/liblex.a": "lib/liblex.a",
  75. "amd64/lib/libmach.a": "lib/libmach.a",
  76. "amd64/lib/libmemdraw.a": "lib/libmemdraw.a",
  77. "amd64/lib/libmemlayer.a": "lib/libmemlayer.a",
  78. "amd64/lib/libmp.a": "lib/libmp.a",
  79. "amd64/lib/libndb.a": "lib/libndb.a",
  80. "amd64/lib/liboventi.a": "lib/liboventi.a",
  81. "amd64/lib/libplumb.a": "lib/libplumb.a",
  82. "amd64/lib/libregexp.a": "lib/libregexp.a",
  83. "amd64/lib/libsec.a": "lib/libsec.a",
  84. "amd64/lib/libstdio.a": "lib/libstdio.a",
  85. "amd64/lib/libthread.a": "lib/libthread.a",
  86. "amd64/lib/libusb.a": "lib/libusb.a",
  87. "amd64/lib/libventi.a": "lib/libventi.a",
  88. "amd64/harvey": "bin/harvey",
  89. "amd64/bin/init": "bin/init",
  90. "amd64/bin/echo": "bin/echo",
  91. "amd64/bin/ls": "bin/ls",
  92. "amd64/bin/cat": "bin/cat",
  93. "amd64/bin/date": "bin/date",
  94. "amd64/bin/ipconfig": "bin/ipconfig",
  95. "amd64/bin/acme": "bin/acme",
  96. "amd64/bin/factotum": "bin/factotum",
  97. "amd64/bin/mount": "bin/mount",
  98. "amd64/bin/srv": "bin/srv",
  99. "amd64/bin/ed": "bin/ed",
  100. "amd64/bin/ratrace": "bin/ratrace",
  101. "amd64/bin/ps": "bin/ps",
  102. },
  103. )