mm/tlsf: fix compile error/warning on tlsf

1.
make[1]: Entering directory '/home/archer/code/nuttx/n2/incubator-nuttx/mm'
/bin/sh: 1: Syntax error: "(" unexpected

2.
tools/Unix.mk:681: warning: overriding recipe for target 'mm_clean'
tools/Unix.mk:681: warning: ignoring old recipe for target 'mm_clean'
tools/Unix.mk:700: warning: overriding recipe for target 'mm_distclean'
tools/Unix.mk:700: warning: ignoring old recipe for target 'mm_distclean'

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an
2023-01-16 14:28:43 +08:00
committed by Xiang Xiao
parent c07bd5d644
commit 613bfd0fde
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ distclean::
CSRCS += mm_tlsf.c tlsf.c
CFLAGS += ${shell $(DEFINE) "$(CC)" tlsf_printf=if(0)}
CFLAGS += ${shell $(DEFINE) "$(CC)" tlsf_printf=\"if\(0\)printf\"}
# Add the tlsf directory to the build