You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/10/16 12:59:14 UTC

[incubator-nuttx-apps] branch master updated: Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 4941182cc Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
4941182cc is described below

commit 4941182cc664cf12f6e202c04747743badd67eac
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Oct 16 17:35:14 2022 +0800

    Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
    
    to support the tristate option correctly and unify the usage
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 audioutils/fmsynth/Make.defs           | 2 +-
 audioutils/mml_parser/Make.defs        | 2 +-
 audioutils/nxaudio/Make.defs           | 2 +-
 boot/mcuboot/Make.defs                 | 4 ++--
 builtin/Make.defs                      | 2 +-
 canutils/canlib/Make.defs              | 2 +-
 canutils/libcanardv0/Make.defs         | 2 +-
 canutils/libcanardv1/Make.defs         | 2 +-
 canutils/libcanutils/Make.defs         | 2 +-
 canutils/libobd2/Make.defs             | 2 +-
 crypto/libtomcrypt/Make.defs           | 2 +-
 crypto/mbedtls/Make.defs               | 2 +-
 examples/audio_rttl/Make.defs          | 2 +-
 examples/bmi160/Make.defs              | 2 +-
 examples/charger/Make.defs             | 2 +-
 examples/foc/Make.defs                 | 2 +-
 examples/fxos8700cq_test/Make.defs     | 2 +-
 examples/hts221_reader/Make.defs       | 2 +-
 examples/lsm303_reader/Make.defs       | 2 +-
 examples/lsm6dsl_reader/Make.defs      | 2 +-
 examples/timer_gpio/Make.defs          | 2 +-
 fsutils/flash_eraseall/Make.defs       | 2 +-
 fsutils/inifile/Make.defs              | 2 +-
 fsutils/inih/Make.defs                 | 2 +-
 fsutils/ipcfg/Make.defs                | 2 +-
 fsutils/mkfatfs/Make.defs              | 2 +-
 fsutils/mksmartfs/Make.defs            | 2 +-
 fsutils/passwd/Make.defs               | 2 +-
 games/shift/Make.defs                  | 2 +-
 gpsutils/minmea/Make.defs              | 2 +-
 graphics/ft80x/Make.defs               | 2 +-
 graphics/lvgl/Make.defs                | 2 +-
 graphics/nxglyphs/Make.defs            | 2 +-
 graphics/nxwidgets/Make.defs           | 2 +-
 graphics/pdcurs34/Make.defs            | 2 +-
 graphics/slcd/Make.defs                | 2 +-
 graphics/tiff/Make.defs                | 2 +-
 industry/abnt_codi/Make.defs           | 2 +-
 industry/foc/Make.defs                 | 2 +-
 interpreters/ficl/Make.defs            | 2 +-
 math/libtommath/Make.defs              | 2 +-
 mlearning/cmsis/libcmsisnn/Make.defs   | 2 +-
 mlearning/darknet/Make.defs            | 2 +-
 mlearning/libnnablart/Make.defs        | 2 +-
 modbus/Make.defs                       | 2 +-
 netutils/chat/Make.defs                | 2 +-
 netutils/cjson/Make.defs               | 2 +-
 netutils/codecs/Make.defs              | 2 +-
 netutils/dhcpc/Make.defs               | 2 +-
 netutils/dhcpd/Make.defs               | 2 +-
 netutils/discover/Make.defs            | 2 +-
 netutils/esp8266/Make.defs             | 2 +-
 netutils/ftpc/Make.defs                | 2 +-
 netutils/ftpd/Make.defs                | 2 +-
 netutils/libcurl4nx/Make.defs          | 2 +-
 netutils/netinit/Make.defs             | 2 +-
 netutils/netlib/Make.defs              | 2 +-
 netutils/ntpclient/Make.defs           | 2 +-
 netutils/ping/Make.defs                | 4 ++--
 netutils/pppd/Make.defs                | 2 +-
 netutils/smtp/Make.defs                | 2 +-
 netutils/telnetc/Make.defs             | 2 +-
 netutils/telnetd/Make.defs             | 2 +-
 netutils/tftpc/Make.defs               | 2 +-
 netutils/thttpd/Make.defs              | 2 +-
 netutils/usrsock_rpmsg/Make.defs       | 2 +-
 netutils/webclient/Make.defs           | 2 +-
 netutils/webserver/Make.defs           | 2 +-
 netutils/xmlrpc/Make.defs              | 2 +-
 nshlib/Make.defs                       | 2 +-
 system/cle/Make.defs                   | 2 +-
 system/embedlog/Make.defs              | 2 +-
 system/popen/Make.defs                 | 2 +-
 system/readline/Make.defs              | 2 +-
 system/system/Make.defs                | 2 +-
 system/termcurses/Make.defs            | 2 +-
 testing/unity/Make.defs                | 2 +-
 wireless/ieee802154/libmac/Make.defs   | 2 +-
 wireless/ieee802154/libutils/Make.defs | 2 +-
 79 files changed, 81 insertions(+), 81 deletions(-)

