build: Replace "$(shell $(DEFINE) $(CC) ...)" with $(DEFINE_PREFIX)
to unify the way to define macros in Makefile Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
0eeca0f375
commit
04e44d7d20
@ -38,7 +38,7 @@ distclean::
|
|||||||
|
|
||||||
CSRCS += mm_tlsf.c tlsf.c
|
CSRCS += mm_tlsf.c tlsf.c
|
||||||
|
|
||||||
CFLAGS += ${shell $(DEFINE) "$(CC)" tlsf_printf=\"if\(0\)printf\"}
|
CFLAGS += ${DEFINE_PREFIX}tlsf_printf=if\(0\)printf
|
||||||
|
|
||||||
# Add the tlsf directory to the build
|
# Add the tlsf directory to the build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user