Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
118b880d73
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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)-show-depends:
+			@echo $$($(2)_DEPENDENCIES)
+
 $(1)-source:		$$($(2)_TARGET_SOURCE)
 
 $(1)-uninstall:		$(1)-configure $$($(2)_TARGET_UNINSTALL)