[Buildroot] [PATCH RESEND] core: enhance printvars for variables with newlines

Stefan Becker chemobejk at gmail.com
Sun Dec 16 15:33:48 UTC 2018


Hi,

On Sun, Dec 16, 2018 at 5:14 PM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> You did not answer my question: why didn't you use features of
> Buildroot such as "make <pkg>-build" or "make <pkg>-rebuild" ?

That would require the buildroot source tree to be available. Plus
adding all internal components, even the ones that have nothing to
with buildroot and do not use any of its host build tools, to the
buildroot meta build system for buildroot build to recognize the
generated build artefacts.

> How in practice you were using those commands extracted from Buildroot
> variables to achieve "modular builds" ?

That depends on the module, e.g.

* buildroot: output/target/, host/ plus selected buildroot meta build
system source files required for flash image build + module install
script
* kernel: output from modules_install & install + module install script
* ... (you get the picture)

But definitely no source code is included in the module build
artefact. All internal components have been removed from buildroot
meta build system, i.e. buildroot module build only builds components
included in its component list, i.e. buildroot module build only needs
to be executed after pulling changes from upstream.

Regards, Stefan


More information about the buildroot mailing list