diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2017-06-15 00:11:31 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-06-15 11:45:57 +0200 |
commit | 5f94c97a62a4377ded33ebeb23b17283f4a7123f (patch) | |
tree | e7c58429fda8891e83c97f4f73987086323b1014 /package/python-setuptools/python-setuptools.mk | |
parent | b50b692e4c22cfe3d7b4b35614285e90875baa38 (diff) | |
download | buildroot-5f94c97a62a4377ded33ebeb23b17283f4a7123f.tar.gz buildroot-5f94c97a62a4377ded33ebeb23b17283f4a7123f.zip |
Makefile: declare targets PHONY where they are defined
Currently, a lot of targets are declared PHONY together in the middle
of the Makefile. This has two important shortcomings:
- it is more difficult to see if a target is missing from PHONY;
- it is currently inside the ifeq ($(BR2_HAVE_DOT_CONFIG),y) condition,
but some of these targets are also defined when there is no .config;
in that case, these targets are not declared as PHONY.
Both issues can easily be solved by putting the PHONY declaration next
to the definition of the target.
The noconfig_targets are also all declared PHONY together; however,
for these we anyway have to keep the noconfig_targets variable
up-to-date, and that PHONY declaration is outside all conditions, so
there is no benefit of splitting them.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-setuptools/python-setuptools.mk')
0 files changed, 0 insertions, 0 deletions