From: Clark Williams <willi...@redhat.com>

redhat:  add automotive variant bits

Update specfile and configs to allow generating a set of
kernel-automotive* packages. Note that building automotive
kernels is off by default.

Signed-off-by: Clark Williams <willi...@redhat.com>

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -13,6 +13,7 @@ SPECRELEASED_KERNEL=$(RELEASED_KERNEL)
 SPECINCLUDE_FEDORA_FILES=$(INCLUDE_FEDORA_FILES)
 SPECINCLUDE_RHEL_FILES=$(INCLUDE_RHEL_FILES)
 SPECINCLUDE_RT_FILES=$(INCLUDE_RT_FILES)
+SPECINCLUDE_AUTOMOTIVE_FILES=$(INCLUDE_AUTOMOTIVE_FILES)
 
 ifneq (,$(findstring n,$(firstword -$(MAKEFLAGS))))
   # Do not set RHTEST on the command line. Use the make command built-in 
options
diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables
index blahblah..blahblah 100644
--- a/redhat/Makefile.variables
+++ b/redhat/Makefile.variables
@@ -65,6 +65,7 @@ HEAD ?= HEAD
 INCLUDE_FEDORA_FILES:=1
 INCLUDE_RHEL_FILES:=1
 INCLUDE_RT_FILES:=1
+INCLUDE_AUTOMOTIVE_FILES:=1
 
 # This variable is the location of the KABI cross compilers
 KABI_CROSS_COMPILE_PREFIX ?= /usr/bin/
diff --git a/redhat/configs/automotive/debug/CONFIG_DEBUG_WX 
b/redhat/configs/automotive/debug/CONFIG_DEBUG_WX
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/CONFIG_DEBUG_WX
@@ -0,0 +1 @@
+CONFIG_DEBUG_WX=y
diff --git a/redhat/configs/automotive/debug/CONFIG_KASAN 
b/redhat/configs/automotive/debug/CONFIG_KASAN
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/CONFIG_KASAN
@@ -0,0 +1 @@
+CONFIG_KASAN=y
diff --git a/redhat/configs/automotive/debug/CONFIG_KASAN_GENERIC 
b/redhat/configs/automotive/debug/CONFIG_KASAN_GENERIC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/CONFIG_KASAN_GENERIC
@@ -0,0 +1 @@
+CONFIG_KASAN_GENERIC=y
diff --git a/redhat/configs/automotive/debug/CONFIG_KASAN_KUNIT_TEST 
b/redhat/configs/automotive/debug/CONFIG_KASAN_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/CONFIG_KASAN_KUNIT_TEST
@@ -0,0 +1 @@
+CONFIG_KASAN_KUNIT_TEST=m
diff --git a/redhat/configs/automotive/debug/CONFIG_KASAN_VMALLOC 
b/redhat/configs/automotive/debug/CONFIG_KASAN_VMALLOC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/CONFIG_KASAN_VMALLOC
@@ -0,0 +1 @@
+CONFIG_KASAN_VMALLOC=y
diff --git a/redhat/configs/automotive/debug/CONFIG_PREEMPT_NONE 
b/redhat/configs/automotive/debug/CONFIG_PREEMPT_NONE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/CONFIG_PREEMPT_NONE
@@ -0,0 +1 @@
+# CONFIG_PREEMPT_NONE is not set
diff --git a/redhat/configs/automotive/debug/arm/aarch64/CONFIG_CORESIGHT 
b/redhat/configs/automotive/debug/arm/aarch64/CONFIG_CORESIGHT
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/arm/aarch64/CONFIG_CORESIGHT
@@ -0,0 +1 @@
+CONFIG_CORESIGHT=m
diff --git a/redhat/configs/automotive/debug/arm/aarch64/CONFIG_QCOM_GENI_SE 
b/redhat/configs/automotive/debug/arm/aarch64/CONFIG_QCOM_GENI_SE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/arm/aarch64/CONFIG_QCOM_GENI_SE
@@ -0,0 +1 @@
+CONFIG_QCOM_GENI_SE=y
diff --git 
a/redhat/configs/automotive/debug/arm/aarch64/CONFIG_SERIAL_QCOM_GENI 
b/redhat/configs/automotive/debug/arm/aarch64/CONFIG_SERIAL_QCOM_GENI
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/debug/arm/aarch64/CONFIG_SERIAL_QCOM_GENI
@@ -0,0 +1 @@
+CONFIG_SERIAL_QCOM_GENI=y
diff --git a/redhat/configs/automotive/generic/CONFIG_6LOWPAN 
b/redhat/configs/automotive/generic/CONFIG_6LOWPAN
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_6LOWPAN
@@ -0,0 +1 @@
+# CONFIG_6LOWPAN is not set
diff --git a/redhat/configs/automotive/generic/CONFIG_8139CP 
b/redhat/configs/automotive/generic/CONFIG_8139CP
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_8139CP
@@ -0,0 +1 @@
+# CONFIG_8139CP is not set
diff --git a/redhat/configs/automotive/generic/CONFIG_8139TOO 
b/redhat/configs/automotive/generic/CONFIG_8139TOO
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_8139TOO
@@ -0,0 +1 @@
+# CONFIG_8139TOO is not set
diff --git a/redhat/configs/automotive/generic/CONFIG_ACCESSIBILITY 
b/redhat/configs/automotive/generic/CONFIG_ACCESSIBILITY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_ACCESSIBILITY
@@ -0,0 +1 @@
+# CONFIG_ACCESSIBILITY is not set
diff --git a/redhat/configs/automotive/generic/CONFIG_ACPI_AC 
b/redhat/configs/automotive/generic/CONFIG_ACPI_AC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_ACPI_AC
@@ -0,0 +1 @@
+CONFIG_ACPI_AC=m
diff --git a/redhat/configs/automotive/generic/CONFIG_ACPI_BATTERY 
b/redhat/configs/automotive/generic/CONFIG_ACPI_BATTERY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_ACPI_BATTERY
@@ -0,0 +1 @@
+CONFIG_ACPI_BATTERY=m
diff --git a/redhat/configs/automotive/generic/CONFIG_ACPI_BUTTON 
b/redhat/configs/automotive/generic/CONFIG_ACPI_BUTTON
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_ACPI_BUTTON
@@ -0,0 +1 @@
+CONFIG_ACPI_BUTTON=m
diff --git a/redhat/configs/automotive/generic/CONFIG_ACPI_FAN 
b/redhat/configs/automotive/generic/CONFIG_ACPI_FAN
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_ACPI_FAN
@@ -0,0 +1 @@
+CONFIG_ACPI_FAN=m
diff --git a/redhat/configs/automotive/generic/CONFIG_ACPI_THERMAL 
b/redhat/configs/automotive/generic/CONFIG_ACPI_THERMAL
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/automotive/generic/CONFIG_ACPI_THERMAL
@@ -0,0 +1 @@
+CONFIG_ACPI_THERMAL=m

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3464

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to