mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user