blob: dbb03e4a36fdf894ba22f36ecd3ed7cc7de8600f [file] [log] [blame]
Simon Glass29784d62022-08-01 07:57:59 -06001# SPDX-License-Identifier: GPL-2.0+
2# Copyright 2022 Google LLC
3
4if SANDBOX
5
6config TEST_KCONFIG
7 bool "Enable detection of Kconfig macro errors"
8 help
9 This is used to test that the IF_ENABLED_INT() macro causes a build error
10 if the value is used when the CONFIG Is not enabled.
11
12config TEST_KCONFIG_ENABLE
13 bool "Option to enable"
14 help
15 This is the option that controls whether the value is present.
16
17config TEST_KCONFIG_VALUE
18 int "Value associated with the option"
19 depends on TEST_KCONFIG_ENABLE
20 help
21 This is the value whgch is present if TEST_KCONFIG_ENABLE is enabled.
22
23endif # SANDBOX