summaryrefslogtreecommitdiffstats
path: root/rules/sw-ek-lm3s3748.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-05-17 13:38:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-05-17 14:17:08 +0200
commitf0473a283f689b1ebeb535e90f6822ce6ba375b6 (patch)
tree263a6f13032adc7a17d7f0c2e81f3a0ab75bf38f /rules/sw-ek-lm3s3748.make
parentdbd8fbd82684e96132ac88d7f3dc31e987107b9a (diff)
downloadptxdist-f0473a283f689b1ebeb535e90f6822ce6ba375b6.tar.gz
ptxdist-f0473a283f689b1ebeb535e90f6822ce6ba375b6.tar.xz
rules: introduce and use ptx/force-sh
It is just like ptx/force-shell but it uses /bin/sh instead of bash. That means it is faster (if /bin/sh is a dash) but cannot be used to call the shell functions exported by ptxdist. 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 422f86eeb..f006e0816 100644
--- a/rules/sw-ek-lm3s3748.make
+++ b/rules/sw-ek-lm3s3748.make
@@ -9,11 +9,11 @@
#
ifdef PTXCONF_SW_EK_LM3S3748
-ifneq ($(call ptx/force-shell, test -h $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris && echo ok),ok)
+ifneq ($(call ptx/force-sh, test -h $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris && echo ok),ok)
$(warning *** selected_toolchain_stellaris must point to a valid stellaris toolchain)
$(error )
endif
-ifneq ($(call ptx/force-shell, test -x $(PTXDIST_WORKSPACE)/selected_toolchain_stellaris/$(PTXCONF_STELLARIS_CC) && echo ok),ok)
+ifneq ($(call ptx/force-sh, 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