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,6 +18,6 @@
#
############################################################################
ifeq ($(CONFIG_CANUTILS_CANLIB),y)
ifneq ($(CONFIG_CANUTILS_CANLIB),)
CONFIGURED_APPS += $(APPDIR)/canutils/canlib
endif

View file

@ -18,6 +18,6 @@
#
############################################################################
ifeq ($(CONFIG_CANUTILS_LIBCANARDV0),y)
ifneq ($(CONFIG_CANUTILS_LIBCANARDV0),)
CONFIGURED_APPS += $(APPDIR)/canutils/libcanardv0
endif

View file

@ -18,6 +18,6 @@
#
############################################################################
ifeq ($(CONFIG_CANUTILS_LIBCANARDV1),y)
ifneq ($(CONFIG_CANUTILS_LIBCANARDV1),)
CONFIGURED_APPS += $(APPDIR)/canutils/libcanardv1
endif

View file

@ -18,6 +18,6 @@
#
############################################################################/
ifeq ($(CONFIG_CANUTILS_LIBCANUTILS),y)
ifneq ($(CONFIG_CANUTILS_LIBCANUTILS),)
CONFIGURED_APPS += $(APPDIR)/canutils/libcanutils
endif

View file

@ -18,6 +18,6 @@
#
############################################################################
ifeq ($(CONFIG_CANUTILS_LIBOBD2),y)
ifneq ($(CONFIG_CANUTILS_LIBOBD2),)
CONFIGURED_APPS += $(APPDIR)/canutils/libobd2
endif