summaryrefslogtreecommitdiff
path: root/Documentation/contributing
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-03-05 16:47:25 -0800
committerPatrick Georgi <pgeorgi@google.com>2019-03-07 17:06:28 +0000
commit496ef1a9e9a746005d85fbb8363355894d7a16ad (patch)
tree6596a00b07eb064915cf5215302d9419a315c9fb /Documentation/contributing
parent55f0a1409ddc2889e092d0bbbe1f415f68353e91 (diff)
Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX)
The IS_ENABLED() macro is pretty long and unwieldy for something so widely used, and often forces line breaks just for checking two Kconfigs in a row. Let's replace it with something that takes up less space to make our code more readable. From now on, if (IS_ENABLED(CONFIG_XXX)) #if IS_ENABLED(CONFIG_XXX) shall become if (CONFIG(XXX)) #if CONFIG(XXX) Change-Id: I2468427b569b974303084574125a9e1d9f6db596 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31773 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Documentation/contributing')
0 files changed, 0 insertions, 0 deletions