From fd7d14c2562fe16e3df3a99fe07701599ce8fac7 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 28 Sep 2018 10:06:36 -0400 Subject: inventec: layer.conf: Add INVENTECBASE Define a variable that recipes can use for finding the root of the inventec layer. Typically this is used to refer to the layer LICENSE for recipes that don't have any source repository. (From meta-inventec rev: 169daaa946cd053ddb7cc5514fb178497cd9cb30) Change-Id: If785f8eb05d56cc9653d5924c0c4512cf681d1cd Signed-off-by: Brad Bishop --- meta-inventec/conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-inventec') diff --git a/meta-inventec/conf/layer.conf b/meta-inventec/conf/layer.conf index de22db1e3..3c284f8ce 100644 --- a/meta-inventec/conf/layer.conf +++ b/meta-inventec/conf/layer.conf @@ -3,3 +3,6 @@ BBPATH .= ":${LAYERDIR}" BBFILE_COLLECTIONS += "inventec" BBFILE_PATTERN_inventec = "" + +# Provide a variable that points the base of the inventec layer. +INVENTECBASE = '${@os.path.normpath("${LAYERDIR}/")}' -- cgit v1.2.1