summaryrefslogtreecommitdiffstats
path: root/meta-quanta/conf/layer.conf
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-09-28 12:20:39 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-02 14:45:43 -0400
commite260f04a82c621242a7af264daf08973bfbb9086 (patch)
tree1686ed69f2bdb110f9949a4071fa93cda47296c4 /meta-quanta/conf/layer.conf
parentbc174e64873a32119427d6e2f0264c2745f8ee2d (diff)
downloadblackbird-openbmc-e260f04a82c621242a7af264daf08973bfbb9086.tar.gz
blackbird-openbmc-e260f04a82c621242a7af264daf08973bfbb9086.zip
quanta: layer.conf: Add QUANTABASE
Define a variable that recipes can use for finding the root of the quanta layer. Typically this is used to refer to the layer LICENSE for recipes that don't have any source repository. (From meta-quanta rev: 0ac2ffc05a27ca1e880c7f95e86be7241c721c38) Change-Id: Ia9d9917525eb6197b9acd957e57784c2fb8d6c14 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/conf/layer.conf')
-rw-r--r--meta-quanta/conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-quanta/conf/layer.conf b/meta-quanta/conf/layer.conf
index 017e91274..9ff2efe1b 100644
--- a/meta-quanta/conf/layer.conf
+++ b/meta-quanta/conf/layer.conf
@@ -3,3 +3,6 @@ BBPATH .= ":${LAYERDIR}"
BBFILE_COLLECTIONS += "quanta"
BBFILE_PATTERN_quanta = ""
+
+# Provide a variable that points the base of the quanta layer.
+QUANTABASE = '${@os.path.normpath("${LAYERDIR}/")}'
OpenPOWER on IntegriCloud