[Buildroot] [PATCH v3 1/7] package/Makefile.in: expose CONFIG_DIR to post-build/post-image scripts
Peter Korsgaard
peter at korsgaard.com
Sat May 8 14:32:54 UTC 2021
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> Sometimes, post-build or post-image scripts need to reinvoke
> Buildroot's make, for example to execute "make printvars".
> However, so far none of the variables exposed to post-build/post-image
> scripts allowed to do that in a way that worked for both in-tree and
> out-of-tree builds. Indeed:
> * "make printvars" would work for in-tree builds, but not out of tree
> builds
> * "make -C ${O} printvars" would work for out-of-tree builds, but not
> in-tree builds
> In order to solve this, this commit exposes $(CONFIG_DIR) to
> post-build/post-image scripts, through the EXTRA_ENV variable.
> The documentation is updated accordingly.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
While this is a new feature, it is arguably something we should have
fixed a long time ago and it seems fairly low risk, so committed to
2021.02.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list