On Wed, Oct 09, 2024 at 08:51:30AM -0500, Ryan Eatmon via 
lists.yoctoproject.org wrote:
> 
> I thought of this in the middle of the night and realized it was a
> simpler fix.  Rather than create the extra variable and have to set
> it in all of the BSPs, just add two new PREFERRED_VERSION settings
> with -rt and -system.  The effect is the same, and has the benefit
> of still erroring out if you try to build an RT version of mainline,
> next, or bb_org.

Yeah, this is much cleaner! Looks good.


> On 10/9/2024 8:47 AM, Ryan Eatmon via lists.yoctoproject.org wrote:
> >We were missing controlling the versions for linux-ti-staging-rt and
> >linux-ti-staging-systest using the BSP framework.  Since the
> >PREFERRED_VERSION is not tied to the virtual/kernel we need two
> >additional settings for those alternate kernel package names.
> >
> >For BSPs that do not have the -rt and -systest recipes then the two
> >new variable settings should effectively be ignored and cause no issues.
> >
> >Signed-off-by: Ryan Eatmon <[email protected]>
> >---
> >v3: Typo in commit message.
> >v2: Remove the extra variables and just set PREFERRED_VERSION.
> >
> >  meta-ti-bsp/conf/machine/include/ti-bsp.inc | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> >diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc 
> >b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> >index 4cb2aab4..0c8f657d 100644
> >--- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> >+++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
> >@@ -122,6 +122,8 @@ BSP_MESA_PVR_VERSION ?= ""
> >  # ==========
> >  PREFERRED_PROVIDER_virtual/kernel ?= "${BSP_KERNEL_PROVIDER}"
> >  PREFERRED_VERSION_${BSP_KERNEL_PROVIDER} ?= "${BSP_KERNEL_VERSION}"
> >+PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-rt ?= "${BSP_KERNEL_VERSION}"
> >+PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-systest ?= "${BSP_KERNEL_VERSION}"
> >  PREFERRED_PROVIDER_virtual/bootloader ?= "${BSP_BOOTLOADER_PROVIDER}"
> >  PREFERRED_PROVIDER_u-boot ?= "${BSP_BOOTLOADER_PROVIDER}"
> >  PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18002): 
https://lists.yoctoproject.org/g/meta-ti/message/18002
Mute This Topic: https://lists.yoctoproject.org/mt/108909108/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to