* [master/morty][PATCH] beaglebone: add check for potential conflicts with meta-yocto-bsp
@ 2017-01-19 0:24 Denys Dmytriyenko
0 siblings, 0 replies; only message in thread
From: Denys Dmytriyenko @ 2017-01-19 0:24 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
conf/machine/beaglebone.conf | 1 +
conf/machine/include/beaglebone.inc | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 100644 conf/machine/include/beaglebone.inc
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index bf3d91e..e168560 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -3,6 +3,7 @@
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
require conf/machine/include/ti33x.inc
+require conf/machine/include/beaglebone.inc
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
diff --git a/conf/machine/include/beaglebone.inc b/conf/machine/include/beaglebone.inc
new file mode 100644
index 0000000..f76ad3d
--- /dev/null
+++ b/conf/machine/include/beaglebone.inc
@@ -0,0 +1,12 @@
+python () {
+ layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1)
+ if not layers:
+ return
+ if "yoctobsp" in layers:
+ bb.fatal("\nmeta-yocto-bsp has been detected in bblayers.conf, which provides basic reference BSP for beaglebone platform. " \
+ "\nSince meta-ti provides official comprehensive BSP for TI SoCs, including beaglebone, there could be potential conflicts " \
+ "\nbetween beaglebone machine definitions available in meta-yocto-bsp and meta-ti layers. It is recommended to remove " \
+ "\nor disable meta-yocto-bsp in bblayers.conf, when using meta-ti and building for beaglebone platform. Alternatively, " \
+ "\nit is possible to build for am335x-evm with meta-ti, which is a more generic platform for Sitara AM335x SoC and " \
+ "\nalso covers beaglebone variants.")
+}
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-19 0:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19 0:24 [master/morty][PATCH] beaglebone: add check for potential conflicts with meta-yocto-bsp 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.