diff --git a/audioutils/fmsynth/Make.defs b/audioutils/fmsynth/Make.defs
index 0350823ed..55226287f 100644
--- a/audioutils/fmsynth/Make.defs
+++ b/audioutils/fmsynth/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_AUDIOUTILS_FMSYNTH_LIB),y)
+ifneq ($(CONFIG_AUDIOUTILS_FMSYNTH_LIB),)
 CONFIGURED_APPS += $(APPDIR)/audioutils/fmsynth
 endif
diff --git a/audioutils/mml_parser/Make.defs b/audioutils/mml_parser/Make.defs
index 32fb08cd1..880f0a2e5 100644
--- a/audioutils/mml_parser/Make.defs
+++ b/audioutils/mml_parser/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_AUDIOUTILS_MMLPARSER_LIB),y)
+ifneq ($(CONFIG_AUDIOUTILS_MMLPARSER_LIB),)
 CONFIGURED_APPS += $(APPDIR)/audioutils/mml_parser
 endif
diff --git a/audioutils/nxaudio/Make.defs b/audioutils/nxaudio/Make.defs
index 4a00aeee8..ad6f5bf23 100644
--- a/audioutils/nxaudio/Make.defs
+++ b/audioutils/nxaudio/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_AUDIOUTILS_NXAUDIO_LIB),y)
+ifneq ($(CONFIG_AUDIOUTILS_NXAUDIO_LIB),)
 CONFIGURED_APPS += $(APPDIR)/audioutils/nxaudio
 endif
diff --git a/boot/mcuboot/Make.defs b/boot/mcuboot/Make.defs
index 519e4431e..4dbe2e917 100644
--- a/boot/mcuboot/Make.defs
+++ b/boot/mcuboot/Make.defs
@@ -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
diff --git a/builtin/Make.defs b/builtin/Make.defs
index b41625c1c..dad098de1 100644
--- a/builtin/Make.defs
+++ b/builtin/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_BUILTIN),y)
+ifneq ($(CONFIG_BUILTIN),)
 CONFIGURED_APPS += $(APPDIR)/builtin
 endif
diff --git a/canutils/canlib/Make.defs b/canutils/canlib/Make.defs
index 48c1437b3..fd712bee8 100644
--- a/canutils/canlib/Make.defs
+++ b/canutils/canlib/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_CANUTILS_CANLIB),y)
+ifneq ($(CONFIG_CANUTILS_CANLIB),)
 CONFIGURED_APPS += $(APPDIR)/canutils/canlib
 endif
diff --git a/canutils/libcanardv0/Make.defs b/canutils/libcanardv0/Make.defs
index 4dc7280ce..478faac38 100644
--- a/canutils/libcanardv0/Make.defs
+++ b/canutils/libcanardv0/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_CANUTILS_LIBCANARDV0),y)
+ifneq ($(CONFIG_CANUTILS_LIBCANARDV0),)
 CONFIGURED_APPS += $(APPDIR)/canutils/libcanardv0
 endif
diff --git a/canutils/libcanardv1/Make.defs b/canutils/libcanardv1/Make.defs
index 382381897..1e8785bb5 100644
--- a/canutils/libcanardv1/Make.defs
+++ b/canutils/libcanardv1/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_CANUTILS_LIBCANARDV1),y)
+ifneq ($(CONFIG_CANUTILS_LIBCANARDV1),)
 CONFIGURED_APPS += $(APPDIR)/canutils/libcanardv1
 endif
diff --git a/canutils/libcanutils/Make.defs b/canutils/libcanutils/Make.defs
index 7f6c7bca0..70e0418d5 100644
--- a/canutils/libcanutils/Make.defs
+++ b/canutils/libcanutils/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################/
 
-ifeq ($(CONFIG_CANUTILS_LIBCANUTILS),y)
+ifneq ($(CONFIG_CANUTILS_LIBCANUTILS),)
 CONFIGURED_APPS += $(APPDIR)/canutils/libcanutils
 endif
diff --git a/canutils/libobd2/Make.defs b/canutils/libobd2/Make.defs
index 1d0125da5..097093059 100644
--- a/canutils/libobd2/Make.defs
+++ b/canutils/libobd2/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_CANUTILS_LIBOBD2),y)
+ifneq ($(CONFIG_CANUTILS_LIBOBD2),)
 CONFIGURED_APPS += $(APPDIR)/canutils/libobd2
 endif
