7 Building Unleashed requires Unleashed, so first, download and install the
8 latest snapshot from https://www.unleashed-os.org/snapshots/latest/
13 Clone this repository:
16 $ git clone git://repo.or.cz/unleashed.git
23 For a complete build, use 'tools/nightly.sh'. The user executing the build
24 needs to be able to write to `/usr/obj`, so make sure you can do that first.
27 # zfs create -o mountpoint=/usr/obj rpool/obj && install -m 1777 -d /usr/obj
31 On success, this results in installable packages in the `packages` directory.
36 To build a component that is using the new build system (e.g., cat(1)), change
37 into the source directory and run make. For example:
45 The component will be built against the running system and installed to /. To
46 install to the proto area, pass DESTDIR=path to 'make install'. Building
47 against libraries and headers in the "proto area" or in object directories is
48 not currently supported.
50 To build a component under the legacy (dmake) build system, ie. things under
51 'usr/src', first complete a full nightly build so that prerequisite objects for
52 the component are made, and then:
55 $ ./tools/bldenv.sh tools/env.sh
60 The component will be built against the "proto area" and installed there.