[SRU][G/linux-oracle][PATCH 01/18] UBUNTU: [config] oracle: Bring-up for arm64 support
Khalid Elmously
khalid.elmously at canonical.com
Fri May 21 07:00:25 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1925421
Signed-off-by: Khalid Elmously <khalid.elmously at canonical.com>
---
debian.oracle/abi/5.8.0-1029.30/arm64/ignore | 1 +
.../abi/5.8.0-1029.30/arm64/ignore.compiler | 1 +
.../abi/5.8.0-1029.30/arm64/ignore.modules | 1 +
.../abi/5.8.0-1029.30/arm64/ignore.retpoline | 1 +
.../config/arm64/config.common.arm64 | 3 ++
.../config/arm64/config.flavour.oracle | 3 ++
debian.oracle/control.d/vars.oracle | 4 +--
debian.oracle/control.stub.in | 2 +-
debian.oracle/etc/kernelconfig | 2 +-
debian.oracle/rules.d/arm64.mk | 32 +++++++++++++++++++
10 files changed, 46 insertions(+), 4 deletions(-)
create mode 100644 debian.oracle/abi/5.8.0-1029.30/arm64/ignore
create mode 100644 debian.oracle/abi/5.8.0-1029.30/arm64/ignore.compiler
create mode 100644 debian.oracle/abi/5.8.0-1029.30/arm64/ignore.modules
create mode 100644 debian.oracle/abi/5.8.0-1029.30/arm64/ignore.retpoline
create mode 100644 debian.oracle/config/arm64/config.common.arm64
create mode 100644 debian.oracle/config/arm64/config.flavour.oracle
create mode 100644 debian.oracle/rules.d/arm64.mk
diff --git a/debian.oracle/abi/5.8.0-1029.30/arm64/ignore b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore
@@ -0,0 +1 @@
+1
diff --git a/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.compiler b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.compiler
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.compiler
@@ -0,0 +1 @@
+1
diff --git a/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.modules b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.modules
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.modules
@@ -0,0 +1 @@
+1
diff --git a/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.retpoline b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.retpoline
new file mode 100644
index 000000000000..d00491fd7e5b
--- /dev/null
+++ b/debian.oracle/abi/5.8.0-1029.30/arm64/ignore.retpoline
@@ -0,0 +1 @@
+1
diff --git a/debian.oracle/config/arm64/config.common.arm64 b/debian.oracle/config/arm64/config.common.arm64
new file mode 100644
index 000000000000..529c49d4daae
--- /dev/null
+++ b/debian.oracle/config/arm64/config.common.arm64
@@ -0,0 +1,3 @@
+#
+# Config options for config.common.amd64 automatically generated by splitconfig.pl
+#
diff --git a/debian.oracle/config/arm64/config.flavour.oracle b/debian.oracle/config/arm64/config.flavour.oracle
new file mode 100644
index 000000000000..3509d3d4f75f
--- /dev/null
+++ b/debian.oracle/config/arm64/config.flavour.oracle
@@ -0,0 +1,3 @@
+#
+# Config options for config.flavour.oracle automatically generated by splitconfig.pl
+#
diff --git a/debian.oracle/control.d/vars.oracle b/debian.oracle/control.d/vars.oracle
index 2fefe94675ad..66dfab62854f 100644
--- a/debian.oracle/control.d/vars.oracle
+++ b/debian.oracle/control.d/vars.oracle
@@ -1,6 +1,6 @@
-arch="amd64"
+arch="amd64 arm64"
supported="Oracle"
target="Geared toward Oracle Cloud systems."
desc="=HUMAN= SMP"
-bootloader="grub-pc [amd64] | grub-efi-amd64 [amd64] | grub-efi-ia32 [amd64] | grub [amd64] | lilo [amd64] | flash-kernel [armhf arm64] | grub-ieee1275 [ppc64el]"
+bootloader="grub-pc [amd64] | grub-efi-amd64 [amd64] | grub-efi-ia32 [amd64] | grub [amd64] | lilo [amd64] | flash-kernel [armhf arm64] | grub-ieee1275 [ppc64el] | grub-efi-arm64 [arm64]"
provides="kvm-api-4, redhat-cluster-modules, ivtv-modules, virtualbox-guest-modules [amd64]"
diff --git a/debian.oracle/control.stub.in b/debian.oracle/control.stub.in
index 2060e44b70b6..10fcfc376837 100644
--- a/debian.oracle/control.stub.in
+++ b/debian.oracle/control.stub.in
@@ -69,7 +69,7 @@ Description: Header files related to Oracle Linux kernel version PKGVER
Package: SRCPKGNAME-tools-PKGVER-ABINUM
Build-Profiles: <!stage1>
-Architecture: amd64
+Architecture: amd64 arm64
Section: devel
Priority: optional
Depends: ${misc:Depends}, ${shlibs:Depends}, linux-tools-common
diff --git a/debian.oracle/etc/kernelconfig b/debian.oracle/etc/kernelconfig
index f948f6d566fe..2f07ffc6a95c 100644
--- a/debian.oracle/etc/kernelconfig
+++ b/debian.oracle/etc/kernelconfig
@@ -2,6 +2,6 @@ if [ "$variant" = "ports" ]; then
archs=""
family='ports'
else
- archs="amd64"
+ archs="amd64 arm64"
family='ubuntu'
fi
diff --git a/debian.oracle/rules.d/arm64.mk b/debian.oracle/rules.d/arm64.mk
new file mode 100644
index 000000000000..0f8ea9832413
--- /dev/null
+++ b/debian.oracle/rules.d/arm64.mk
@@ -0,0 +1,32 @@
+human_arch = ARMv8
+build_arch = arm64
+header_arch = $(build_arch)
+defconfig = defconfig
+flavours = oracle
+build_image = Image.gz
+kernel_file = arch/$(build_arch)/boot/Image.gz
+install_file = vmlinuz
+loader = grub
+vdso = vdso_install
+no_dumpfile = true
+uefi_signed = true
+do_tools_usbip = true
+do_tools_cpupower = true
+do_tools_perf = true
+do_tools_perf_jvmti = true
+do_tools_bpftool = true
+do_tools_x86 = false
+do_tools_hyperv = false
+do_tools_host = false
+do_extras_package = true
+do_tools_common = false
+do_tools_acpidbg = false
+do_zfs = true
+do_dkms_nvidia = false
+do_libc_dev_package = false
+disable_d_i = true
+do_doc_package = false
+do_source_package = false
+do_dtbs = false
+do_common_headers_indep = false
+do_dkms_nvidia_server = false
--
2.17.1
More information about the kernel-team
mailing list