• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/docs/manual/package-make-target.txt
Doug KehnDoug Kehn committed 97a4385184a28 Nov 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
| +reconfigure+     | Re-run the configure commands, then rebuild - this only
 
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
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.