mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
beaglebone: add check for potential conflicts with meta-yocto-bsp
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
12
conf/machine/include/beaglebone.inc
Normal file
12
conf/machine/include/beaglebone.inc
Normal file
@@ -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.")
|
||||
}
|
||||
Reference in New Issue
Block a user