summaryrefslogtreecommitdiff
path: root/meta/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/layer.conf')
-rw-r--r--meta/conf/layer.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 30068d6aec..c0298f5288 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -9,12 +9,12 @@ BBFILE_COLLECTIONS += "normal"
BBFILE_PATTERN_normal := "^${LAYERDIR}/"
BBFILE_PRIORITY_normal = "5"
-# Add scripts to PATH
-PATH := "${PATH}:${LAYERDIR}/scripts"
-
# Set a variable to get to the top of the metadata location
POKYBASE := ${@os.path.normpath("${LAYERDIR}/../")}
+# Add scripts to PATH
+PATH := "${PATH}:${POKYBASE}/scripts"
+
# Set path to qemu image tests included in this layer
QEMUIMAGETESTS := "${POKYBASE}/scripts/qemuimage-tests"