mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
to support the tristate option correctly and unify the usage Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
97440889ac
commit
4941182cc6
79 changed files with 81 additions and 81 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
############################################################################
|
||||
|
||||
ifeq ($(CONFIG_CMSIS_NN),y)
|
||||
ifneq ($(CONFIG_CMSIS_NN),)
|
||||
CONFIGURED_APPS += $(APPDIR)/mlearning/cmsis/libcmsisnn
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/mlearning/cmsis/CMSIS_5/CMSIS/NN/Include/}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
############################################################################
|
||||
|
||||
ifeq ($(CONFIG_DARKNET_YOLO),y)
|
||||
ifneq ($(CONFIG_DARKNET_YOLO),)
|
||||
CONFIGURED_APPS += $(APPDIR)/mlearning/darknet
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/mlearning/darknet/darknet/include/}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
############################################################################
|
||||
|
||||
ifeq ($(CONFIG_NNABLA_RT),y)
|
||||
ifneq ($(CONFIG_NNABLA_RT),)
|
||||
CONFIGURED_APPS += $(APPDIR)/mlearning/libnnablart
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/mlearning/libnnablart/nnabla-c-runtime/include/}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue