[meta-arm,2/2] arm/kernel: Introduce 5.4 Android Common Kernel
Submitted by Usama Arif on Aug. 28, 2020, 11:21 a.m.
|
Patch ID: 175775
Details
Commit Message
new file mode 100644
@@ -0,0 +1,3 @@
+# Machine specific configurations
+
+require linux-arm-platforms.inc
new file mode 100644
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: Apache-2.0
+#
+# Copyright (c) 2020 Arm Limited
+#
+
+DESCRIPTION = "Linux Android Common Kernel"
+SECTION = "kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
+
+require recipes-kernel/linux/linux-yocto.inc
+
+COMPATIBLE_MACHINE ?= "invalid"
+
+ARCH = "arm64"
+
+S = "${WORKDIR}/git"
+
+LINUX_VERSION ?= "${PV}"
+KERNEL_VERSION_SANITY_SKIP = "1"
+KBRANCH = ""
@@ -2,17 +2,7 @@
#
# Copyright (c) 2020 Arm Limited
#
-
-DESCRIPTION = "Linux Android Common Kernel"
-SECTION = "kernel"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-
-require recipes-kernel/linux/linux-yocto.inc
-
-COMPATIBLE_MACHINE ?= "invalid"
-
-ARCH = "arm64"
+require linux-arm64-ack.inc
SRC_URI = " \
git://android.googlesource.com/kernel/common.git;protocol=https;branch=android-4.19-q-release \
@@ -20,9 +10,3 @@ SRC_URI = " \
# ASB-2020-06-05_4.19-q-release tag commit
SRCREV = "ebd43352dd92e56f14a4985a3c99de767fc8f9cf"
-
-S = "${WORKDIR}/git"
-
-LINUX_VERSION ?= "${PV}"
-KERNEL_VERSION_SANITY_SKIP = "1"
-KBRANCH = ""
new file mode 100644
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: Apache-2.0
+#
+# Copyright (c) 2020 Arm Limited
+#
+require linux-arm64-ack.inc
+
+SRC_URI = " \
+ git://android.googlesource.com/kernel/common.git;protocol=https;branch=android-5.4-stable \
+ "
+
+# ASB-2020-06-05_5.4-stable tag commit
+SRCREV = "2068976fd7b172b64020006efde1ee57af6bbf99"
This recipe targets machines based on arm64. The patch also adds an .inc file to for common code between different ACK recipes. The base commit is based on tag refs/tags/ASB-2020-06-05_5.4-stable Change-Id: I5b5f1eeb8336910355fc9880670c729453a8096a Signed-off-by: Usama Arif <usama.arif@arm.com> --- .../linux/linux-arm64-ack_5.4.bbappend | 3 +++ .../recipes-kernel/linux/linux-arm64-ack.inc | 21 +++++++++++++++++++ .../linux/linux-arm64-ack_4.19.bb | 18 +--------------- .../linux/linux-arm64-ack_5.4.bb | 12 +++++++++++ 4 files changed, 37 insertions(+), 17 deletions(-) create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_5.4.bbappend create mode 100644 meta-arm/recipes-kernel/linux/linux-arm64-ack.inc create mode 100644 meta-arm/recipes-kernel/linux/linux-arm64-ack_5.4.bb