summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-05-28 15:34:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 11:04:18 +0100
commit897a9b1dddef385253b16ea7c193483e0ea679b6 (patch)
treef5e4b96cd71ca1d3ad3d978010a10a6b2e00e41e /meta/classes/sanity.bbclass
parentb5753796e7f8b52e40aed51f4d5c8d329a31265e (diff)
downloadopenembedded-core-897a9b1dddef385253b16ea7c193483e0ea679b6.tar.gz
openembedded-core-897a9b1dddef385253b16ea7c193483e0ea679b6.tar.bz2
openembedded-core-897a9b1dddef385253b16ea7c193483e0ea679b6.zip
classes/sanity: remove broken TARGET_ARCH check
The variable name has been typo'd as TARGE_ARCH since it was introduced some time ago, so the check has never worked. Fixing the typo shows that the test is not quite functional, so let's just remove it: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-October/010613.html Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index df4cd0bf28..b58e23fe69 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -248,10 +248,6 @@ def check_sanity_validmachine(sanity_data):
if sanity_data.getVar('TUNE_ARCH', True) == 'INVALID':
messages = messages + 'TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n'
- # Check TARGET_ARCH is set correctly
- if sanity_data.getVar('TARGE_ARCH', False) == '${TUNE_ARCH}':
- messages = messages + 'TARGET_ARCH is being overwritten, likely by your MACHINE configuration files.\nPlease use a valid tune configuration file which should set this correctly automatically\nand avoid setting this in the machine configuration. See the OE-Core mailing list for more information.\n'
-
# Check TARGET_OS is set
if sanity_data.getVar('TARGET_OS', True) == 'INVALID':
messages = messages + 'Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.\n'