diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-21 14:06:41 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-21 14:06:41 +0000 |
commit | 68030f43f84a5aad221499472993b503cdf76c76 (patch) | |
tree | f4c35ca81ea8921b54d62a36dd2a395c3dbce87f /meta | |
parent | a034fad8d0e4a484f4a545bc59c2c022647746c6 (diff) | |
download | openembedded-core-68030f43f84a5aad221499472993b503cdf76c76.tar.gz openembedded-core-68030f43f84a5aad221499472993b503cdf76c76.tar.bz2 openembedded-core-68030f43f84a5aad221499472993b503cdf76c76.tar.xz openembedded-core-68030f43f84a5aad221499472993b503cdf76c76.zip |
sanity.bbclass: Add check for '.' in PATH and error if found (see bug #572)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sanity.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 9d183e352..e9217f9c0 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -155,6 +155,9 @@ def check_sanity(e): if not check_app_exists("qemu-arm", e.data): messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" + if "." in data.getVar('PATH', e.data, True).split(":"): + messages = messages + "PATH contains '.' which will break the build, please remove this" + if data.getVar('TARGET_ARCH', e.data, True) == "arm": # This path is no longer user-readable in modern (very recent) Linux try: |