diff --git a/crypto/libtomcrypt/Make.defs b/crypto/libtomcrypt/Make.defs
index d708f7e07..99701cfdb 100644
--- a/crypto/libtomcrypt/Make.defs
+++ b/crypto/libtomcrypt/Make.defs
@@ -18,7 +18,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_CRYPTO_LIBTOMCRYPT),y)
+ifneq ($(CONFIG_CRYPTO_LIBTOMCRYPT),)
 CONFIGURED_APPS += $(APPDIR)/crypto/libtomcrypt
 
 # It allows `<tomcrypt.h>` import.
diff --git a/crypto/mbedtls/Make.defs b/crypto/mbedtls/Make.defs
index b09805bb4..9ee9beeb1 100644
--- a/crypto/mbedtls/Make.defs
+++ b/crypto/mbedtls/Make.defs
@@ -18,7 +18,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_CRYPTO_MBEDTLS),y)
+ifneq ($(CONFIG_CRYPTO_MBEDTLS),)
 CONFIGURED_APPS += $(APPDIR)/crypto/mbedtls
 
 # Allows `<mbedtls/<>.h>` import.
diff --git a/examples/audio_rttl/Make.defs b/examples/audio_rttl/Make.defs
index 04c35191a..bc776611e 100644
--- a/examples/audio_rttl/Make.defs
+++ b/examples/audio_rttl/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_AUDIO_SOUND),y)
+ifneq ($(CONFIG_EXAMPLES_AUDIO_SOUND),)
 CONFIGURED_APPS += examples/audio_rttl
 endif
diff --git a/examples/bmi160/Make.defs b/examples/bmi160/Make.defs
index 99413d2ab..d5495526c 100644
--- a/examples/bmi160/Make.defs
+++ b/examples/bmi160/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_SIXAXIS),y)
+ifneq ($(CONFIG_EXAMPLES_SIXAXIS),)
 CONFIGURED_APPS += examples/bmi160
 endif
diff --git a/examples/charger/Make.defs b/examples/charger/Make.defs
index 43855e252..05c7a0425 100644
--- a/examples/charger/Make.defs
+++ b/examples/charger/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_CHARGER),y)
+ifneq ($(CONFIG_EXAMPLES_CHARGER),)
 CONFIGURED_APPS += examples/charger
 endif
diff --git a/examples/foc/Make.defs b/examples/foc/Make.defs
index 6543f814a..8387dcfaf 100644
--- a/examples/foc/Make.defs
+++ b/examples/foc/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_FOC),y)
+ifneq ($(CONFIG_EXAMPLES_FOC),)
 CONFIGURED_APPS += examples/foc
 endif
diff --git a/examples/fxos8700cq_test/Make.defs b/examples/fxos8700cq_test/Make.defs
index 53a3b9b85..e43f726d9 100644
--- a/examples/fxos8700cq_test/Make.defs
+++ b/examples/fxos8700cq_test/Make.defs
@@ -18,6 +18,6 @@
 #
 #############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_FXOS8700CQ),y)
+ifneq ($(CONFIG_EXAMPLES_FXOS8700CQ),)
 CONFIGURED_APPS += examples/fxos8700cq_test
 endif
diff --git a/examples/hts221_reader/Make.defs b/examples/hts221_reader/Make.defs
index 5d9c2b52f..846a0ff20 100644
--- a/examples/hts221_reader/Make.defs
+++ b/examples/hts221_reader/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_HTS221_READER),y)
+ifneq ($(CONFIG_EXAMPLES_HTS221_READER),)
 CONFIGURED_APPS += examples/hts221_reader
 endif
diff --git a/examples/lsm303_reader/Make.defs b/examples/lsm303_reader/Make.defs
index b33cc5f55..e47c99ca1 100644
--- a/examples/lsm303_reader/Make.defs
+++ b/examples/lsm303_reader/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_LSM303_READER),y)
+ifneq ($(CONFIG_EXAMPLES_LSM303_READER),)
 CONFIGURED_APPS += examples/lsm303_reader
 endif
diff --git a/examples/lsm6dsl_reader/Make.defs b/examples/lsm6dsl_reader/Make.defs
index e73809d38..4db2424da 100644
--- a/examples/lsm6dsl_reader/Make.defs
+++ b/examples/lsm6dsl_reader/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_LSM6DSL_READER),y)
+ifneq ($(CONFIG_EXAMPLES_LSM6DSL_READER),)
 CONFIGURED_APPS += examples/lsm6dsl_reader
 endif
diff --git a/examples/timer_gpio/Make.defs b/examples/timer_gpio/Make.defs
index 90aa2b032..ed3769801 100644
--- a/examples/timer_gpio/Make.defs
+++ b/examples/timer_gpio/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_EXAMPLES_TIMER_GPIO),y)
+ifneq ($(CONFIG_EXAMPLES_TIMER_GPIO),)
 CONFIGURED_APPS += $(APPDIR)/examples/timer_gpio
 endif
