From: Jan-Simon Moeller Date: Wed, 8 Dec 2021 22:11:44 +0000 (+0100) Subject: Add placeholder variable for meta-clang addition X-Git-Tag: 12.91.0~8 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=0fef32c4a58a7e3f5c0ceb656a8662da26d4e267;p=AGL%2Fmeta-agl.git 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 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 --- 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} \ " ####################