mirror of
https://github.com/apache/nuttx.git
synced 2025-12-17 02:06:54 +08:00
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:
committed by
Petro Karashchenko
parent
0eeca0f375
commit
04e44d7d20
@@ -38,7 +38,7 @@ distclean::
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user