diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_5.4.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_5.4.bbappend new file mode 100644 index 00000000..f765661c --- /dev/null +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_5.4.bbappend @@ -0,0 +1,3 @@ +# Machine specific configurations + +require linux-arm-platforms.inc diff --git a/meta-arm/recipes-kernel/linux/linux-arm64-ack.inc b/meta-arm/recipes-kernel/linux/linux-arm64-ack.inc new file mode 100644 index 00000000..a9d561b2 --- /dev/null +++ b/meta-arm/recipes-kernel/linux/linux-arm64-ack.inc @@ -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 = "" diff --git a/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb b/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb index 4eb17e2c..989b0556 100644 --- a/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb +++ b/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb @@ -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 = "" diff --git a/meta-arm/recipes-kernel/linux/linux-arm64-ack_5.4.bb b/meta-arm/recipes-kernel/linux/linux-arm64-ack_5.4.bb new file mode 100644 index 00000000..908873d8 --- /dev/null +++ b/meta-arm/recipes-kernel/linux/linux-arm64-ack_5.4.bb @@ -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"