aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/files
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-08-19 08:48:08 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-06 18:44:45 +0100
commit744a5ab9ce7b911df9ef73a514b8fa716c037f4b (patch)
treeaffb49a5fe7485835d8295e41ca69439569a5b64 /target/imagebuilder/files
parentc75a565d2c377e0b54623b5a9aae26fa63e48098 (diff)
downloadupstream-744a5ab9ce7b911df9ef73a514b8fa716c037f4b.tar.gz
upstream-744a5ab9ce7b911df9ef73a514b8fa716c037f4b.tar.bz2
upstream-744a5ab9ce7b911df9ef73a514b8fa716c037f4b.zip
target/imagebuilder: add help text and rename whatdepends to package_whatdepens
Add the command `package_whatdepends` to show all package that have a dependency to this packages. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'target/imagebuilder/files')
-rw-r--r--target/imagebuilder/files/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index acf07a5518..275932577b 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -36,6 +36,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 the image
+ package_whatdepends: Show which packages have a dependency on this
package_depends: Show installation dependency of the package
image:
@@ -59,6 +60,13 @@ manifest:
make manifest PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages
make manifest STRIP_ABI=1 # remove ABI version from printed package names
+
+package_whatdepends:
+ List "all" packages that have a dependency on this package
+ You can use the following parameters:
+
+ make package_whatdepends PACKAGE="<pkg>"
+
package_depends:
List "all" packages dependency of the package
You can use the following parameters:
@@ -263,7 +271,7 @@ manifest: FORCE
$(if $(PROFILE),USER_PROFILE="$(PROFILE_FILTER)") \
$(if $(PACKAGES),USER_PACKAGES="$(PACKAGES)"))
-whatdepends: FORCE
+package_whatdepends: FORCE
ifeq ($(PACKAGE),)
@echo 'Variable `PACKAGE` is not set but required by `whatdepends`'
@exit 1
@@ -280,4 +288,4 @@ endif
@$(OPKG) depends -A $(PACKAGE)
-.SILENT: help info image manifest whatdepends package_depends
+.SILENT: help info image manifest package_whatdepends package_depends