I don't think you need bsp-overrides anymore...

On Thu, Oct 17, 2024 at 02:08:25PM -0500, Ryan Eatmon via 
lists.yoctoproject.org wrote:
> It was suggested to move the reproducibility patches out of
> ti-kernel.inc and into the respective recipes.  Take this time to also
> rename the variable being added to the SRC_URI to
> REPRODUCIBILITY_PATCHES to make it clearer about what the patches are
> that it lists.
> 
> This change will also make it easier for the upstream testing flow to
> update the mainline recipe to the new version and update the needed
> patches at the same time.
> 
> Signed-off-by: Ryan Eatmon <[email protected]>
> ---
>  .../linux/linux-ti-mainline_git.bb             |  4 ++++
>  .../linux/linux-ti-staging_6.12.bb             |  4 ++++
>  .../linux/linux-ti-staging_6.6.bb              |  4 ++++
>  meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 18 ++----------------
>  4 files changed, 14 insertions(+), 16 deletions(-)
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb 
> b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
> index a9048f16..bd06cc2b 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb
> @@ -19,6 +19,10 @@ PV = "6.11"
>  
>  SRC_URI = 
> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=https;branch=master"
>  
> +REPRODUCIBILITY_PATCHES:bsp-mainline = " \
> +    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
> +"
> +
>  DEFCONFIG_NAME = "multi_v7_defconfig"
>  DEFCONFIG_NAME:omapl138 = "davinci_all_defconfig"
>  DEFCONFIG_NAME:k3 = "defconfig"
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb 
> b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
> index f6f8732b..591eb5e3 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb
> @@ -33,6 +33,10 @@ KERNEL_GIT_PROTOCOL = "https"
>  SRC_URI += 
> "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
>              file://defconfig"
>  
> +REPRODUCIBILITY_PATCHES:bsp-ti-6_12 = " \
> +    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
> +"
> +
>  # Special configuration for remoteproc/rpmsg IPC modules
>  module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
>  module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: 
> virtio_rpmsg_bus"
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb 
> b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb
> index 9a906a0f..baf5f9f1 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb
> @@ -31,6 +31,10 @@ KERNEL_GIT_PROTOCOL = "https"
>  SRC_URI += 
> "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
>              file://defconfig"
>  
> +REPRODUCIBILITY_PATCHES:bsp-ti-6_6 = " \
> +    file://0001-vt-conmakehash-improve-reproducibility.patch \
> +"
> +
>  # Special configuration for remoteproc/rpmsg IPC modules
>  module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
>  module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: 
> virtio_rpmsg_bus"
> diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc 
> b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> index 09cfdb12..e51b14d7 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> @@ -13,19 +13,5 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
>  KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
>  KERNEL_DTBVENDORED = "1"
>  
> -KERNEL_PATCHES = ""
> -
> -KERNEL_PATCHES:bsp-mainline = " \
> -    file://0001-vt-conmakehash-improve-reproducibility-for-v6.10.patch \
> -    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
> -"
> -
> -KERNEL_PATCHES:bsp-ti-6_12 = " \
> -    file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
> -"
> -
> -KERNEL_PATCHES:bsp-ti-6_6 = " \
> -    file://0001-vt-conmakehash-improve-reproducibility.patch \
> -"
> -
> -SRC_URI:append = " ${KERNEL_PATCHES} "
> +REPRODUCIBILITY_PATCHES = ""
> +SRC_URI:append = " ${REPRODUCIBILITY_PATCHES}"
> -- 
> 2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18014): 
https://lists.yoctoproject.org/g/meta-ti/message/18014
Mute This Topic: https://lists.yoctoproject.org/mt/109069924/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to