Skip to content

Commit

Permalink
Kconfig: load application configuration first
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Apr 27, 2022
1 parent cdf1d43 commit 252484e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ rsource "kconfigs/Kconfig.errors"
# For now, get used modules as macros from this file (see kconfig.mk)
osource "$(KCONFIG_GENERATED_DEPENDENCIES)"

# Load first board configurations, which might override CPU's
# Load first the application configuration, as it may declare symbols in priority
osource "$(APPDIR)/Kconfig"

# Load board configurations, which might override CPU's
orsource "$(BOARDDIR)/Kconfig"
orsource "$(RIOTCPU)/$(CPU)/Kconfig"

rsource "$(RIOTBOARD)/Kconfig"
rsource "$(RIOTCPU)/Kconfig"

# The application may declare new symbols as well
osource "$(APPDIR)/Kconfig"

rsource "core/Kconfig"
rsource "drivers/Kconfig"
rsource "sys/Kconfig"
Expand Down

0 comments on commit 252484e

Please sign in to comment.