path: root/scripts/setup.cfg
diff options
authorChen Qi <Qi.Chen@windriver.com>2015-04-16 10:02:00 +0800
committerChen Qi <Qi.Chen@windriver.com>2015-04-16 15:44:05 +0800
commitc1c7339199e08085ed82ffed0d80356d5b177807 (patch)
tree3cdfc52560cfd40f55864a63850a5c90c556edba /scripts/setup.cfg
parentcfc43743b0e41cf168cad9cbd4e9d870b8f01f03 (diff)
layer_extra_sanity.bbclass: add new bbclassChenQi/layer_extra_sanity
Add a new bbclass for extra sanity check for layers. These sanity checks include: *) conf/machine and conf/distro don't appear in the same layer. The rational is that distro specific changes and BSP specific changes should be splitted into different layers for better maintenance. The meta layer is an exception. *) A BSP layer is not included if MACHINE is not set to any of the conf file it provides. The rational is that BSP layer, by design, is supposed to make changes specific for the BSPs it covers. Including a BSP layer which doesn't contain a conf file matching the MACHINE setting might cause potential problem. *) Configuration files under conf/machine don't set distro specific variables such as DISTRO_FEATURES. The rational is that machine configuration files should not set things related to machine. [YOCTO #5427] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'scripts/setup.cfg')
0 files changed, 0 insertions, 0 deletions