summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-02-19 08:13:31 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-20 13:58:14 +0100
commite6be973866406330f3b5c80d96a23d010e871e72 (patch)
tree9f9ccd516936c810f5586dce8b5b7bdeae3680fc /rules
parent1bad43ee6c55f42bc3f81378bf5d6bae65fa3d06 (diff)
downloadptxdist-e6be973866406330f3b5c80d96a23d010e871e72.tar.gz
ptxdist-e6be973866406330f3b5c80d96a23d010e871e72.tar.xz
ptxd_make_world_package_info: extend and handle image packages
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/post/ptxd_make_world_package_info.make9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_package_info.make b/rules/post/ptxd_make_world_package_info.make
index 9d7af6a88..56d653da9 100644
--- a/rules/post/ptxd_make_world_package_info.make
+++ b/rules/post/ptxd_make_world_package_info.make
@@ -15,6 +15,15 @@ world/package-info = \
$(call world/env, $(1)) \
ptxd_make_world_package_info
+image/package-info = \
+ $(call world/image/env, $(1)) \
+ ptxd_make_world_package_info
+
+$(STATEDIR)/image-%.package-info: ptx-package-info
+ @$(call targetinfo)
+ @$(call image/package-info, $(PTX_MAP_TO_PACKAGE_image-$(*)))
+ @$(call finish)
+
$(STATEDIR)/%.package-info: ptx-package-info
@$(call targetinfo)
@$(call world/package-info, $(PTX_MAP_TO_PACKAGE_$(*)))