diff options
| -rw-r--r-- | meta/classes/sanity.bbclass | 4 |
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): | |||
| 248 | if sanity_data.getVar('TUNE_ARCH', True) == 'INVALID': | 248 | if sanity_data.getVar('TUNE_ARCH', True) == 'INVALID': |
| 249 | messages = messages + 'TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n' | 249 | messages = messages + 'TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n' |
| 250 | 250 | ||
| 251 | # Check TARGET_ARCH is set correctly | ||
| 252 | if sanity_data.getVar('TARGE_ARCH', False) == '${TUNE_ARCH}': | ||
| 253 | 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' | ||
| 254 | |||
| 255 | # Check TARGET_OS is set | 251 | # Check TARGET_OS is set |
| 256 | if sanity_data.getVar('TARGET_OS', True) == 'INVALID': | 252 | if sanity_data.getVar('TARGET_OS', True) == 'INVALID': |
| 257 | messages = messages + 'Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.\n' | 253 | messages = messages + 'Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.\n' |
