summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sanity.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9d183e352f..e9217f9c0d 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -155,6 +155,9 @@ def check_sanity(e):
155 if not check_app_exists("qemu-arm", e.data): 155 if not check_app_exists("qemu-arm", e.data):
156 messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" 156 messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH"
157 157
158 if "." in data.getVar('PATH', e.data, True).split(":"):
159 messages = messages + "PATH contains '.' which will break the build, please remove this"
160
158 if data.getVar('TARGET_ARCH', e.data, True) == "arm": 161 if data.getVar('TARGET_ARCH', e.data, True) == "arm":
159 # This path is no longer user-readable in modern (very recent) Linux 162 # This path is no longer user-readable in modern (very recent) Linux
160 try: 163 try: