diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-08-08 07:03:09 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-08-08 07:03:09 +0300 |
commit | 662e631ccef2b20d7aba5d077ae0891f6b55ad2d (patch) | |
tree | 050647025af324af5624a048ef352287f72f4eb3 /platform/template | |
parent | 422f0e0486dd30196c11e43763510410c8632bcb (diff) | |
download | opensbi-662e631ccef2b20d7aba5d077ae0891f6b55ad2d.tar.xz |
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>
Diffstat (limited to 'platform/template')
-rw-r--r-- | platform/template/Kconfig | 12 | ||||
-rw-r--r-- | platform/template/configs/defconfig | 0 |
2 files changed, 12 insertions, 0 deletions
diff --git a/platform/template/Kconfig b/platform/template/Kconfig new file mode 100644 index 0000000..6fbb567 --- /dev/null +++ b/platform/template/Kconfig @@ -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 diff --git a/platform/template/configs/defconfig b/platform/template/configs/defconfig new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/platform/template/configs/defconfig |