mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 03:52:30 +00:00
These symbols appear within an 'if COUNTER' (in drivers/counter/Kconfig). 'if FOO' is just shorthand for adding 'depends on FOO' to each item within the 'if'. Dependencies on menus work similarly. There are no "conditional includes" in Kconfig, so 'if FOO' has no special meaning around a source. Conditional includes wouldn't be possible, because an if condition could include (directly or indirectly) forward references to symbols not defined yet. Tip: When adding a symbol, check its dependencies in the menuconfig ('ninja menuconfig', then / to jump to the symbol). The menuconfig also shows how the file with the symbol got included, so if you see duplicated dependencies, it's easy to hunt down where they come from. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
27 lines
424 B
Plaintext
27 lines
424 B
Plaintext
# Kconfig.imx_epit - IMX EPIT configuration options
|
|
#
|
|
# Copyright (c) 2018, NXP
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config COUNTER_IMX_EPIT
|
|
bool "IMX EPIT driver"
|
|
depends on HAS_IMX_EPIT
|
|
help
|
|
Enable the IMX EPIT driver.
|
|
|
|
if COUNTER_IMX_EPIT
|
|
|
|
config COUNTER_IMX_EPIT_1
|
|
bool "Counter 1"
|
|
help
|
|
Enable Counter 1.
|
|
|
|
config COUNTER_IMX_EPIT_2
|
|
bool "Counter 2"
|
|
help
|
|
Enable Counter 2.
|
|
|
|
endif # COUNTER_IMX_EPIT
|