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