summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-12-08 23:11:44 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-12-09 13:44:12 +0000
commit0fef32c4a58a7e3f5c0ceb656a8662da26d4e267 (patch)
tree5837e4184e94be7c163c11444a84d3f57d0e795a /templates
parentdfc94b8254a86b2c94bec6a68068b2ed5861f66e (diff)
Add placeholder variable for meta-clang addition
meta-clang is a dependency of multiple layers. Thus to avoid double inclusions, add this placeholder and indirection. To add the clang layer, you have to define AGL_META_CLANG instead of changing BBLAYERS directly. Bug-AGL: SPEC-3852 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I32ae8b5027531c3fc7a38c15ff3c0269c85ed9b8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26984 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'templates')
-rw-r--r--templates/base/bblayers.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base/bblayers.conf.sample b/templates/base/bblayers.conf.sample
index f5680622c..53fbdc46f 100644
--- a/templates/base/bblayers.conf.sample
+++ b/templates/base/bblayers.conf.sample
@@ -41,11 +41,14 @@ AGL_META_NETWORKING ?= ""
AGL_META_PYTHON ?= ""
AGL_META_FILESYSTEMS ?= ""
AGL_META_VIRTUALIZATION ?= ""
+AGL_META_CLANG ?= ""
+
AGL_OTHER_DEPENDENCY_LAYERS = " \
${AGL_META_NETWORKING} \
${AGL_META_PYTHON} \
${AGL_META_FILESYSTEMS} \
${AGL_META_VIRTUALIZATION} \
+ ${AGL_META_CLANG} \
"
####################