]> code.ossystems Code Review - openembedded-core.git/commit
copy_buildsystem: include layer tree during build structure creation
authorAndrej Valek <andrej.valek@siemens.com>
Thu, 17 Aug 2017 13:16:01 +0000 (15:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Aug 2017 11:35:56 +0000 (12:35 +0100)
commit5a59a6997f41e606d088e3e86812de56f72f543b
tree2bdb88c1adc01842f7f374fa9d176508d49bfa40
parentfdfbfc954a3e0ad79dc2bed9828f9f5dc40d506f
copy_buildsystem: include layer tree during build structure creation

When buildsystem with layer structure is going to be copied, only the last
meta-XXX layer is taken.
For example, during ext_sdk bblayers creating:
layers/oe/meta \
layers/oe/meta-oe \
layers/oe/meta-networking \
layers/oe/meta-webserver \
...
It restructured meta-oe, meta-networking,... contents into meta-oe.
Recipes from meta-oe will be on the same level like meta-networking,
meta-webserver, ... .

It should take the whole meta path instead of the last one.
layers/oe/meta \
layers/oe/meta-oe/meta-oe \
layers/oe/meta-oe/meta-networking \
layers/oe/meta-oe/meta-webserver \
...
Now the directory structure is the same like during build creation.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/copy_buildsystem.py