aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-03-22 22:07:05 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-25 19:27:04 +0100
commitad89bffed50bc5de4ebf357f2e9a66133c8a7a7f (patch)
tree6e05cf6a721b63d44327926213d352946903d30b /package
parent93f77125112ee5335719065cdfcfb1593caa7c27 (diff)
downloadbuildroot-ad89bffed50bc5de4ebf357f2e9a66133c8a7a7f.tar.gz
buildroot-ad89bffed50bc5de4ebf357f2e9a66133c8a7a7f.tar.bz2
package/pkg-generic: mark some rule PHONY
The %-graph-rdepends should be marked PHONY, as the %-graph-depends is. The %-show-dependency-tree should also be a PHONY rule, because it does not actually create a file. Furthermore, to avoid the "Nothing to be done for .." message, give that rule an actual recipe that just does nothing. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/pkg-generic.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index db7f06ddbe..dd3e20ca57 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -859,6 +859,7 @@ $(1)-show-build-order: $$(patsubst %,%-show-build-order,$$($(2)_FINAL_ALL_DEPEND
$$(info $(1))
$(1)-show-dependency-tree: $$(patsubst %,%-show-dependency-tree,$$($(2)_FINAL_ALL_DEPENDENCIES))
+ @:
$$(info $(1): $(4) $$(if $$($(2)_IS_VIRTUAL),virtual,$$($(2)_DL_VERSION)))
$$(info $(1) -> $$(foreach d,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(d)))
@@ -1079,6 +1080,7 @@ DL_TOOLS_DEPENDENCIES += $$(call extractor-dependency,$$($(2)_SOURCE))
$(1)-external-deps \
$(1)-extract \
$(1)-graph-depends \
+ $(1)-graph-rdepends \
$(1)-install \
$(1)-install-host \
$(1)-install-images \
@@ -1091,6 +1093,7 @@ DL_TOOLS_DEPENDENCIES += $$(call extractor-dependency,$$($(2)_SOURCE))
$(1)-reconfigure \
$(1)-reinstall \
$(1)-rsync \
+ $(1)-show-dependency-tree \
$(1)-show-depends \
$(1)-show-version \
$(1)-source