diff --git a/fsutils/flash_eraseall/Make.defs b/fsutils/flash_eraseall/Make.defs
index 2788ea6e8..a93f903d4 100644
--- a/fsutils/flash_eraseall/Make.defs
+++ b/fsutils/flash_eraseall/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_FLASH_ERASEALL),y)
+ifneq ($(CONFIG_FSUTILS_FLASH_ERASEALL),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/flash_eraseall
 endif
diff --git a/fsutils/inifile/Make.defs b/fsutils/inifile/Make.defs
index f62090e9a..c3484a876 100644
--- a/fsutils/inifile/Make.defs
+++ b/fsutils/inifile/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_INIFILE),y)
+ifneq ($(CONFIG_FSUTILS_INIFILE),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/inifile
 endif
diff --git a/fsutils/inih/Make.defs b/fsutils/inih/Make.defs
index 7d897e689..a9a79dd9c 100644
--- a/fsutils/inih/Make.defs
+++ b/fsutils/inih/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_INIH),y)
+ifneq ($(CONFIG_FSUTILS_INIH),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/inih
 endif
diff --git a/fsutils/ipcfg/Make.defs b/fsutils/ipcfg/Make.defs
index 5e44ae68c..3762aac5d 100644
--- a/fsutils/ipcfg/Make.defs
+++ b/fsutils/ipcfg/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_IPCFG),y)
+ifneq ($(CONFIG_FSUTILS_IPCFG),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/ipcfg
 endif
diff --git a/fsutils/mkfatfs/Make.defs b/fsutils/mkfatfs/Make.defs
index c1e6505f0..e77a1783f 100644
--- a/fsutils/mkfatfs/Make.defs
+++ b/fsutils/mkfatfs/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_MKFATFS),y)
+ifneq ($(CONFIG_FSUTILS_MKFATFS),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/mkfatfs
 endif
diff --git a/fsutils/mksmartfs/Make.defs b/fsutils/mksmartfs/Make.defs
index d9b5afeb0..4058a4adb 100644
--- a/fsutils/mksmartfs/Make.defs
+++ b/fsutils/mksmartfs/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_MKSMARTFS),y)
+ifneq ($(CONFIG_FSUTILS_MKSMARTFS),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/mksmartfs
 endif
diff --git a/fsutils/passwd/Make.defs b/fsutils/passwd/Make.defs
index 6163c32e0..ab0a52d6b 100644
--- a/fsutils/passwd/Make.defs
+++ b/fsutils/passwd/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_FSUTILS_PASSWD),y)
+ifneq ($(CONFIG_FSUTILS_PASSWD),)
 CONFIGURED_APPS += $(APPDIR)/fsutils/passwd
 endif
diff --git a/games/shift/Make.defs b/games/shift/Make.defs
index 0dc269e74..65e059924 100644
--- a/games/shift/Make.defs
+++ b/games/shift/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_GAMES_SHIFT),y)
+ifneq ($(CONFIG_GAMES_SHIFT),)
 CONFIGURED_APPS += $(APPDIR)/games/shift
 endif
diff --git a/gpsutils/minmea/Make.defs b/gpsutils/minmea/Make.defs
index 1d219d04f..01274a871 100644
--- a/gpsutils/minmea/Make.defs
+++ b/gpsutils/minmea/Make.defs
@@ -18,7 +18,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_GPSUTILS_MINMEA_LIB),y)
+ifneq ($(CONFIG_GPSUTILS_MINMEA_LIB),)
 CONFIGURED_APPS += $(APPDIR)/gpsutils/minmea
 CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" \
     $(APPDIR)/gpsutils/minmea}
diff --git a/graphics/ft80x/Make.defs b/graphics/ft80x/Make.defs
index d78d1e366..6e8f37c24 100644
--- a/graphics/ft80x/Make.defs
+++ b/graphics/ft80x/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_GRAPHICS_FT80X),y)
+ifneq ($(CONFIG_GRAPHICS_FT80X),)
 CONFIGURED_APPS += $(APPDIR)/graphics/ft80x
 endif
diff --git a/graphics/lvgl/Make.defs b/graphics/lvgl/Make.defs
index 627ad303f..f6d8e2297 100644
--- a/graphics/lvgl/Make.defs
+++ b/graphics/lvgl/Make.defs
@@ -18,7 +18,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_GRAPHICS_LVGL),y)
+ifneq ($(CONFIG_GRAPHICS_LVGL),)
 CONFIGURED_APPS += $(APPDIR)/graphics/lvgl
 
 # It allows `<lvgl/lvgl.h>` import.
diff --git a/graphics/nxglyphs/Make.defs b/graphics/nxglyphs/Make.defs
index cc813f834..dade83050 100644
--- a/graphics/nxglyphs/Make.defs
+++ b/graphics/nxglyphs/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NXWIDGETS),y)
+ifneq ($(CONFIG_NXWIDGETS),)
 CONFIGURED_APPS += $(APPDIR)/graphics/nxglyphs
 endif
