summaryrefslogtreecommitdiffstats
path: root/rules/post
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-05-11 19:55:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-06-13 22:21:42 +0200
commitdb8c8de5060c2c6cc7cc1885cca4ea22af867525 (patch)
tree1cabdd8aaa4725246919697e1e7ce83394741747 /rules/post
parent5b9199aa7580b5c6ab0b0aa43fb7a650e34ddfc3 (diff)
downloadptxdist-db8c8de5060c2c6cc7cc1885cca4ea22af867525.tar.gz
ptxdist-db8c8de5060c2c6cc7cc1885cca4ea22af867525.tar.xz
ptxd_make_image_common: define world/image/env for image packages
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/post')
-rw-r--r--rules/post/ptxd_make_image_common.make11
1 files changed, 11 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_image_common.make b/rules/post/ptxd_make_image_common.make
index 4e6d499e7..7ccb5017a 100644
--- a/rules/post/ptxd_make_image_common.make
+++ b/rules/post/ptxd_make_image_common.make
@@ -24,4 +24,15 @@ image/env = \
image_work_dir="$(call ptx/escape,$(image/work_dir))" \
image_permissions="$(call ptx/escape,$(image/permissions))"
+world/image/env/impl = \
+ $(call world/env, $(1)) \
+ image_repo_dist_dir="$(IMAGE_REPO_DIST_DIR)" \
+ image_env="$(call ptx/escape,$($(1)_ENV))" \
+ image_pkgs="$(call ptx/escape,$($(1)_PKGS))" \
+ image_files="$(call ptx/escape,$($(1)_FILES))" \
+ image_image="$(call ptx/escape,$($(1)_IMAGE))"
+
+world/image/env = \
+ $(call world/image/env/impl,$(strip $(1)))
+
# vim: syntax=make