summaryrefslogtreecommitdiff
path: root/samples/samples.mk
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-11-02 06:19:12 (GMT)
committerAlexey Neyman <stilor@att.net>2018-11-02 06:19:12 (GMT)
commitd72f065e71931c7f95f08e394d320b235b523ee4 (patch)
tree5149e00fc73f66346e04beab16730e27f10348d0 /samples/samples.mk
parent5958d54350a7ab4543db6a0c7627e35089a43b93 (diff)
Check if .config is a regular file before clobbering it
Fixes #1014. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'samples/samples.mk')
-rw-r--r--samples/samples.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/samples.mk b/samples/samples.mk
index 7b356dd..13f8779 100644
--- a/samples/samples.mk
+++ b/samples/samples.mk
@@ -130,7 +130,7 @@ endef
# How we do recall one sample
PHONY += $(CT_SAMPLES)
-$(CT_SAMPLES):
+$(CT_SAMPLES): check-config
@$(CT_ECHO) " CONF $@"
$(SILENT)$(CONF) --defconfig=$(call sample_dir,$@)/crosstool.config $(KCONFIG_TOP)
@echo