summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-29 19:33:27 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-06 11:08:02 +0200
commit0dd232e9c7dd89837dba72b475426b7f5ebd7ff6 (patch)
tree4112d81cae2ca83a53456317807ac52de9ae637f
parentcb686165d22ecb6d1f7094a02ee6360c8b2ce92f (diff)
downloadbuildroot-0dd232e9c7dd89837dba72b475426b7f5ebd7ff6.tar.gz
buildroot-0dd232e9c7dd89837dba72b475426b7f5ebd7ff6.zip
Makefile: directories are not PHONY targets
The global .PHONY specification in the main Makefile is describing a number of directory targets as being PHONY, which doesn't make much sense. PHONY targets are targets that do not exist on the filesystem, and which make should always consider as not being up-to-date, so that the commands associated to these targets are always executed by make when the command is invoked, even if a file with the same name exists on the filesystem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 65b60c2094..bcb1f96302 100644
--- a/Makefile
+++ b/Makefile
@@ -434,9 +434,7 @@ world: target-post-image
legal-info legal-info-prepare legal-info-clean printvars help \
list-defconfigs target-finalize target-post-image \
$(TARGETS) $(TARGETS_ROOTFS) \
- $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \
- $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
- $(HOST_DIR) $(BINARIES_DIR)
+ $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO)
################################################################################
#
OpenPOWER on IntegriCloud