aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commit435c83154e3424223d2dcdaffe36680f38d44ebf (patch)
treee7f72db6424b6fb4df68f00c68275b04c9eaca2f /include
parent65180dee3dbb44f0b38621cb8ac6d302efd39f67 (diff)
downloadupstream-435c83154e3424223d2dcdaffe36680f38d44ebf.tar.gz
upstream-435c83154e3424223d2dcdaffe36680f38d44ebf.tar.bz2
upstream-435c83154e3424223d2dcdaffe36680f38d44ebf.zip
include/prereq.mk: fix echo commands with simple /bin/sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44297 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/prereq.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index 83625e3bf2..9bc5e0dee2 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