port the stats utility from Rusty Russell
[openadk.git] / docs / package-make-target.txt
blob13c49806200c086ad648d23f9b23dbe6c011c97a
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
4 [[pkg-build-steps]]
6 Package-specific _make_ targets
7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 Running +make package=<package> package+ builds and installs that particular package.
10 Be aware of the fact, that no build dependencies are resolved using this method!
12 For packages relying on the OpenADK infrastructure, there are
13 numerous special make targets that can be called independently like
14 this:
16 ------------
17  $ make package=<package> <target>
18 ------------
20 The package build targets are (in the order they are executed):
22 [width="90%",cols="^1,4",options="header"]
23 |===================================================
24 | command/target    | Description
26 | +fetch+           | Fetch the source
28 | +extract+         | Put the source in the package build directory
30 | +patch+           | Apply the patches, if any
32 | +configure+       | Run the configure commands, if any
34 | +build+           | Run the compilation commands
36 | +fake+            | Run the installation of the package into a fake directory
38 | +package+         | Create a package or tar archive of the package files
40 |===================================================
42 Additionally, there are some other useful make targets:
44 [width="90%",cols="^1,4",options="header"]
45 |===================================================
46 | command/target    | Description
48 | +clean+           | Remove the whole package build directory
50 | +host-package+    | Build and install the host binaries and libraries
52 |===================================================