diff options
| author | Simon Glass <[email protected]> | 2022-01-22 05:07:25 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-08 23:07:59 -0500 |
| commit | 310bfa737f2cdf6bdcab7637b220a061d2807e99 (patch) | |
| tree | a308f4e3a98075dbd003aebc91a9a49f106cd3db /scripts | |
| parent | 93cb515fe307453ccf8250cf56b3cc1a3dc06a6f (diff) | |
kconfig: Update IS_ENABLED() internals
The config_enabled() macro currently uses 0 as the default value. Update
it to allow any value, so we can pass it something else, such as a
non-existent function, to produce a build error if it is not defined.
Also tidy up the code style for IS_ENABLED() and drop the unnecessary
brackets (the value is a simple 0 or 1).
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