diff --git a/graphics/nxwidgets/Make.defs b/graphics/nxwidgets/Make.defs
index 049c7c272..3f131c59b 100644
--- a/graphics/nxwidgets/Make.defs
+++ b/graphics/nxwidgets/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NXWIDGETS),y)
+ifneq ($(CONFIG_NXWIDGETS),)
 CONFIGURED_APPS += $(APPDIR)/graphics/nxwidgets
 endif
diff --git a/graphics/pdcurs34/Make.defs b/graphics/pdcurs34/Make.defs
index 13a8520a7..43fa97847 100644
--- a/graphics/pdcurs34/Make.defs
+++ b/graphics/pdcurs34/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_GRAPHICS_PDCURSES),y)
+ifneq ($(CONFIG_GRAPHICS_PDCURSES),)
 CONFIGURED_APPS += $(APPDIR)/graphics/pdcurs34
 endif
diff --git a/graphics/slcd/Make.defs b/graphics/slcd/Make.defs
index 31bbb20ea..781348ec4 100644
--- a/graphics/slcd/Make.defs
+++ b/graphics/slcd/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_GRAPHICS_SLCD),y)
+ifneq ($(CONFIG_GRAPHICS_SLCD),)
 CONFIGURED_APPS += $(APPDIR)/graphics/slcd
 endif
diff --git a/graphics/tiff/Make.defs b/graphics/tiff/Make.defs
index c3ff46103..9ea1e6d00 100644
--- a/graphics/tiff/Make.defs
+++ b/graphics/tiff/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_TIFF),y)
+ifneq ($(CONFIG_TIFF),)
 CONFIGURED_APPS += $(APPDIR)/graphics/tiff
 endif
diff --git a/industry/abnt_codi/Make.defs b/industry/abnt_codi/Make.defs
index c8ba7ec1c..ab3073423 100644
--- a/industry/abnt_codi/Make.defs
+++ b/industry/abnt_codi/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_INDUSTRY_ABNT_CODI_LIB),y)
+ifneq ($(CONFIG_INDUSTRY_ABNT_CODI_LIB),)
 CONFIGURED_APPS += $(APPDIR)/industry/abnt_codi
 endif
diff --git a/industry/foc/Make.defs b/industry/foc/Make.defs
index f5a84f083..1cf85b299 100644
--- a/industry/foc/Make.defs
+++ b/industry/foc/Make.defs
@@ -19,6 +19,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_INDUSTRY_FOC),y)
+ifneq ($(CONFIG_INDUSTRY_FOC),)
 CONFIGURED_APPS += $(APPDIR)/industry/foc
 endif
diff --git a/interpreters/ficl/Make.defs b/interpreters/ficl/Make.defs
index 0bc6d335a..5f7fa2caa 100644
--- a/interpreters/ficl/Make.defs
+++ b/interpreters/ficl/Make.defs
@@ -1,3 +1,3 @@
-ifeq ($(CONFIG_INTERPRETERS_FICL),y)
+ifneq ($(CONFIG_INTERPRETERS_FICL),)
 CONFIGURED_APPS += $(APPDIR)/interpreters/ficl
 endif
diff --git a/math/libtommath/Make.defs b/math/libtommath/Make.defs
index 1aa6e7b7a..250e09405 100644
--- a/math/libtommath/Make.defs
+++ b/math/libtommath/Make.defs
@@ -18,7 +18,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_MATH_LIBTOMMATH),y)
+ifneq ($(CONFIG_MATH_LIBTOMMATH),)
 CONFIGURED_APPS += $(APPDIR)/math/libtommath
 
 # It allows `<tommath.h>` import.
diff --git a/mlearning/cmsis/libcmsisnn/Make.defs b/mlearning/cmsis/libcmsisnn/Make.defs
index 23314ab42..11e84aa78 100644
--- a/mlearning/cmsis/libcmsisnn/Make.defs
+++ b/mlearning/cmsis/libcmsisnn/Make.defs
@@ -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/}
diff --git a/mlearning/darknet/Make.defs b/mlearning/darknet/Make.defs
index f445c86ee..9123d5bcf 100644
--- a/mlearning/darknet/Make.defs
+++ b/mlearning/darknet/Make.defs
@@ -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/}
diff --git a/mlearning/libnnablart/Make.defs b/mlearning/libnnablart/Make.defs
index 406dbf1d7..8805b6e61 100644
--- a/mlearning/libnnablart/Make.defs
+++ b/mlearning/libnnablart/Make.defs
@@ -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/}
diff --git a/modbus/Make.defs b/modbus/Make.defs
index be64a8f42..99d262bf0 100644
--- a/modbus/Make.defs
+++ b/modbus/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_MODBUS),y)
+ifneq ($(CONFIG_MODBUS),)
 CONFIGURED_APPS += $(APPDIR)/modbus
 endif
