redhat: automotive: define CONFIG_RH_AUTOMOTIVE

This introduces a Red Hat only config used to define code that differs
from RHEL when building the automotive kernel.

Signed-off-by: Scott Weaver <scweaver@redhat.com>
This commit is contained in:
Scott Weaver 2025-01-31 16:18:25 -05:00
parent 2375646c2a
commit 5d878e8fa0
3 changed files with 10 additions and 0 deletions

View File

@ -20,4 +20,12 @@ config RH_KABI_SIZE_ALIGN_CHECKS
be disabled in case of a debug build, because debug builds
allow to change struct sizes.
config RH_AUTOMOTIVE
bool "Enable automotive only code"
depends on RHEL_DIFFERENCES
default n
help
This option controls whether code is included in the automotive
kernel build. If you are building an automotive kernel, say Y.
endmenu

View File

@ -0,0 +1 @@
CONFIG_RH_AUTOMOTIVE=y

View File

@ -0,0 +1 @@
# CONFIG_RH_AUTOMOTIVE is not set