Skip to content

Commit 4c5ecd7

Browse files
committed
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>
1 parent 53edcb1 commit 4c5ecd7

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

Kconfig.redhat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@ config RH_KABI_SIZE_ALIGN_CHECKS
2020
be disabled in case of a debug build, because debug builds
2121
allow to change struct sizes.
2222

23+
config RH_AUTOMOTIVE
24+
bool "Enable automotive only code"
25+
depends on RHEL_DIFFERENCES
26+
default n
27+
help
28+
This option controls whether code is included in the automotive
29+
kernel build. If you are building an automotive kernel, say Y.
30+
2331
endmenu
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_RH_AUTOMOTIVE=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CONFIG_RH_AUTOMOTIVE is not set

0 commit comments

Comments
 (0)