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_BOOT_MCUBOOT),y)
|
||||
ifneq ($(CONFIG_BOOT_MCUBOOT),)
|
||||
CONFIGURED_APPS += $(APPDIR)/boot/mcuboot
|
||||
|
||||
# It allows import of NuttX implementation headers for MCUboot interfaces.
|
||||
|
|
@ -33,7 +33,7 @@ CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboo
|
|||
|
||||
# It allows import of MCUboot's crypto backend library headers.
|
||||
|
||||
ifeq ($(CONFIG_MCUBOOT_USE_TINYCRYPT),y)
|
||||
ifneq ($(CONFIG_MCUBOOT_USE_TINYCRYPT),)
|
||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/ext/tinycrypt/lib/include}
|
||||
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/ext/tinycrypt/lib/include}
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue