diff options
-rw-r--r-- | meta/classes/insane.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 4fc3c06c64..890e865a8f 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -325,8 +325,8 @@ def package_qa_check_arch(path,name,d, elf, messages): | |||
325 | if not elf: | 325 | if not elf: |
326 | return | 326 | return |
327 | 327 | ||
328 | target_os = d.getVar('TARGET_OS') | 328 | target_os = d.getVar('HOST_OS') |
329 | target_arch = d.getVar('TARGET_ARCH') | 329 | target_arch = d.getVar('HOST_ARCH') |
330 | provides = d.getVar('PROVIDES') | 330 | provides = d.getVar('PROVIDES') |
331 | bpn = d.getVar('BPN') | 331 | bpn = d.getVar('BPN') |
332 | 332 | ||
@@ -691,8 +691,8 @@ def prepopulate_objdump_p(elf, d): | |||
691 | # Walk over all files in a directory and call func | 691 | # Walk over all files in a directory and call func |
692 | def package_qa_walk(warnfuncs, errorfuncs, package, d): | 692 | def package_qa_walk(warnfuncs, errorfuncs, package, d): |
693 | #if this will throw an exception, then fix the dict above | 693 | #if this will throw an exception, then fix the dict above |
694 | target_os = d.getVar('TARGET_OS') | 694 | target_os = d.getVar('HOST_OS') |
695 | target_arch = d.getVar('TARGET_ARCH') | 695 | target_arch = d.getVar('HOST_ARCH') |
696 | 696 | ||
697 | warnings = {} | 697 | warnings = {} |
698 | errors = {} | 698 | errors = {} |