From 71130d99dbaed72cc05f5587f779ccbf7572a18a Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Thu, 19 Jan 2017 06:24:20 +0000 Subject: beaglebone: add check for potential conflicts with meta-yocto-bsp Signed-off-by: Denys Dmytriyenko --- conf/machine/include/beaglebone.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 conf/machine/include/beaglebone.inc (limited to 'conf/machine/include') 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 @@ +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.") +} -- cgit v1.2.3-54-g00ecf