Skip to content
Snippets Groups Projects
Commit 64c4ee70 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

include/prereq.mk: fix echo commands with simple /bin/sh


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 44297
parent 13a0f0d6
No related branches found
No related tags found
No related merge requests found
...@@ -30,12 +30,12 @@ define Require ...@@ -30,12 +30,12 @@ define Require
prereq: prereq-$(1) prereq: prereq-$(1)
prereq-$(1): $(if $(PREREQ_PREV),prereq-$(PREREQ_PREV)) FORCE 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 \ if $(NO_TRACE_MAKE) -f $(firstword $(MAKEFILE_LIST)) check-$(1) >/dev/null 2>/dev/null; then \
echo 'ok.'; \ echo 'ok.'; \
else \ else \
echo 'failed.'; \ echo 'failed.'; \
echo -e "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \ echo "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \
fi fi
check-$(1): FORCE check-$(1): FORCE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment