diff mbox series

[master,1/3] meta-ti-bsp: move KERNEL_DTBVENDORED settings

Message ID 20250725204836.2549216-1-denis@denix.org
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [master,1/3] meta-ti-bsp: move KERNEL_DTBVENDORED settings | expand

Commit Message

Denys Dmytriyenko July 25, 2025, 8:48 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

Move KERNEL_DTBVENDORED settings from the kernel to ti-soc.inc
in the config scope.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 meta-ti-bsp/conf/machine/include/ti-soc.inc    | 5 +++++
 meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Ryan Eatmon July 27, 2025, 3:50 p.m. UTC | #1
This approach is much cleaner and gives us a step towards being able to 
upstream this concept.  It passed all builds and initial manual 
examination shows that the correct files are in the boot partition.

Thanks for putting this together.

If I don't hear any objections by mid week, then I'll accept these 
patches and we can work on getting them into production.



On 7/25/2025 3:48 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@konsulko.com>
> 
> Move KERNEL_DTBVENDORED settings from the kernel to ti-soc.inc
> in the config scope.
> 
> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> ---
>   meta-ti-bsp/conf/machine/include/ti-soc.inc    | 5 +++++
>   meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 5 -----
>   2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc
> index 56ea9e47..2eefa8a0 100644
> --- a/meta-ti-bsp/conf/machine/include/ti-soc.inc
> +++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc
> @@ -14,3 +14,8 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
>   
>   # All machines should start off pointing at the default base kernel class
>   KERNEL_BASE_CLASS = "kernel"
> +
> +# Tell the kernel class to install the DTBs in the same directory structure as
> +# the kernel
> +KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
> +KERNEL_DTBVENDORED = "1"
> diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> index 40ddc4fd..ef4ba4a1 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
> @@ -1,8 +1,3 @@
> -# Tell the kernel class to install the DTBs in the same directory structure as
> -# the kernel.
> -KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
> -KERNEL_DTBVENDORED = "1"
> -
>   KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
>   KERNEL_GIT_PROTOCOL ?= "https"
>   KERNEL_GIT_BRANCH ?= "branch=${BRANCH}"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#18829): https://lists.yoctoproject.org/g/meta-ti/message/18829
> Mute This Topic: https://lists.yoctoproject.org/mt/114344327/6551054
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc
index 56ea9e47..2eefa8a0 100644
--- a/meta-ti-bsp/conf/machine/include/ti-soc.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc
@@ -14,3 +14,8 @@  MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
 
 # All machines should start off pointing at the default base kernel class
 KERNEL_BASE_CLASS = "kernel"
+
+# Tell the kernel class to install the DTBs in the same directory structure as
+# the kernel
+KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
+KERNEL_DTBVENDORED = "1"
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
index 40ddc4fd..ef4ba4a1 100644
--- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
+++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc
@@ -1,8 +1,3 @@ 
-# Tell the kernel class to install the DTBs in the same directory structure as
-# the kernel.
-KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
-KERNEL_DTBVENDORED = "1"
-
 KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
 KERNEL_GIT_PROTOCOL ?= "https"
 KERNEL_GIT_BRANCH ?= "branch=${BRANCH}"