From 0c24320ceb635484927f19b79b413a85e040aa15 Mon Sep 17 00:00:00 2001 From: adrian Date: Fri, 6 Jan 2012 00:56:31 +0000 Subject: 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. --- tools/bsdbox/Makefile.fs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tools/bsdbox/Makefile.fs (limited to 'tools/bsdbox/Makefile.fs') diff --git a/tools/bsdbox/Makefile.fs b/tools/bsdbox/Makefile.fs new file mode 100644 index 0000000..03fe4b5 --- /dev/null +++ b/tools/bsdbox/Makefile.fs @@ -0,0 +1,17 @@ +# +# Filesystem related tools +# +# $FreeBSD$ + +# mfs +CRUNCH_PROGS_sbin+= mdmfs mdconfig newfs +CRUNCH_ALIAS_mdmfs= mount_mfs + +# UFS +CRUNCH_PROGS_sbin+= fsck_ffs +CRUNCH_LIBS+= -lgeom +CRUNCH_LIBS+= -lufs + +# msdos +# CRUNCH_PROGS_sbin+= mount_msdosfs +# CRUNCH_LIBS+= -lkiconv -- cgit v1.1