6af514b67f
In dts.cmake, build shield list. For each shield, check if associate KCONFIG is enabled and if it is, add matching files to following new cmake variables: -DTC_SHIELD_OVERLAY_FILE -DTC_SHIELD_FIXUP Then, consume these variables when needed. Shield overlay is conceived as the very first overlay applied to the board dts. It intends to build a new board that should then behave as any other board versus common or user's overlay. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
46 lines
1,021 B
Plaintext
46 lines
1,021 B
Plaintext
# Kconfig - general configuration options
|
|
|
|
#
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
# Copyright (c) 2016 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Include these first so that any properties (e.g. defaults) below can be
|
|
# overriden in *.defconfig files (by defining symbols in multiple locations).
|
|
# After merging all the symbol definitions, Kconfig picks the first property
|
|
# (e.g. the first default) with a satisfied condition.
|
|
#
|
|
# Board defaults should be parsed before SoC defaults, because boards usually
|
|
# overrides SoC values.
|
|
#
|
|
# Note: $ARCH and $BOARD_DIR might be glob patterns.
|
|
source "$(BOARD_DIR)/Kconfig.defconfig"
|
|
|
|
source "boards/shields/*/Kconfig.defconfig"
|
|
|
|
source "$(SOC_DIR)/$(ARCH)/*/Kconfig.defconfig"
|
|
|
|
source "boards/Kconfig"
|
|
|
|
source "$(SOC_DIR)/Kconfig"
|
|
|
|
source "arch/Kconfig"
|
|
|
|
source "kernel/Kconfig"
|
|
|
|
source "dts/Kconfig"
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
source "misc/Kconfig"
|
|
|
|
source "lib/Kconfig"
|
|
|
|
source "subsys/Kconfig"
|
|
|
|
source "ext/Kconfig"
|
|
|
|
source "tests/Kconfig"
|