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:
Xiang Xiao 2022-10-16 17:35:14 +08:00 committed by Petro Karashchenko
parent 97440889ac
commit 4941182cc6
79 changed files with 81 additions and 81 deletions

View file

@ -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