From a451e199737882fbf7ac26335214d68c3bcae07b Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Thu, 18 Jul 2024 13:22:46 -0500 Subject: [PATCH] linux: Manage the kernel patches using the BSP system Applying the patches to all kernels is not going to work. Each kernel might need different patches to address reproducibility issues. Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc index f24fbe51..1831ba66 100644 --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc @@ -13,8 +13,12 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}" KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" KERNEL_DTBVENDORED = "1" -SRC_URI:append = " \ -file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \ -file://0001-vt-conmakehash-improve-reproducibility.patch \ -file://0001-pnmtologo-use-relocatable-file-name.patch \ +KERNEL_PATCHES = "" + +KERNEL_PATCHES:bsp-ti-6_6 = " \ + file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \ + file://0001-vt-conmakehash-improve-reproducibility.patch \ + file://0001-pnmtologo-use-relocatable-file-name.patch \ " + +SRC_URI:append = " ${KERNEL_PATCHES} "