diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2021-01-11 13:19:09 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-01-11 17:23:16 +0000 |
commit | a857b0b23a64a8cf209dc35c4773d22ab236162d (patch) | |
tree | 33a242ea49ed5aaa890bae2eed18636bdc524e18 /templates/base/bblayers.conf.sample | |
parent | 5a7790e8b10d6a01fb405f1893167ddec58f5faa (diff) |
Fix agl-appfw-smack and agl-netboot dependency issue
Both layers need meta-python and meta-networking. But adding them to
BBLAYERS twice will cause a duplicate inclusion error.
Conditionals do not work out at this stage yet nicely, thus
we use an empty variable as indirection to only include it once.
(Kudos to Paul for the idea.)
Adapt bblayers.conf.sample, agl-appfw-smack and agl-netboot features.
This is the necessary follow-up to https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25844
and fixes the issue raised.
Bug-AGL: SPEC-3723
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I74e27b8a6e1f1a68ed370e01c2f2d406841873c8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25881
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Diffstat (limited to 'templates/base/bblayers.conf.sample')
-rw-r--r-- | templates/base/bblayers.conf.sample | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/base/bblayers.conf.sample b/templates/base/bblayers.conf.sample index 0dd28da03..82ab42d67 100644 --- a/templates/base/bblayers.conf.sample +++ b/templates/base/bblayers.conf.sample @@ -35,9 +35,19 @@ AGL_CORE_DEPENDENCY_LAYERS = " \ ${METADIR}/external/meta-openembedded/meta-oe \ " +# Indirection to avoid duplicate inclusions of the same folder into BBLAYERS +# the evaluation is in the bblayers.conf.sample in meta-agl/templates/base +AGL_META_NETWORKING ?= "" +AGL_META_PYTHON ?= "" +AGL_OTHER_DEPENDENCY_LAYERS = " \ + ${AGL_META_NETWORKING} \ + ${AGL_META_PYTHON} \ + " + #################### # Combine the layers BBLAYERS ?= " \ + ${AGL_OTHER_DEPENDENCY_LAYERS} \ ${AGL_CORE_DEPENDENCY_LAYERS} \ ${AGL_CORE_LAYERS} \ ${YOCTO_LAYERS} \ |