summaryrefslogtreecommitdiffstats
path: root/toolchain/helpers.mk
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/helpers.mk')
-rw-r--r--toolchain/helpers.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index 85a9407642..a4fa815e36 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -81,7 +81,7 @@ copy_toolchain_lib_root = \
done; \
done; \
\
- echo -n
+ printf
#
# Copy the full external toolchain sysroot directory to the staging
@@ -150,7 +150,7 @@ copy_toolchain_sysroot = \
fi ; \
mkdir -p `dirname $(STAGING_DIR)/$${ARCH_SUBDIR}` ; \
relpath="./" ; \
- nbslashs=`echo -n $${ARCH_SUBDIR} | sed 's%[^/]%%g' | wc -c` ; \
+ nbslashs=`printf $${ARCH_SUBDIR} | sed 's%[^/]%%g' | wc -c` ; \
for slash in `seq 1 $${nbslashs}` ; do \
relpath=$${relpath}"../" ; \
done ; \
OpenPOWER on IntegriCloud