Skip to content

Commit a5ea404

Browse files
committedApr 16, 2015
runtime/Makefile: use printf instead of non-portable echo -e
1 parent 61a6506 commit a5ea404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎soc/runtime/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ OBJECTS_KSUPPORT := exception_jmp.o exceptions.o rtio.o dds.o
55

66
# NOTE: this does not handle dependencies well. Run "make clean"
77
# when switching between UP and AMP.
8-
UNIPROCESSOR := $(shell /bin/echo -e "\#include <generated/csr.h>\nCSR_KERNEL_CPU_BASE" | $(CC_normal) $(CFLAGS) -E - | tail -n 1 | grep -c CSR_KERNEL_CPU_BASE)
8+
UNIPROCESSOR := $(shell printf "\#include <generated/csr.h>\nCSR_KERNEL_CPU_BASE" | $(CC_normal) $(CFLAGS) -E - | tail -n 1 | grep -c CSR_KERNEL_CPU_BASE)
99

1010
ifeq ($(UNIPROCESSOR),0)
1111
OBJECTS += mailbox.o kernelcpu.o ksupport_data.o

0 commit comments

Comments
 (0)
Please sign in to comment.