On 6/14/2024 1:55 PM, Denys Dmytriyenko wrote:
On Fri, Jun 14, 2024 at 12:34:23PM -0400, Denys Dmytriyenko wrote:
On Thu, Jun 13, 2024 at 04:18:16PM -0500, Ryan Eatmon wrote:
On 6/13/2024 12:22 PM, Denys Dmytriyenko wrote:
From: Denys Dmytriyenko <[email protected]>
This adds a facility to define multiple supported BSPs with their own
preferences for individual components, as well as lets machine configs
specify conditional configurations for different BSPs.
Signed-off-by: Denys Dmytriyenko <[email protected]>
diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc
b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
new file mode 100644
index 00000000..3bb94a7f
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc
@@ -0,0 +1,109 @@
+# Support multiple BSP providers
+# The main input is TI_DEFAULT_BSP, which translates into default
+# preferences for kernel, bootloader and graphics components, as
+# well as a dedicated machine override.
+
+# Supported options are: mainline, ti-6_6, ti-6_1, bb_org
+TI_DEFAULT_BSP ??= "ti-6_6"
Should this variable be named TI_DEFAULT_BSP? That implies that
this is the value of the default for this feature. But in reality
this variable is what chooses the TI BSP version. Should it be
something like TI_BSP_VERSION instead?
It's not just the version, it's entire BSP stack. E.g. "mainline" vs. "bb_org"
Initially I started with only 2 options - "ti" vs. "bb_org", but eventually
expanded it to support "mainline" and in case of "ti" also different LTS
versions - "ti-6_1" and "ti-6_6"... Hence the original name stayed. And not
sure how long both LTS versions will be supported in meta-ti...
Anyway, I'm fine changing it to something else, but I thing calling it
"version" will be more confusing.
How about TI_PREFERRED_BSP or something along those lines?
I like that.
--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17742):
https://lists.yoctoproject.org/g/meta-ti/message/17742
Mute This Topic: https://lists.yoctoproject.org/mt/106655975/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-