The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / docs / manual / package-make-target.txt
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
3
4 [[pkg-build-steps]]
5
6 ==== Package-specific _make_ targets
7
8 Running +make <package>+ builds and installs that particular package
9 and its dependencies.
10
11 For packages relying on the Buildroot infrastructure, there are
12 numerous special make targets that can be called independently like
13 this:
14
15 ------------
16 make <package>-<target>
17 ------------
18
19 The package build targets are (in the order they are executed):
20
21 [width="90%",cols="^1,4",options="header"]
22 |===================================================
23 | command/target    | Description
24
25 | +source+          | Fetch the source (download the tarball, clone
26 the source repository, etc)
27
28 | +depends+         | Build and install all dependencies required to
29 build the package
30
31 | +extract+         | Put the source in the package build directory
32 (extract the tarball, copy the source, etc)
33
34 | +patch+           | Apply the patches, if any
35
36 | +configure+       | Run the configure commands, if any
37
38 | +build+           | Run the compilation commands
39
40 | +install-staging+ |
41 *target package:* Run the installation of the package in the
42 staging directory, if necessary
43
44 | +install-target+  |
45 *target package:* Run the installation of the package in the
46 target directory, if necessary
47
48 | +install+         |
49 *target package:* Run the 2 previous installation commands
50
51 *host package:* Run the installation of the package in the host
52 directory
53
54 |===================================================
55
56 Additionally, there are some other useful make targets:
57
58 [width="90%",cols="^1,4",options="header"]
59 |===================================================
60 | command/target    | Description
61
62 | +show-depends+    | Displays the dependencies required to build the
63 package
64
65 | +graph-depends+   | Generate a dependency graph of the package, in the
66 context of the current Buildroot configuration. See
67 xref:graph-depends[this section] for more details about dependency
68 graphs.
69
70 | +dirclean+        | Remove the whole package build directory
71
72 | +reinstall+       | Re-run the install commands
73
74 | +rebuild+         | Re-run the compilation commands - this only makes
75 sense when using the +OVERRIDE_SRCDIR+ feature or when you modified a file
76 directly in the build directory
77
78 | +reconfigure+     | Re-run the configure commands, then rebuild - this only
79 makes sense when using the +OVERRIDE_SRCDIR+ feature or when you modified a
80 file directly in the build directory
81
82 |===================================================