mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10.git
synced 2026-09-09 00:07:04 +08:00
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>
32 lines
836 B
Plaintext
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
|