aboutsummaryrefslogtreecommitdiff
path: root/board/solidrun/clearfog
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-05-04 22:51:32 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2021-05-06 22:58:54 +0200
commitefdcd651bf8fe8e9a291932397eca8731483d17c (patch)
tree17a20ecb79147872fc7fed9c2f319ec8f5a197b9 /board/solidrun/clearfog
parent8c8f375badfe1dbfbbfeb449a74753dbad3c5fa4 (diff)
downloadbuildroot-master.tar.gz
buildroot-master.tar.bz2
package/Makefile.in: expose CONFIG_DIR to post-build/post-image scriptsHEADmaster
Sometimes, post-build or post-image scripts need to reinvoke Buildroot's make, for example to execute "make printvars". However, so far post-build/image/fakeroot can't trivially run printvars 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 * "make -C ${BR2_CONFIG%/*} printvars" works in both cases, but it is a bit cryptic, and two maintainers did not even immediately think of it In order to solve this, this commit exposes $(CONFIG_DIR) to post-build/image/fakeroot scripts, through the EXTRA_ENV variable. The documentation is updated accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [yann.morin.1998@free.fr: - reference BR2_CONFIG as an exemple - slightly reword the commit log accordingly - move the doc for CONFIG_DIR next to that of BR2_CONFIG ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'board/solidrun/clearfog')
0 files changed, 0 insertions, 0 deletions