diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-26 11:51:16 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-26 22:20:42 +0200 |
commit | 4feeb2db3484dec940ff1f8921bb4db15031e8fe (patch) | |
tree | e93d7e7b0a5c0d6ccf1b37e5b0c41b1491593f55 | |
parent | fa6289bb1aad1a8b6721fbeb15d34520c84dcb39 (diff) | |
download | buildroot-4feeb2db3484dec940ff1f8921bb4db15031e8fe.tar.gz buildroot-4feeb2db3484dec940ff1f8921bb4db15031e8fe.zip |
Makefile: add a few more targets to nobuild_targets
With this commit, one can now execute the source-check, external-deps
and legal-info targets regardless of the checks normally being done by
packages on the configuration.
Note that we intentionally do not go down the road of adding %-source,
%-legal-info, and the miryad of other targets that could work in such
situations. We only whitelist a few targets that are really useful to
have as nobuild_targets.
[Thomas: also add 'clean' and 'distclean' to the nobuild_targets, as
suggested by Yann.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -86,7 +86,9 @@ noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconf # We're building in two situations: when MAKECMDGOALS is empty # (default target is to build), or when MAKECMDGOALS contains # something else than one of the nobuild_targets. -nobuild_targets := source +nobuild_targets := source source-check \ + legal-info external-deps _external-deps \ + clean distclean ifeq ($(MAKECMDGOALS),) BR_BUILDING = y else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),) |