From 30e53e5162bb023d1fb522d458551127dc118780 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Wed, 7 Nov 2018 12:41:05 -0800 Subject: meta-evb: add EVBBASE Define a variable that recipes can use for finding the root of the evb layer. Typically this is used to refer to the layer LICENSE for recipes that don't have any source repository. (From meta-evb rev: bf038b9cfd62406da05f692a3cb0a952a1826091) Change-Id: I4a8fbadb3f9bf81ce053385658a1e79c69f34437 Signed-off-by: Patrick Venture Signed-off-by: Brad Bishop --- meta-evb/conf/layer.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-evb/conf') diff --git a/meta-evb/conf/layer.conf b/meta-evb/conf/layer.conf index f8f2d0e38..0aca4aac1 100644 --- a/meta-evb/conf/layer.conf +++ b/meta-evb/conf/layer.conf @@ -3,3 +3,6 @@ BBPATH .= ":${LAYERDIR}" BBFILE_COLLECTIONS += "evb" BBFILE_PATTERN_evb = "" + +# Provide a variable that points the base of the evb layer. +EVBBASE = '${@os.path.normpath("${LAYERDIR}/")}' -- cgit v1.2.3