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"