Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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"