diff options
author | Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com> | 2018-07-25 09:05:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-01 10:07:22 +0100 |
commit | b7c2c785806e53351340fe27270784115ea172b0 (patch) | |
tree | fa41cc5508624f2b05c061dbc72174931d9b93db /meta/conf | |
parent | 666e0783525a298217787e3d2f1460c57c2f59ca (diff) | |
download | poky-b7c2c785806e53351340fe27270784115ea172b0.tar.gz |
multiconfig: Enable multiconfig dependencies on oe-core
This patch enables multiconfig dependencies (mcdepends) to be used on
recipes using the following format:
task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"
For the sake of simplicity consider the following example:
Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.
Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.
This patch makes modifications to bitbake.conf to enable mcdepends, and
to sstatesig and staging.bbclass to avoid conflicts between packages from
different multiconfigs.
[YOCTO #10681]
(From OE-Core rev: f71bfe833c657244d2fd07b3b71e86081d7d1c04)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index e28f3c7311..f68954c511 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -877,7 +877,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \ | |||
877 | file-checksums python func task export unexport noexec nostamp dirs cleandirs \ | 877 | file-checksums python func task export unexport noexec nostamp dirs cleandirs \ |
878 | sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \ | 878 | sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \ |
879 | recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno \ | 879 | recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno \ |
880 | progress" | 880 | progress mcdepends" |
881 | 881 | ||
882 | MLPREFIX ??= "" | 882 | MLPREFIX ??= "" |
883 | MULTILIB_VARIANTS ??= "" | 883 | MULTILIB_VARIANTS ??= "" |