diff mbox series

[4/4] target/imagebuilder: add help text and rename whatdepends to package_whatdepens

Message ID 20210819072913.1825-4-fe@dev.tdt.de
State New
Headers show
Series [1/4] target/imagebuilder: add depends target to show all package that gets installed | expand

Commit Message

Florian Eckert Aug. 19, 2021, 7:29 a.m. UTC
Add the missing help text for the package_whatdepends makefile target.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
 target/imagebuilder/files/Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
diff mbox series


diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 8d02b8752d..1d8bf9526e 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -35,6 +35,7 @@  Available Commands:
 	clean:	Remove images and temporary build files
 	image:	Build an image (see below for more information).
 	manifest: Show all package that will be installed into to image
+	package_whatdepends: Show which packages have a dependency on this
 	package_depends: Show installation dependency of the package
@@ -58,6 +59,13 @@  manifest:
 	make manifest PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages
 	make manifest STRIP_ABI=1 # remove ABI version from printed package names
+	List "all" packages that have a dependency on this package
+	You can use the following parameters:
+	make package_whatdepends PACKAGE="<pkg>"
 	List "all" packages dependency of the package
 	You can use the following parameters:
@@ -261,7 +269,7 @@  manifest: FORCE
-whatdepends: FORCE
+package_whatdepends: FORCE
 ifeq ($(PACKAGE),)
 	@echo 'Variable `PACKAGE` is not set but required by `whatdepends`'
 	@exit 1
@@ -278,4 +286,4 @@  endif
 	@$(OPKG) depends -A $(PACKAGE)
-.SILENT: help info image manifest whatdepends package_depends
+.SILENT: help info image manifest package_whatdepends package_depends