kconfig: modules: Trivial cleanup
A lot of the Kconfig stuff gets copied around, so encourage a clean compact style: - Reduce license header spam - Fix some broken indentation - Turn a meaningless 'menuconfig' into a 'config' - Remove a redundant QMSI menu - Unscrunch comments: #Foo -> # Foo Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
3817cc6fdd
commit
270d535fb4
15 changed files with 9 additions and 42 deletions
|
@ -1,15 +1,12 @@
|
||||||
# Kconfig - IMX M4 Core SDK
|
# Kconfig - IMX M4 Core SDK
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018, NXP
|
# Copyright (c) 2018, NXP
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
config HAS_IMX_HAL
|
config HAS_IMX_HAL
|
||||||
bool
|
bool
|
||||||
select HAS_CMSIS
|
select HAS_CMSIS
|
||||||
depends on SOC_FAMILY_IMX
|
depends on SOC_FAMILY_IMX
|
||||||
|
|
||||||
if HAS_IMX_HAL
|
if HAS_IMX_HAL
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#
|
|
||||||
# Copyright (c) 2018 Linaro Limited
|
# Copyright (c) 2018 Linaro Limited
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
menuconfig LIBMETAL
|
menuconfig LIBMETAL
|
||||||
bool "libmetal Support"
|
bool "libmetal Support"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
# Kconfig - Cryptography primitive options for mbed TLS
|
# Kconfig - Cryptography primitive options for mbed TLS
|
||||||
|
|
||||||
#
|
|
||||||
# Copyright (c) 2016 Intel Corporation
|
# Copyright (c) 2016 Intel Corporation
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -14,8 +13,6 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
menuconfig MBEDTLS
|
menuconfig MBEDTLS
|
||||||
bool "mbedTLS Support"
|
bool "mbedTLS Support"
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
# Kconfig - MCUXpresso SDK
|
# Kconfig - MCUXpresso SDK
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016, Freescale Semiconductor, Inc.
|
# Copyright (c) 2016, Freescale Semiconductor, Inc.
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
config HAS_MCUX
|
config HAS_MCUX
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
menuconfig HAS_MEC_HAL
|
config HAS_MEC_HAL
|
||||||
bool "Microchip MEC HAL drivers support"
|
bool "Microchip MEC HAL drivers support"
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#
|
|
||||||
# Copyright (c) 2016 Nordic Semiconductor ASA
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
config HAS_NORDIC_DRIVERS
|
config HAS_NORDIC_DRIVERS
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#
|
|
||||||
# Copyright (c) 2018 Linaro Limited
|
# Copyright (c) 2018 Linaro Limited
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
config OPENAMP
|
config OPENAMP
|
||||||
bool "OpenAMP Support"
|
bool "OpenAMP Support"
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
# Kconfig - QMSI drivers configuration options
|
# Kconfig - QMSI drivers configuration options
|
||||||
|
|
||||||
#
|
|
||||||
# Copyright (c) 2015 Intel Corporation
|
# Copyright (c) 2015 Intel Corporation
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
menu "QMSI"
|
|
||||||
|
|
||||||
config HAS_QMSI
|
config HAS_QMSI
|
||||||
bool
|
bool
|
||||||
|
@ -16,5 +11,3 @@ config QMSI
|
||||||
depends on HAS_QMSI
|
depends on HAS_QMSI
|
||||||
help
|
help
|
||||||
Enable QMSI driver support.
|
Enable QMSI driver support.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
# Kconfig - Gecko SDK
|
# Kconfig - Gecko SDK
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017, Christian Taedcke
|
# Copyright (c) 2017, Christian Taedcke
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
config HAS_SILABS_GECKO
|
config HAS_SILABS_GECKO
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -13,16 +13,16 @@ config SIMPLELINK_HOST_DRIVER
|
||||||
depends on MULTITHREADING
|
depends on MULTITHREADING
|
||||||
select NEWLIB_LIBC
|
select NEWLIB_LIBC
|
||||||
select ERRNO
|
select ERRNO
|
||||||
select POSIX_API
|
select POSIX_API
|
||||||
select PTHREAD_IPC
|
select PTHREAD_IPC
|
||||||
help
|
help
|
||||||
Build the SimpleLink host driver
|
Build the SimpleLink host driver
|
||||||
|
|
||||||
# Kconfig - MSP432 SDK HAL configuration
|
# Kconfig - MSP432 SDK HAL configuration
|
||||||
|
|
||||||
config HAS_MSP432P4XXSDK
|
config HAS_MSP432P4XXSDK
|
||||||
bool
|
bool
|
||||||
select HAS_CMSIS
|
select HAS_CMSIS
|
||||||
|
|
||||||
# Kconfig - CC13X2 / CC26X2 SDK HAL configuration
|
# Kconfig - CC13X2 / CC26X2 SDK HAL configuration
|
||||||
|
|
||||||
|
|
|
@ -126,4 +126,4 @@ config USE_STDC_LSM9DS1
|
||||||
config USE_STDC_STTS751
|
config USE_STDC_STTS751
|
||||||
bool
|
bool
|
||||||
|
|
||||||
endif #HAS_STMEMSC
|
endif # HAS_STMEMSC
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Kconfig - STM32CUBE HAL config
|
# Kconfig - STM32CUBE HAL config
|
||||||
|
|
||||||
# Copyright (c) 2016 Linaro Limited.
|
# Copyright (c) 2016 Linaro Limited.
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config HAS_STM32CUBE
|
config HAS_STM32CUBE
|
||||||
|
@ -380,4 +379,4 @@ config USE_STM32_LL_USB
|
||||||
config USE_STM32_LL_UTILS
|
config USE_STM32_LL_UTILS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
endif
|
endif # HAS_STM32CUBE
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# Copyright (c) 2018 Intel Corporation
|
# Copyright (c) 2018 Intel Corporation
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config TINYCBOR
|
config TINYCBOR
|
||||||
|
@ -58,4 +57,4 @@ config CBOR_PRETTY_PRINTING
|
||||||
help
|
help
|
||||||
This option enables cbor_value_to_pretty_stream function.
|
This option enables cbor_value_to_pretty_stream function.
|
||||||
|
|
||||||
endif #TINYCBOR
|
endif # TINYCBOR
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
# Kconfig.tls - TLS/DTLS related options
|
# Kconfig.tls - TLS/DTLS related options
|
||||||
|
|
||||||
#
|
|
||||||
# Copyright (c) 2018 Intel Corporation
|
# Copyright (c) 2018 Intel Corporation
|
||||||
# Copyright (c) 2018 Nordic Semiconductor ASA
|
# Copyright (c) 2018 Nordic Semiconductor ASA
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
|
||||||
|
|
||||||
menu "TLS configuration"
|
menu "TLS configuration"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# Copyright (c) 2018 Foundries.io
|
# Copyright (c) 2018 Foundries.io
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
menuconfig VEGA_SDK_HAL
|
menuconfig VEGA_SDK_HAL
|
||||||
|
@ -21,4 +20,3 @@ config HAS_RV32M1_FTFX
|
||||||
help
|
help
|
||||||
Set if the flash memory (FTFA, FTFE, or FTFL) module is present in
|
Set if the flash memory (FTFA, FTFE, or FTFL) module is present in
|
||||||
the SoC.
|
the SoC.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue