From a5ea40478c99a6cdb11792123f93bf7dc9ae72c3 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 15 Apr 2015 21:13:20 -0600 Subject: [PATCH] runtime/Makefile: use printf instead of non-portable echo -e --- soc/runtime/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/runtime/Makefile b/soc/runtime/Makefile index d6c5a4d38..a77879511 100644 --- a/soc/runtime/Makefile +++ b/soc/runtime/Makefile @@ -5,7 +5,7 @@ OBJECTS_KSUPPORT := exception_jmp.o exceptions.o rtio.o dds.o # NOTE: this does not handle dependencies well. Run "make clean" # when switching between UP and AMP. -UNIPROCESSOR := $(shell /bin/echo -e "\#include \nCSR_KERNEL_CPU_BASE" | $(CC_normal) $(CFLAGS) -E - | tail -n 1 | grep -c CSR_KERNEL_CPU_BASE) +UNIPROCESSOR := $(shell printf "\#include \nCSR_KERNEL_CPU_BASE" | $(CC_normal) $(CFLAGS) -E - | tail -n 1 | grep -c CSR_KERNEL_CPU_BASE) ifeq ($(UNIPROCESSOR),0) OBJECTS += mailbox.o kernelcpu.o ksupport_data.o