1# Copyright (c) 2022-2024 Nordic Semiconductor ASA 2 3# SPDX-License-Identifier: Apache-2.0 4 5BOARD_STRING := $(normalize_upper,$(BOARD)) 6BOARD_TARGET_STRING := $(normalize_upper,$(BOARD)$(BOARD_QUALIFIERS)) 7BOARD_QUALIFIERS_NO_SEPARATOR := $(substring,$(BOARD_QUALIFIERS),1) 8 9config BOARD_$(BOARD_STRING) 10 def_bool y 11 help 12 Kconfig symbol identifying the board. 13 14config BOARD_$(BOARD_TARGET_STRING) 15 def_bool y 16 help 17 Kconfig symbol identifying the board target. 18 19config BOARD_QUALIFIERS 20 string 21 default "$(BOARD_QUALIFIERS_NO_SEPARATOR)" 22 help 23 Contains the qualifiers of the board being used without the name of the board itself. 24 25 For example, if building for ``nrf5340dk/nrf5340/cpuapp`` then this will contain the 26 value ``nrf5340/cpuapp``. 27 28osource "$(KCONFIG_BOARD_DIR)/Kconfig.$(BOARD)" 29