Skip to content

Commit

Permalink
Kconfig: Expose RIOT_CI_BUILD to kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Jan 7, 2022
1 parent b6fb54b commit 559f193
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ comment "Some configuration options may not be here. Use CFLAGS instead."
comment "!! ERROR: There are conflicting modules active !!"
depends on ERROR_MODULES_CONFLICT != ""

config RIOT_CI_BUILD
bool "CI build"
help
Indicates that the CI is building. This may add additional modules
for the sake of testing.

config TEST_KCONFIG
bool
default y if '$(TEST_KCONFIG)' = '1'
Expand Down
5 changes: 5 additions & 0 deletions makefiles/kconfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ ifeq (1,$(DEVELHELP))
RIOT_CONFIG_DEVELHELP ?= y
endif

# Expose RIOT_CI_BUILD to kconfig
ifeq (1,$(RIOT_CI_BUILD))
RIOT_CONFIG_RIOT_CI_BUILD ?= y
endif

# export variable to make it visible in other Makefiles
export SHOULD_RUN_KCONFIG

Expand Down

0 comments on commit 559f193

Please sign in to comment.