最終更新:2022-10-06 (木) 04:15:42 (61d)  

Buildroot/make <pkg>-*
Top / Buildroot / make <pkg>-*

ビルド

実行されるサブコマンド

  • in the order they are executed
    Buildroot/make <pkg>-source?Fetch the source (download the tarball, clone the source repository, etc)
    Buildroot/make <pkg>-depends?Build and install all dependencies required to build the package
    Buildroot/make <pkg>-extract?Put the source in the package build directory (extract the tarball, copy the source, etc)
    Buildroot/make <pkg>-patch?Apply the patches, if any
    Buildroot/make <pkg>-configure?Run the configure commands, if any
    Buildroot/make <pkg>-build?Run the compilation commands
    Buildroot/make <pkg>-install-staging?target package: Run the installation of the package in the staging directory, if necessary
    Buildroot/make <pkg>-install-target?target package: Run the installation of the package in the target directory, if necessary
    Buildroot/make <pkg>-install?target package: Run the 2 previous installation commands
    host package:Run the installation of the package in the host directory

その他

  • Buildroot/make <pkg>-show-depends?Displays the first-order dependencies required to build the package
    Buildroot/make <pkg>-show-recursive-depends?Recursively displays the dependencies required to build the package
    Buildroot/make <pkg>-show-rdepends?Displays the first-order reverse dependencies of the package (i.e packages that directly depend on it)
    Buildroot/make <pkg>-show-recursive-rdepends?Recursively displays the reverse dependencies of the package (i.e the packages that depend on it, directly or indirectly)
    Buildroot/make <pkg>-graph-depends?Generate a dependency graph of the package, in the context of the current Buildroot configuration. See this section for more details about dependency graphs.
    Buildroot/make <pkg>-graph-rdepends?Generate a graph of this package reverse dependencies (i.e the packages that depend on it, directly or indirectly)
    Buildroot/make <pkg>-dirclean?Remove the whole package build directory
    Buildroot/make <pkg>-reinstall?Re-run the install commands
    Buildroot/make <pkg>-rebuild?Re-run the compilation commands - this only makes sense when using the OVERRIDE_SRCDIR feature or when you modified a file directly in the build directory
    Buildroot/make <pkg>-reconfigure?Re-run the configure commands, then rebuild - this only makes sense when using the OVERRIDE_SRCDIR feature or when you modified a file directly in the build directory

make help

  • Package-specific:
    • Buildroot/make <pkg> - Build and install <pkg> and all its dependencies
    • Buildroot/make <pkg>-source? - Only download the source files for <pkg>
    • Buildroot/make <pkg>-extract? - Extract <pkg> sources
    • Buildroot/make <pkg>-patch? - Apply patches to <pkg>
    • Buildroot/make <pkg>-depends? - Build <pkg>'s dependencies
    • Buildroot/make <pkg>-configure? - Build <pkg> up to the configure step
    • Buildroot/make <pkg>-build? - Build <pkg> up to the build step
    • Buildroot/make <pkg>-show-info? - generate info about <pkg>, as a JSON blurb
    • Buildroot/make <pkg>-show-depends? - List packages on which <pkg> depends
    • Buildroot/make <pkg>-show-rdepends? - List packages which have <pkg> as a dependency
    • Buildroot/make <pkg>-show-recursive-depends? - Recursively list packages on which <pkg> depends
    • Buildroot/make <pkg>-show-recursive-rdepends? - Recursively list packages which have <pkg> as a dependency
    • Buildroot/make <pkg>-graph-depends? - Generate a graph of <pkg>'s dependencies
    • Buildroot/make <pkg>-graph-rdepends? - Generate a graph of <pkg>'s reverse dependencies
    • Buildroot/make <pkg>-dirclean? - Remove <pkg> build directory
    • Buildroot/make <pkg>-reconfigure? - Restart the build from the configure step
    • Buildroot/make <pkg>-rebuild? - Restart the build from the build step
    • Buildroot/make <pkg>-reinstall? - Restart the build from the install step