summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-02-07 10:07:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-02-07 10:07:05 +0000
commit64c4ee703a16aea6917ec1aa7820edfce80f89a1 (patch)
tree0c1440ab3d15a004e7713414377113e0664e5c35
parent13a0f0d62157e748041dcfdbd984f0642199eee9 (diff)
downloadmtk-20170518-64c4ee703a16aea6917ec1aa7820edfce80f89a1.zip
mtk-20170518-64c4ee703a16aea6917ec1aa7820edfce80f89a1.tar.gz
mtk-20170518-64c4ee703a16aea6917ec1aa7820edfce80f89a1.tar.bz2
include/prereq.mk: fix echo commands with simple /bin/sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44297
-rw-r--r--include/prereq.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index 83625e3..9bc5e0d 100644
--- a/include/prereq.mk
+++ b/include/prereq.mk
@@ -30,12 +30,12 @@ define Require
prereq: prereq-$(1)
prereq-$(1): $(if $(PREREQ_PREV),prereq-$(PREREQ_PREV)) FORCE
- echo -n "Checking '$(1)'... "
+ printf "Checking '$(1)'... "
if $(NO_TRACE_MAKE) -f $(firstword $(MAKEFILE_LIST)) check-$(1) >/dev/null 2>/dev/null; then \
echo 'ok.'; \
else \
echo 'failed.'; \
- echo -e "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \
+ echo "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \
fi
check-$(1): FORCE