summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-01-19 06:24:20 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-01-20 17:41:45 -0500
commit71130d99dbaed72cc05f5587f779ccbf7572a18a (patch)
tree4b7f1c8a802c79613201de3f1238da654a9aebd8
parent68cecc424816b10762da378255e5119384c6dc46 (diff)
downloadmeta-ti-71130d99dbaed72cc05f5587f779ccbf7572a18a.tar.gz
beaglebone: add check for potential conflicts with meta-yocto-bsp
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--conf/machine/beaglebone.conf1
-rw-r--r--conf/machine/include/beaglebone.inc12
2 files changed, 13 insertions, 0 deletions
diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf
index bf3d91e6..e1685601 100644
--- a/conf/machine/beaglebone.conf
+++ b/conf/machine/beaglebone.conf
@@ -3,6 +3,7 @@
3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board 3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
4 4
5require conf/machine/include/ti33x.inc 5require conf/machine/include/ti33x.inc
6require conf/machine/include/beaglebone.inc
6 7
7# Only has DVI connector for external screen 8# Only has DVI connector for external screen
8MACHINE_GUI_CLASS = "bigscreen" 9MACHINE_GUI_CLASS = "bigscreen"
diff --git a/conf/machine/include/beaglebone.inc b/conf/machine/include/beaglebone.inc
new file mode 100644
index 00000000..f76ad3d9
--- /dev/null
+++ b/conf/machine/include/beaglebone.inc
@@ -0,0 +1,12 @@
1python () {
2 layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1)
3 if not layers:
4 return
5 if "yoctobsp" in layers:
6 bb.fatal("\nmeta-yocto-bsp has been detected in bblayers.conf, which provides basic reference BSP for beaglebone platform. " \
7 "\nSince meta-ti provides official comprehensive BSP for TI SoCs, including beaglebone, there could be potential conflicts " \
8 "\nbetween beaglebone machine definitions available in meta-yocto-bsp and meta-ti layers. It is recommended to remove " \
9 "\nor disable meta-yocto-bsp in bblayers.conf, when using meta-ti and building for beaglebone platform. Alternatively, " \
10 "\nit is possible to build for am335x-evm with meta-ti, which is a more generic platform for Sitara AM335x SoC and " \
11 "\nalso covers beaglebone variants.")
12}