diff --git a/netutils/chat/Make.defs b/netutils/chat/Make.defs
index d6f4ad348..06540e51b 100644
--- a/netutils/chat/Make.defs
+++ b/netutils/chat/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_CHAT),y)
+ifneq ($(CONFIG_NETUTILS_CHAT),)
 CONFIGURED_APPS += $(APPDIR)/netutils/chat
 endif
diff --git a/netutils/cjson/Make.defs b/netutils/cjson/Make.defs
index 0e4237261..78c822007 100644
--- a/netutils/cjson/Make.defs
+++ b/netutils/cjson/Make.defs
@@ -18,6 +18,6 @@
 #
 #############################################################################
 
-ifeq ($(CONFIG_NETUTILS_CJSON),y)
+ifneq ($(CONFIG_NETUTILS_CJSON),)
 CONFIGURED_APPS += $(APPDIR)/netutils/cjson
 endif
diff --git a/netutils/codecs/Make.defs b/netutils/codecs/Make.defs
index 315f04ea1..2e383462b 100644
--- a/netutils/codecs/Make.defs
+++ b/netutils/codecs/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_CODECS),y)
+ifneq ($(CONFIG_NETUTILS_CODECS),)
 CONFIGURED_APPS += $(APPDIR)/netutils/codecs
 endif
diff --git a/netutils/dhcpc/Make.defs b/netutils/dhcpc/Make.defs
index 3f67024ad..ee6ccd4b8 100644
--- a/netutils/dhcpc/Make.defs
+++ b/netutils/dhcpc/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_DHCPC),y)
+ifneq ($(CONFIG_NETUTILS_DHCPC),)
 CONFIGURED_APPS += $(APPDIR)/netutils/dhcpc
 endif
diff --git a/netutils/dhcpd/Make.defs b/netutils/dhcpd/Make.defs
index 2d5da4562..196e48782 100644
--- a/netutils/dhcpd/Make.defs
+++ b/netutils/dhcpd/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_DHCPD),y)
+ifneq ($(CONFIG_NETUTILS_DHCPD),)
 CONFIGURED_APPS += $(APPDIR)/netutils/dhcpd
 endif
diff --git a/netutils/discover/Make.defs b/netutils/discover/Make.defs
index ba4287fea..2dc04cd62 100644
--- a/netutils/discover/Make.defs
+++ b/netutils/discover/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_DISCOVER),y)
+ifneq ($(CONFIG_NETUTILS_DISCOVER),)
 CONFIGURED_APPS += $(APPDIR)/netutils/discover
 endif
diff --git a/netutils/esp8266/Make.defs b/netutils/esp8266/Make.defs
index d378f3d70..8a1a06209 100644
--- a/netutils/esp8266/Make.defs
+++ b/netutils/esp8266/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_ESP8266),y)
+ifneq ($(CONFIG_NETUTILS_ESP8266),)
 CONFIGURED_APPS += $(APPDIR)/netutils/esp8266
 endif
diff --git a/netutils/ftpc/Make.defs b/netutils/ftpc/Make.defs
index 867f85bd8..82141c075 100644
--- a/netutils/ftpc/Make.defs
+++ b/netutils/ftpc/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_FTPC),y)
+ifneq ($(CONFIG_NETUTILS_FTPC),)
 CONFIGURED_APPS += $(APPDIR)/netutils/ftpc
 endif
diff --git a/netutils/ftpd/Make.defs b/netutils/ftpd/Make.defs
index 59ebd84ff..95797c137 100644
--- a/netutils/ftpd/Make.defs
+++ b/netutils/ftpd/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_FTPD),y)
+ifneq ($(CONFIG_NETUTILS_FTPD),)
 CONFIGURED_APPS += $(APPDIR)/netutils/ftpd
 endif
diff --git a/netutils/libcurl4nx/Make.defs b/netutils/libcurl4nx/Make.defs
index 431b309dc..b58662ce7 100644
--- a/netutils/libcurl4nx/Make.defs
+++ b/netutils/libcurl4nx/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_LIBCURL4NX),y)
+ifneq ($(CONFIG_NETUTILS_LIBCURL4NX),)
 CONFIGURED_APPS += $(APPDIR)/netutils/libcurl4nx
 endif
diff --git a/netutils/netinit/Make.defs b/netutils/netinit/Make.defs
index ebc4741f8..734ee6a5f 100644
--- a/netutils/netinit/Make.defs
+++ b/netutils/netinit/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_NETINIT),y)
+ifneq ($(CONFIG_NETUTILS_NETINIT),)
 CONFIGURED_APPS += $(APPDIR)/netutils/netinit
 endif
