soc: qcom: Add a config flag to know the build variant

Add a Kconfig flag to differentiate between a GKI and an Non GKI build.
CONFIG_QGKI is enabled if the build is a Non GKI variant (QGKI or debug).
This flag doesn't differentiate between QGKI and debug variants.

Change-Id: I6b53b1e0e4c071fc7d9b365ff374ffe4e8b3e8ba
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
Prakruthi Deepak Heragu 2019-09-10 10:53:10 -07:00 • committed by Gerrit - the friendly Code Review server
commit 7a418dae79

View file

@ -386,4 +386,13 @@ config MSM_CDSP_LOADER
for platforms that have one.
Say M if you want to enable this module.
config QGKI
bool "Enable for QGKI or debug variant"
help
When this flag is enabled, it is safe to assume that the build
is a Non GKI build. It can be either QGKI build or a debug
build. This does not differentiate a QGKI and a debug build.
This flag is absent if the build is a GKI build. If this flag is
enabled, all the ABI compatibilities are not applicable.
endmenu