summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-06 08:05:43 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-21 13:07:33 (GMT)
commit118b880d73e812069ec2fe72f921d70894eb10a0 (patch)
treeaabc0319f1a24273e0c31629be2cee43b8c8381f
parentf3122259e2cbbc0be0fc02820a146b4e4f48bef6 (diff)
downloadbuildroot-118b880d73e812069ec2fe72f921d70894eb10a0.tar.gz
buildroot-118b880d73e812069ec2fe72f921d70894eb10a0.tar.bz2
package: Add new <pkg>-show-depends to list dependencies
The new <pkg>-show-depends simply outputs the list of dependencies for the given package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Makefile.package.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index c2f86c7..cdf49f8 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -338,6 +338,9 @@ $(1)-extract: $(1)-depends \
$(1)-depends: $(1)-source $$($(2)_DEPENDENCIES)
+$(1)-show-depends:
+ @echo $$($(2)_DEPENDENCIES)
+
$(1)-source: $$($(2)_TARGET_SOURCE)
$(1)-uninstall: $(1)-configure $$($(2)_TARGET_UNINSTALL)