Repository navigation
Expand file tree
/
Copy pathKconfig
More file actions
39 lines (33 loc) · 1.42 KB
/
Copy pathKconfig
File metadata and controls
39 lines (33 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Copyright (c) 2026 Chengdong Wang <wangcd91@gmail.com>
#
# eastra root Kconfig.
#
mainmenu "eastra Configuration"
# Board capability: the board's linker script provides a .ext_ram
# NOLOAD section over an external memory window, brought up before
# dt_init_early() finishes (so anything may target it from EARLY
# SYS_INIT level onward). Selected by the driver that maps the
# window (e.g. FSMC_SRAM_STM32); code placing data there depends
# on this symbol, never on the driver.
config EXT_RAM_SECTION
bool
# Board selection. The build system exports BOARD (and optionally
# ARCH) in the environment; the paths below are expanded from it by
# kconfiglib. When running menuconfig/guiconfig directly, export BOARD
# first (the top-level Makefile does this for you).
# The board Kconfig is sourced first so that it can `select` its arch
# and SoC, after which the arch / SoC Kconfig (and everything that
# `depends on` them) sees the selected values.
osource "$(srctree)/boards/$(BOARD)/Kconfig"
osource "$(srctree)/soc/$(SOC)/Kconfig"
osource "$(srctree)/arch/$(ARCH)/Kconfig"
source "kernel/Kconfig"
source "drivers/Kconfig"
source "lib/Kconfig"
source "subsys/Kconfig"
source "test/target/Kconfig"
# SoC defaults are sourced last so that the symbols they provide
# defaults for (CLINT_BASE, PLIC_BASE, 16550_UART0_*, ...) have already
# been declared by the arch / driver Kconfig above.
osource "$(srctree)/soc/$(SOC)/Kconfig.defconfig"