* [meta-arago][master/kirkstone][PATCH] arago-prefs: Change how variants interact with the kernel choice
@ 2023-02-01 14:43 Ryan Eatmon
2023-02-01 19:08 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Ryan Eatmon @ 2023-02-01 14:43 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
Rather than just explicitly locking the PREFERRED_PROVIDER_virtual/kernel
to linux-ti-staging and the suffix, use the :append to add the suffix to
whatever value PREFERRED_PROVIDER_virtual/kernel is. This allows a
machine in a BSP layer to control which kernel to use as the bsse.
In the event that the kernel/variant choice is not valid the error
report from bitbake is very vague, but it does fail so you will not get
an incorrect build.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
meta-arago-distro/conf/distro/include/arago-prefs.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index 2dc4f212..34c3c539 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -6,7 +6,7 @@ PREFERRED_PROVIDER_ltp-ddt = "ltp-ddt"
PREFERRED_PROVIDER_virtual/gettext = "gettext"
-PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging${ARAGO_KERNEL_SUFFIX}"
+PREFERRED_PROVIDER_virtual/kernel:append = "${ARAGO_KERNEL_SUFFIX}"
PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-arago][master/kirkstone][PATCH] arago-prefs: Change how variants interact with the kernel choice
2023-02-01 14:43 [meta-arago][master/kirkstone][PATCH] arago-prefs: Change how variants interact with the kernel choice Ryan Eatmon
@ 2023-02-01 19:08 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2023-02-01 19:08 UTC (permalink / raw)
To: reatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Wed, Feb 01, 2023 at 08:43:00AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> Rather than just explicitly locking the PREFERRED_PROVIDER_virtual/kernel
> to linux-ti-staging and the suffix, use the :append to add the suffix to
> whatever value PREFERRED_PROVIDER_virtual/kernel is. This allows a
> machine in a BSP layer to control which kernel to use as the bsse.
>
> In the event that the kernel/variant choice is not valid the error
> report from bitbake is very vague, but it does fail so you will not get
> an incorrect build.
>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Acked-by: Denys Dmytriyenko <denys@konsulko.com>
> ---
> meta-arago-distro/conf/distro/include/arago-prefs.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> index 2dc4f212..34c3c539 100644
> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> @@ -6,7 +6,7 @@ PREFERRED_PROVIDER_ltp-ddt = "ltp-ddt"
>
> PREFERRED_PROVIDER_virtual/gettext = "gettext"
>
> -PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging${ARAGO_KERNEL_SUFFIX}"
> +PREFERRED_PROVIDER_virtual/kernel:append = "${ARAGO_KERNEL_SUFFIX}"
>
> PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-01 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-01 14:43 [meta-arago][master/kirkstone][PATCH] arago-prefs: Change how variants interact with the kernel choice Ryan Eatmon
2023-02-01 19:08 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.