Kconfig options are often either of the type 'feature' or 'configuration'. Meaning, either an option controls whether a feature is enabled, or it adjusts/configures an already enabled feature. Configuration of features should depend on the feature they are configuring or else noise is created both in the Kconfig output and in the Kconfig menu. In this commit we add a dependency from a configuration option to it's feature option. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
21 lines
385 B
Plaintext
21 lines
385 B
Plaintext
#
|
|
# Copyright (c) 2018 Linaro Limited
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig LIBMETAL
|
|
bool "libmetal Support"
|
|
help
|
|
This option enables the libmetal HAL abstraction layer
|
|
|
|
if LIBMETAL
|
|
|
|
config LIBMETAL_SRC_PATH
|
|
string "libmetal library source path"
|
|
default "libmetal"
|
|
help
|
|
This option specifies the path to the source for the libmetal library
|
|
|
|
endif # LIBMETAL
|