summaryrefslogtreecommitdiffstats
path: root/meta-hxt
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-07 12:36:51 -0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-07 21:28:13 -0500
commit0df4bdcb071b9cf90c92cf8759cacc4f6e80a8c7 (patch)
treef3dee5e0bba81314577bce0fb14c17231ef70870 /meta-hxt
parentedb390a8f923ee08b976b1ebf3dd1ae8912f2e18 (diff)
downloadtalos-openbmc-0df4bdcb071b9cf90c92cf8759cacc4f6e80a8c7.tar.gz
talos-openbmc-0df4bdcb071b9cf90c92cf8759cacc4f6e80a8c7.zip
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 <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-hxt')
-rw-r--r--meta-hxt/conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
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}/")}'
OpenPOWER on IntegriCloud