d713033d5c
With the new Kconfig preprocessor (described in https://github.com/torvalds/linux/blob/master/Documentation/kbuild/ kconfig-macro-language.txt), the syntax for expanding environment variables is $(FOO) rather than $FOO. $(FOO) is a general preprocessor variable expansion, which falls back to environment variables if the variable isn't set (like in Make). It can also be used in prompts, 'comment's, etc. The old syntax will probably be supported forever in Kconfiglib for backwards compatibility, but might as well make it consistent now that people might start using the preprocessor more. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
32 lines
721 B
Plaintext
32 lines
721 B
Plaintext
|
|
config BOARD_DEPRECATED
|
|
string
|
|
help
|
|
This hidden option is set in the board configuration and indicates
|
|
the Zephyr release that the board configuration will be removed.
|
|
When set, any build for that board will generate a clearly visible
|
|
deprecation warning.
|
|
|
|
config QEMU_TARGET
|
|
bool
|
|
help
|
|
Mark all QEMU targets with this variable for checking whether we are
|
|
running in an emulated environment.
|
|
|
|
# Note: $BOARD_DIR might be a glob pattern
|
|
|
|
choice
|
|
prompt "Board Selection"
|
|
source "$(BOARD_DIR)/Kconfig.board"
|
|
endchoice
|
|
|
|
|
|
menu "Board Options"
|
|
# There might not be any board options, hence the optional source
|
|
osource "$(BOARD_DIR)/Kconfig"
|
|
endmenu
|
|
|
|
menu "Shields"
|
|
source "boards/shields/Kconfig"
|
|
endmenu
|