7 Building unleashed requires unleashed, so first you must install it (doing
8 which is not documented at the time of writing).
13 Clone this repository from either:
15 * git://repo.or.cz/unleashed.git
16 * http://repo.or.cz/unleashed.git
21 $ git clone git://repo.or.cz/unleashed.git
28 For a complete build, use 'tools/nightly.sh'. The user executing the build
29 needs to be able to write to `/usr/obj`, so make sure you can do that first.
32 # install -m 1777 -d /usr/obj
36 On success, this results in installable packages in the `packages` directory.
41 To build a component that is using the new build system (e.g., cat(1)), change
42 into the source directory and run make. For example:
50 The component will be built against the running system and installed to /. To
51 install to the proto area, pass DESTDIR=path to 'make install'. Building
52 against libraries and headers in the "proto area" or in object directories is
53 not currently supported.
55 To build a component under the legacy (dmake) build system, ie. things under
56 'usr/src', first complete a full nightly build so that prerequisite objects for
57 the component are made, and then:
60 $ ./tools/bldenv.sh tools/env.sh
65 The component will be built against the "proto area" and installed there.