[Buildroot] [PATCH 1/7 v4] docs/manual: document the test-pkg script

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 15 22:25:47 UTC 2017


Hello,

Thanks for this update!

On Wed, 15 Feb 2017 22:44:29 +0100, Yann E. MORIN wrote:

> +First, create a config snippet that contains all the necessary options
> +needed to enabel your package, but without any architecture or toolchain

enable

> +The results mean:
> +
> +* `OK`: the build was successful
> +* `SKIPPED`: one or more config options from the config snippet were
> +  missing in the resulting configuration; inspect the file +config.missing+
> +  in the output build directory (+~/br-test-pkg/TOOLCHAIN_NAME/+ by
> +  default)

I would expand this explanation a bit here. As you wrote it might seem
like it is not normal for a toolchain to be skipped. What about instead:

 `SKIPPED`: one or more configuration options listed in the config
 snipped were not present in the final configuration. This is due to
 options having dependencies not satisfied by the toolchain, such as
 for example a package that +depends on BR2_USE_MMU+ with a noMMU
 toolchain.

> +When there are failures, you can just re-run the script with the same
> +options (after you fixed your package); the script will attempt to re-build
> +the package for all toolchains, without the need to re-build all the
> +dependencies of that package (but it requires the +-p+ optiopn, see below).

"see below" ? but there's nothing below.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list