summaryrefslogtreecommitdiffstats
path: root/package/diffutils/diffutils.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 11:51:14 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-26 19:55:40 +0200
commit256f142bf662fd8fee712e38edd58bb6e8fd283d (patch)
tree6a5092b76348f752b35202bd2f1e8abc049b2b36 /package/diffutils/diffutils.mk
parentae473ca4464a2dd4514077169af9005d8665c59a (diff)
downloadbuildroot-256f142bf662fd8fee712e38edd58bb6e8fd283d.tar.gz
buildroot-256f142bf662fd8fee712e38edd58bb6e8fd283d.zip
Makefile: add BR_BUILDING variable
Some packages do some sanity checks on their configuration, for example linux checks that the defconfig string is not empty when a defconfig is used. Such checks are currently always performed, except when the 'source' target is part of make goals. This is problematic for two reasons: - Other targets such as 'source-check', 'external-deps' or 'legal-info', that do not consist in doing a build, cannot be executed in such situations. - The current code removes the check as soon as one of the targets is source. But if there are other non-source targets called at the same time, the checks are ignored. This commit therefore introduces an internal variable called BR_BUILDING, which tells packages if we are actually building or not. A variable nobuild_targets indicates the targets that we do not consider as being build targets. For the moment, nobuild_targets only contains 'source', to be completely iso-functional. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package/diffutils/diffutils.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud