From e260f04a82c621242a7af264daf08973bfbb9086 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 28 Sep 2018 12:20:39 -0400 Subject: 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 --- meta-quanta/conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-quanta') 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}/")}' -- cgit v1.2.1