diff --git a/netutils/netlib/Make.defs b/netutils/netlib/Make.defs
index d08c3282e..f8990b80c 100644
--- a/netutils/netlib/Make.defs
+++ b/netutils/netlib/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_NETLIB),y)
+ifneq ($(CONFIG_NETUTILS_NETLIB),)
 CONFIGURED_APPS += $(APPDIR)/netutils/netlib
 endif
diff --git a/netutils/ntpclient/Make.defs b/netutils/ntpclient/Make.defs
index 30cdf3193..3351bec9b 100644
--- a/netutils/ntpclient/Make.defs
+++ b/netutils/ntpclient/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_NTPCLIENT),y)
+ifneq ($(CONFIG_NETUTILS_NTPCLIENT),)
 CONFIGURED_APPS += $(APPDIR)/netutils/ntpclient
 endif
diff --git a/netutils/ping/Make.defs b/netutils/ping/Make.defs
index 0b24ed0c5..753819bf2 100644
--- a/netutils/ping/Make.defs
+++ b/netutils/ping/Make.defs
@@ -18,8 +18,8 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_PING),y)
+ifneq ($(CONFIG_NETUTILS_PING),)
 CONFIGURED_APPS += $(APPDIR)/netutils/ping
-else ifeq ($(CONFIG_NETUTILS_PING6),y)
+else ifneq ($(CONFIG_NETUTILS_PING6),)
 CONFIGURED_APPS += $(APPDIR)/netutils/ping
 endif
diff --git a/netutils/pppd/Make.defs b/netutils/pppd/Make.defs
index c28a364dd..78f3e4b9e 100644
--- a/netutils/pppd/Make.defs
+++ b/netutils/pppd/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_PPPD),y)
+ifneq ($(CONFIG_NETUTILS_PPPD),)
 CONFIGURED_APPS += $(APPDIR)/netutils/pppd
 endif
diff --git a/netutils/smtp/Make.defs b/netutils/smtp/Make.defs
index 1183a633f..08ee027b8 100644
--- a/netutils/smtp/Make.defs
+++ b/netutils/smtp/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_SMTP),y)
+ifneq ($(CONFIG_NETUTILS_SMTP),)
 CONFIGURED_APPS += $(APPDIR)/netutils/smtp
 endif
diff --git a/netutils/telnetc/Make.defs b/netutils/telnetc/Make.defs
index bc1a632ae..efe9c434f 100644
--- a/netutils/telnetc/Make.defs
+++ b/netutils/telnetc/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_TELNETC),y)
+ifneq ($(CONFIG_NETUTILS_TELNETC),)
 CONFIGURED_APPS += $(APPDIR)/netutils/telnetc
 endif
diff --git a/netutils/telnetd/Make.defs b/netutils/telnetd/Make.defs
index 78b9dca67..235fd0edb 100644
--- a/netutils/telnetd/Make.defs
+++ b/netutils/telnetd/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_TELNETD),y)
+ifneq ($(CONFIG_NETUTILS_TELNETD),)
 CONFIGURED_APPS += $(APPDIR)/netutils/telnetd
 endif
diff --git a/netutils/tftpc/Make.defs b/netutils/tftpc/Make.defs
index 523566f11..d213f6a75 100644
--- a/netutils/tftpc/Make.defs
+++ b/netutils/tftpc/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_TFTPC),y)
+ifneq ($(CONFIG_NETUTILS_TFTPC),)
 CONFIGURED_APPS += $(APPDIR)/netutils/tftpc
 endif
diff --git a/netutils/thttpd/Make.defs b/netutils/thttpd/Make.defs
index f01d0ec78..7158033dc 100644
--- a/netutils/thttpd/Make.defs
+++ b/netutils/thttpd/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_THTTPD),y)
+ifneq ($(CONFIG_NETUTILS_THTTPD),)
 CONFIGURED_APPS += $(APPDIR)/netutils/thttpd
 endif
diff --git a/netutils/usrsock_rpmsg/Make.defs b/netutils/usrsock_rpmsg/Make.defs
index d86edfc65..e435d667f 100644
--- a/netutils/usrsock_rpmsg/Make.defs
+++ b/netutils/usrsock_rpmsg/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_USRSOCK_RPMSG),y)
+ifneq ($(CONFIG_NETUTILS_USRSOCK_RPMSG),)
 CONFIGURED_APPS += $(APPDIR)/netutils/usrsock_rpmsg
 endif
diff --git a/netutils/webclient/Make.defs b/netutils/webclient/Make.defs
index c00cdb92c..c719d2f20 100644
--- a/netutils/webclient/Make.defs
+++ b/netutils/webclient/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_WEBCLIENT),y)
+ifneq ($(CONFIG_NETUTILS_WEBCLIENT),)
 CONFIGURED_APPS += $(APPDIR)/netutils/webclient
 endif
