Files
Centos-kernel-stream-10/Kconfig.redhat
T
Scott Weaver 4c5ecd7073 redhat: automotive: define CONFIG_RH_AUTOMOTIVE
JIRA: https://issues.redhat.com/browse/RHEL-77268
Upstream Status: RHEL only

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>
2025-04-18 11:03:52 -04:00

32 lines
836 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# Red Hat specific options
#
menu "Red Hat options"
config RHEL_DIFFERENCES
bool "Enable RHEL-only code"
help
This option controls whether rhel-only changes are enabled during
the build. Unless you want to enable rhel-only changes, say N here.
config RH_KABI_SIZE_ALIGN_CHECKS
bool "Enables more stringent kabi checks in the macros"
depends on RHEL_DIFFERENCES
default y
help
This option enables more stringent kabi checks. Those must
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