summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine')
-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}