summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-06 10:05:43 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-21 15:07:33 +0200
commit118b880d73e812069ec2fe72f921d70894eb10a0 (patch)
treeaabc0319f1a24273e0c31629be2cee43b8c8381f
parentf3122259e2cbbc0be0fc02820a146b4e4f48bef6 (diff)
downloadbuildroot-novena-118b880d73e812069ec2fe72f921d70894eb10a0.tar.gz
buildroot-novena-118b880d73e812069ec2fe72f921d70894eb10a0.zip
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 c2f86c7be..cdf49f8fe 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)