diff --git a/netutils/webserver/Make.defs b/netutils/webserver/Make.defs
index 98bd3d436..2d72ea23b 100644
--- a/netutils/webserver/Make.defs
+++ b/netutils/webserver/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_WEBSERVER),y)
+ifneq ($(CONFIG_NETUTILS_WEBSERVER),)
 CONFIGURED_APPS += $(APPDIR)/netutils/webserver
 endif
diff --git a/netutils/xmlrpc/Make.defs b/netutils/xmlrpc/Make.defs
index 17475713a..661e0dd5f 100644
--- a/netutils/xmlrpc/Make.defs
+++ b/netutils/xmlrpc/Make.defs
@@ -17,6 +17,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NETUTILS_XMLRPC),y)
+ifneq ($(CONFIG_NETUTILS_XMLRPC),)
 CONFIGURED_APPS += $(APPDIR)/netutils/xmlrpc
 endif
diff --git a/nshlib/Make.defs b/nshlib/Make.defs
index a03216a95..8eae4359e 100644
--- a/nshlib/Make.defs
+++ b/nshlib/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_NSH_LIBRARY),y)
+ifneq ($(CONFIG_NSH_LIBRARY),)
 CONFIGURED_APPS += $(APPDIR)/nshlib
 endif
diff --git a/system/cle/Make.defs b/system/cle/Make.defs
index e850301b5..561e882cf 100644
--- a/system/cle/Make.defs
+++ b/system/cle/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SYSTEM_CLE),y)
+ifneq ($(CONFIG_SYSTEM_CLE),)
 CONFIGURED_APPS += $(APPDIR)/system/cle
 endif
diff --git a/system/embedlog/Make.defs b/system/embedlog/Make.defs
index 1db97a5ab..2bfff2a93 100644
--- a/system/embedlog/Make.defs
+++ b/system/embedlog/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SYSTEM_EMBEDLOG),y)
+ifneq ($(CONFIG_SYSTEM_EMBEDLOG),)
 CONFIGURED_APPS += $(APPDIR)/system/embedlog
 endif
diff --git a/system/popen/Make.defs b/system/popen/Make.defs
index 5029c9252..d1aac4c14 100644
--- a/system/popen/Make.defs
+++ b/system/popen/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SYSTEM_POPEN),y)
+ifneq ($(CONFIG_SYSTEM_POPEN),)
 CONFIGURED_APPS += $(APPDIR)/system/popen
 endif
diff --git a/system/readline/Make.defs b/system/readline/Make.defs
index b284a7ec2..6f6f49ce2 100644
--- a/system/readline/Make.defs
+++ b/system/readline/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SYSTEM_READLINE),y)
+ifneq ($(CONFIG_SYSTEM_READLINE),)
 CONFIGURED_APPS += $(APPDIR)/system/readline
 endif
diff --git a/system/system/Make.defs b/system/system/Make.defs
index 37572aef4..bd4b484a9 100644
--- a/system/system/Make.defs
+++ b/system/system/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SYSTEM_SYSTEM),y)
+ifneq ($(CONFIG_SYSTEM_SYSTEM),)
 CONFIGURED_APPS += $(APPDIR)/system/system
 endif
diff --git a/system/termcurses/Make.defs b/system/termcurses/Make.defs
index fbdaedf87..9e532aa13 100644
--- a/system/termcurses/Make.defs
+++ b/system/termcurses/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_SYSTEM_TERMCURSES),y)
+ifneq ($(CONFIG_SYSTEM_TERMCURSES),)
 CONFIGURED_APPS += $(APPDIR)/system/termcurses
 endif
diff --git a/testing/unity/Make.defs b/testing/unity/Make.defs
index a9f39bd92..ecf21ddbf 100644
--- a/testing/unity/Make.defs
+++ b/testing/unity/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_TESTING_UNITY),y)
+ifneq ($(CONFIG_TESTING_UNITY),)
 CONFIGURED_APPS += $(APPDIR)/testing/unity
 endif
diff --git a/wireless/ieee802154/libmac/Make.defs b/wireless/ieee802154/libmac/Make.defs
index 963cfd643..909dc7d2b 100644
--- a/wireless/ieee802154/libmac/Make.defs
+++ b/wireless/ieee802154/libmac/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_IEEE802154_LIBMAC),y)
+ifneq ($(CONFIG_IEEE802154_LIBMAC),)
 CONFIGURED_APPS += $(APPDIR)/wireless/ieee802154/libmac
 endif
diff --git a/wireless/ieee802154/libutils/Make.defs b/wireless/ieee802154/libutils/Make.defs
index 96a25efaf..3963e4aa5 100644
--- a/wireless/ieee802154/libutils/Make.defs
+++ b/wireless/ieee802154/libutils/Make.defs
@@ -18,6 +18,6 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_IEEE802154_LIBUTILS),y)
+ifneq ($(CONFIG_IEEE802154_LIBUTILS),)
 CONFIGURED_APPS += $(APPDIR)/wireless/ieee802154/libutils
 endif