diff options
author | Denys Dmytriyenko <denys@ti.com> | 2017-01-19 06:24:20 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2017-01-20 17:41:45 -0500 |
commit | 71130d99dbaed72cc05f5587f779ccbf7572a18a (patch) | |
tree | 4b7f1c8a802c79613201de3f1238da654a9aebd8 /conf/machine/include | |
parent | 68cecc424816b10762da378255e5119384c6dc46 (diff) | |
download | meta-ti-71130d99dbaed72cc05f5587f779ccbf7572a18a.tar.gz |
beaglebone: add check for potential conflicts with meta-yocto-bsp
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/beaglebone.inc | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
1 | python () { | ||
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 | } | ||