forked from Mirrors/opensbi
Makefile: Add initial kconfig support for each platform
We extend the top-level makefile to allow kconfig based configuration for each platform where each platform has it's own set of configs with "defconfig" being the default config. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Tested-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Tested-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
12
platform/template/Kconfig
Normal file
12
platform/template/Kconfig
Normal file
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
|
||||
#
|
||||
# All mandatory drivers or libraries for this platform should
|
||||
# be directly selected by the PLATFORM_xyz kconfig symbol.
|
||||
#
|
||||
# All optional drivers or libraries for this platform should
|
||||
# be enabled via configs/defconfig of this platform.
|
||||
#
|
||||
config PLATFORM_TEMPLATE
|
||||
bool
|
||||
default y
|
0
platform/template/configs/defconfig
Normal file
0
platform/template/configs/defconfig
Normal file
Reference in New Issue
Block a user