1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/kconfig: also add external module dependencies

This commit is contained in:
Francisco Molina 2022-02-01 10:23:52 +01:00
parent 80f63ba1fa
commit de325cdfe8
4 changed files with 14 additions and 0 deletions

View File

@ -4,4 +4,8 @@ USEMODULE += external_module_1
USEMODULE += external_module_2
EXTERNAL_MODULE_DIRS += external_modules
ifeq (1, $(TEST_KCONFIG))
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config
endif
include $(RIOTBASE)/Makefile.include

View File

@ -0,0 +1,2 @@
CONFIG_MODULE_EXTERNAL_MODULE_1=y
CONFIG_MODULE_EXTERNAL_MODULE_2=y

View File

@ -11,3 +11,7 @@ config EXTERNAL_MODULE_1_MESSAGE
default "External Message 1 defined in Kconfig file"
endif # KCONFIG_EXTERNAL_MODULE_1
config MODULE_EXTERNAL_MODULE_1
bool "Select external module 2"
depends on TEST_KCONFIG

View File

@ -11,3 +11,7 @@ config EXTERNAL_MODULE_2_MESSAGE
default "External Message 2 defined in Kconfig file"
endif # KCONFIG_EXTERNAL_MODULE_2
config MODULE_EXTERNAL_MODULE_2
bool "Select external module 2"
depends on TEST_KCONFIG