summaryrefslogtreecommitdiffstats
path: root/rules/ptxdist-configs.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-03-20 14:18:33 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-03-20 16:50:37 +0100
commit7bede42806cb547d0f2a97493b2197c298b44c27 (patch)
tree3e2ec5ecbded61901d34245b9a142e077cbba949 /rules/ptxdist-configs.make
parent51272499975c14088bb9d5ed6ccb16d3aa5eb981 (diff)
downloadptxdist-7bede42806cb547d0f2a97493b2197c298b44c27.tar.gz
ptxdist-7bede42806cb547d0f2a97493b2197c298b44c27.tar.xz
ptxdist-configs: use ptx/cfghash-file instead of manual tricks to rebuild the package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ptxdist-configs.make')
-rw-r--r--rules/ptxdist-configs.make12
1 files changed, 5 insertions, 7 deletions
diff --git a/rules/ptxdist-configs.make b/rules/ptxdist-configs.make
index e80fb0dc2..e4019af53 100644
--- a/rules/ptxdist-configs.make
+++ b/rules/ptxdist-configs.make
@@ -17,20 +17,18 @@ PTXDIST_CONFIGS_VERSION := $(PTXDIST_VERSION_FULL)
# Target-Install
# ----------------------------------------------------------------------------
-$(STATEDIR)/ptxdist-configs.targetinstall: \
- $(PTXDIST_PTXCONFIG) \
- $(PTXDIST_PLATFORMCONFIG)
+$(call ptx/cfghash-file, PTXDIST_CONFIGS, $(PTXDIST_PTXCONFIG))
+$(call ptx/cfghash-file, PTXDIST_CONFIGS, $(PTXDIST_PLATFORMCONFIG))
ifneq ($(wildcard $(PTXDIST_COLLECTIONCONFIG)),)
-$(STATEDIR)/ptxdist-configs.targetinstall: \
- $(PTXDIST_COLLECTIONCONFIG)
+$(call ptx/cfghash-file, PTXDIST_CONFIGS, $(PTXDIST_COLLECTIONCONFIG))
endif
ifdef PTXCONF_KERNEL
-$(STATEDIR)/ptxdist-configs.targetinstall: $(STATEDIR)/kernel.prepare
+$(call ptx/cfghash-file, PTXDIST_CONFIGS, $(KERNEL_CONFIG))
endif
ifdef PTXCONF_BAREBOX
-$(STATEDIR)/ptxdist-configs.targetinstall: $(STATEDIR)/barebox.prepare
+$(call ptx/cfghash-file, PTXDIST_CONFIGS, $(BAREBOX_CONFIG))
endif
$(STATEDIR)/ptxdist-configs.targetinstall: