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:
parent
80f63ba1fa
commit
de325cdfe8
@ -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
|
||||
|
2
tests/kconfig/app.config.test
Normal file
2
tests/kconfig/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_MODULE_EXTERNAL_MODULE_1=y
|
||||
CONFIG_MODULE_EXTERNAL_MODULE_2=y
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user