浏览代码

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>
Thomas Petazzoni 15 年之前
父节点
当前提交
118b880d73
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      package/Makefile.package.in

+ 3 - 0
package/Makefile.package.in

@@ -338,6 +338,9 @@ $(1)-extract:		$(1)-depends \
 
 
 $(1)-depends:		$(1)-source $$($(2)_DEPENDENCIES)
 $(1)-depends:		$(1)-source $$($(2)_DEPENDENCIES)
 
 
+$(1)-show-depends:
+			@echo $$($(2)_DEPENDENCIES)
+
 $(1)-source:		$$($(2)_TARGET_SOURCE)
 $(1)-source:		$$($(2)_TARGET_SOURCE)
 
 
 $(1)-uninstall:		$(1)-configure $$($(2)_TARGET_UNINSTALL)
 $(1)-uninstall:		$(1)-configure $$($(2)_TARGET_UNINSTALL)