kconfig: Clean up header comments and make them consistent

Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-11-01 13:45:29 +01:00 committed by Anas Nashif
commit bd6e04411e
1169 changed files with 1785 additions and 4183 deletions

View file

@ -1,10 +1,7 @@
# Kconfig - external source code configuration options
# External source code configuration options
#
# Copyright (c) 2016 Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
menu "External Sources"

View file

@ -1,10 +1,7 @@
# Kconfig - external HAL source code configuration options
# External HAL source code configuration options
#
# Copyright (c) 2016-2017 Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
# When adding new entries keep the list in alphabetical order

View file

@ -1,8 +1,6 @@
# Kconfig - Altera HAL drivers configuration
# Altera HAL drivers configuration
#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
config HAS_ALTERA_HAL

View file

@ -1,8 +1,5 @@
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menu "Cryptography"

View file

@ -1,10 +1,7 @@
# Kconfig - Cryptography primitive options for TinyCrypt version 2.0
# Cryptography primitive options for TinyCrypt version 2.0
#
# Copyright (c) 2015 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
config TINYCRYPT
bool "TinyCrypt Support"

View file

@ -1,8 +1,5 @@
#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: Apache-2.0
#
config FNMATCH
bool "Fnmatch Support"