summaryrefslogtreecommitdiffstats
path: root/rules/sw-ek-lm3s3748.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-12-12 11:30:10 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-12-12 11:32:29 +0100
commit6acdb6db486c6cbd7cd4d43a10394055a28f0328 (patch)
treef7edf6e92f7e1a1cc71922a955553755abbcf133 /rules/sw-ek-lm3s3748.make
parent1ee6f3a8f58cbd97de2bc163536eac961a3dd891 (diff)
downloadptxdist-6acdb6db486c6cbd7cd4d43a10394055a28f0328.tar.gz
ptxdist-6acdb6db486c6cbd7cd4d43a10394055a28f0328.tar.xz
rules: use ptx/force-shell in more placesptxdist-2018.12.0
Any $(shell ...) call that influences the dependency list must use ptx/force-shell instead. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/sw-ek-lm3s3748.make')
-rw-r--r--rules/sw-ek-lm3s3748.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/sw-ek-lm3s3748.make b/rules/sw-ek-lm3s3748.make
index 9ca5fc762..422f86eeb 100644
--- a/rules/sw-ek-lm3s3748.make
+++ b/rules/sw-ek-lm3s3748.make
@@ -9,11 +9,11 @@
#
ifdef PTXCONF_SW_EK_LM3S3748
-ifneq ($(shell test -h $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris && echo ok),ok)
+ifneq ($(call ptx/force-shell, test -h $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris && echo ok),ok)
$(warning *** selected_toolchain_stellaris must point to a valid stellaris toolchain)
$(error )
endif
-ifneq ($(shell test -x $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris/$(PTXCONF_STELLARIS_CC) && echo ok),ok)
+ifneq ($(call ptx/force-shell, test -x $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris/$(PTXCONF_STELLARIS_CC) && echo ok),ok)
$(warning *** $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris/$(PTXCONF_STELLARIS_CC) not found)
$(error )
endif