summaryrefslogtreecommitdiffstats
path: root/tools/bsdbox/Makefile.textproc
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-01-06 00:56:31 +0000
committeradrian <adrian@FreeBSD.org>2012-01-06 00:56:31 +0000
commit0c24320ceb635484927f19b79b413a85e040aa15 (patch)
treed3d4aab2228680e468475edc7143852358db74e1 /tools/bsdbox/Makefile.textproc
parent8f599c0345a869c1c44a38bcaf6f8362bccaaaee (diff)
downloadFreeBSD-src-0c24320ceb635484927f19b79b413a85e040aa15.zip
FreeBSD-src-0c24320ceb635484927f19b79b413a85e040aa15.tar.gz
Import the first cut of "bsdbox".
This uses the existing crunchgen infrastructure to build a series of tools designed to replace the base and networking tools on an embedded system. It reuses 'bsd.crunchgen.mk' to drive the actual file creation. The rescue build system also uses this. Unlike busybox, it doesn't include its own source - instead, it just builds from the sources in /usr/src/ and leverages the existing BSD framework. Thie is still quite messy and could do with a whole lot of cleaning up. However it is proving to be very useful with my current build framework, allowing me to build binary root images that are about 30% less than simply cherrypicking files and libraries from an installworld.
Diffstat (limited to 'tools/bsdbox/Makefile.textproc')
-rw-r--r--tools/bsdbox/Makefile.textproc20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/bsdbox/Makefile.textproc b/tools/bsdbox/Makefile.textproc
new file mode 100644
index 0000000..a913d46
--- /dev/null
+++ b/tools/bsdbox/Makefile.textproc
@@ -0,0 +1,20 @@
+#
+# This builds a variety of text processing tools that
+# may be useful on an embedded device.
+#
+# $FreeBSD$
+#
+
+# Sed
+CRUNCH_PROGS_usr.bin+= sed
+
+# Awk
+# Disable - it's big! -adrian
+#CRUNCH_PROGS_usr.bin+= awk
+#CRUNCH_BUILDTOOLS+= usr.bin/awk
+
+# vi
+# Disable - it's big! -adrian
+#CRUNCH_PROGS_usr.bin+= vi
+
+CRUNCH_PROGS_usr.bin+= ee
OpenPOWER on IntegriCloud