[Buildroot] [PATCH 1/4] package: Add new <pkg>-show-depends to list dependencies

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri May 21 13:22:12 UTC 2010


The new <pkg>-show-depends simply outputs the list of dependencies for
the given package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/Makefile.package.in |    3 +++
 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)
-- 
1.6.3.3




More information about the buildroot mailing list