tools: Add way to get current defconfig name on runtime

This commit aims to provide a way to get the current applied defconfig on runtime by providing CONFIG_BASE_DEFCONFIG that is updated when the configure and build scripts are run.
This commit is contained in:
Lucas Saavedra Vaz
2023-06-01 18:43:48 -03:00
committed by Alan Carvalho de Assis
parent 766e0a3b05
commit 6a220a08ba
5 changed files with 81 additions and 1 deletions
+9
View File
@@ -244,6 +244,15 @@ config APPS_DIR
example, to include makefile fragments (e.g., .config or Make.defs)
or to set up include file paths.
config BASE_DEFCONFIG
string "Base Configuration"
default ""
---help---
This will be automatically be updated by the configuration
script. This is the base configuration file that was used to create the
current configuration. It is useful for getting the current configuration
on runtime.
config BUILD_LOADABLE
bool
option modules