summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_world_prepare.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/post/ptxd_make_world_prepare.make')
-rw-r--r--rules/post/ptxd_make_world_prepare.make9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_prepare.make b/rules/post/ptxd_make_world_prepare.make
index f88c75c03..248282c4d 100644
--- a/rules/post/ptxd_make_world_prepare.make
+++ b/rules/post/ptxd_make_world_prepare.make
@@ -8,6 +8,15 @@
# see the README file.
#
+world/cfghash = \
+ +$(call world/env, $1) \
+ ptxd_make_world_cfghash
+
+$(STATEDIR)/%.cfghash:
+ @$(call targetinfo)
+ @$(call world/cfghash, $(PTX_MAP_TO_PACKAGE_$(basename $(*))))
+ @$(call touch)
+
$(STATEDIR)/%.prepare:
@$(call targetinfo)
@$(call world/prepare, $(PTX_MAP_TO_PACKAGE_$(*)))