[build] introduce a common target for core

To date we've been building the world of binaries that roughly work
and supplying them in core. This change introduces a "common" target
that is intended to be useful for exploration of the system, but not
so "full-featured" as to encourage the writing of target side shell
scripts. In addition, various commands are excluded from common that
are otherwise already present a shell builtins, as the shell builtins
are always availalbe, whereas most shell commands are ephemeral.

Bug: 50791
Change-Id: I7302dd58b342f79123967a74393334526f769bb8
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/sbase/+/383536
Reviewed-by: Adam Barth <abarth@google.com>
1 file changed
tree: 17ea0b0eb5282a3b77c7e431b5dba9a82fabcaac
  1. BUILD.gn
  2. LICENSE
  3. Makefile
  4. README
  5. README.fuchsia
  6. TODO
  7. arg.h
  8. basename.1
  9. basename.c
  10. cal.1
  11. cal.c
  12. cat.1
  13. cat.c
  14. chgrp.1
  15. chgrp.c
  16. chmod.1
  17. chmod.c
  18. chown.1
  19. chown.c
  20. chroot.1
  21. chroot.c
  22. cksum.1
  23. cksum.c
  24. cmp.1
  25. cmp.c
  26. cols.1
  27. cols.c
  28. comm.1
  29. comm.c
  30. compat.h
  31. config.mk
  32. cp.1
  33. cp.c
  34. cron.1
  35. cron.c
  36. crypt.h
  37. cut.1
  38. cut.c
  39. date.1
  40. date.c
  41. dirname.1
  42. dirname.c
  43. du.1
  44. du.c
  45. echo.1
  46. echo.c
  47. ed.1
  48. ed.c
  49. env.1
  50. env.c
  51. expand.1
  52. expand.c
  53. expr.1
  54. expr.c
  55. false.1
  56. false.c
  57. find.1
  58. find.c
  59. flock.1
  60. flock.c
  61. fold.1
  62. fold.c
  63. fs.h
  64. getconf.1
  65. getconf.c
  66. getconf.sh
  67. grep.1
  68. grep.c
  69. head.1
  70. head.c
  71. hostname.1
  72. hostname.c
  73. join.1
  74. join.c
  75. kill.1
  76. kill.c
  77. libutf/
  78. libutil/
  79. link.1
  80. link.c
  81. ln.1
  82. ln.c
  83. logger.1
  84. logger.c
  85. logname.1
  86. logname.c
  87. ls.1
  88. ls.c
  89. md5.h
  90. md5sum.1
  91. md5sum.c
  92. mkdir.1
  93. mkdir.c
  94. mkfifo.1
  95. mkfifo.c
  96. mktemp.1
  97. mktemp.c
  98. mv.1
  99. mv.c
  100. nice.1
  101. nice.c
  102. nl.1
  103. nl.c
  104. nohup.1
  105. nohup.c
  106. od.1
  107. od.c
  108. paste.1
  109. paste.c
  110. pathchk.1
  111. pathchk.c
  112. printenv.1
  113. printenv.c
  114. printf.1
  115. printf.c
  116. pwd.1
  117. pwd.c
  118. queue.h
  119. readlink.1
  120. readlink.c
  121. renice.1
  122. renice.c
  123. rev.1
  124. rev.c
  125. rm.1
  126. rm.c
  127. rmdir.1
  128. rmdir.c
  129. rules.mk
  130. sed.1
  131. sed.c
  132. seq.1
  133. seq.c
  134. setsid.1
  135. setsid.c
  136. sha1.h
  137. sha1sum.1
  138. sha1sum.c
  139. sha224.h
  140. sha224sum.1
  141. sha224sum.c
  142. sha256.h
  143. sha256sum.1
  144. sha256sum.c
  145. sha384.h
  146. sha384sum.1
  147. sha384sum.c
  148. sha512-224.h
  149. sha512-224sum.1
  150. sha512-224sum.c
  151. sha512-256.h
  152. sha512-256sum.1
  153. sha512-256sum.c
  154. sha512.h
  155. sha512sum.1
  156. sha512sum.c
  157. sleep.1
  158. sleep.c
  159. sort.1
  160. sort.c
  161. split.1
  162. split.c
  163. sponge.1
  164. sponge.c
  165. strings.1
  166. strings.c
  167. sync.1
  168. sync.c
  169. tail.1
  170. tail.c
  171. tar.1
  172. tar.c
  173. tee.1
  174. tee.c
  175. test.1
  176. test.c
  177. text.h
  178. tftp.1
  179. tftp.c
  180. time.1
  181. time.c
  182. touch.1
  183. touch.c
  184. tr.1
  185. tr.c
  186. true.1
  187. true.c
  188. tsort.1
  189. tsort.c
  190. tty.1
  191. tty.c
  192. uname.1
  193. uname.c
  194. unexpand.1
  195. unexpand.c
  196. uniq.1
  197. uniq.c
  198. unlink.1
  199. unlink.c
  200. utf.h
  201. util.h
  202. uudecode.1
  203. uudecode.c
  204. uuencode.1
  205. uuencode.c
  206. wc.1
  207. wc.c
  208. which.1
  209. which.c
  210. whoami.1
  211. whoami.c
  212. xargs.1
  213. xargs.c
  214. xinstall.1
  215. xinstall.c
  216. yes.1
  217. yes.c