diff options
Diffstat (limited to 'meta/classes/allarch.bbclass')
-rw-r--r-- | meta/classes/allarch.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 4bc99272c4..2fea7c04df 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass | |||
@@ -11,7 +11,7 @@ PACKAGE_ARCH = "all" | |||
11 | python () { | 11 | python () { |
12 | # Allow this class to be included but overridden - only set | 12 | # Allow this class to be included but overridden - only set |
13 | # the values if we're still "all" package arch. | 13 | # the values if we're still "all" package arch. |
14 | if d.getVar("PACKAGE_ARCH") == "all": | 14 | if d.getVar("PACKAGE_ARCH", True) == "all": |
15 | # No need for virtual/libc or a cross compiler | 15 | # No need for virtual/libc or a cross compiler |
16 | d.setVar("INHIBIT_DEFAULT_DEPS","1") | 16 | d.setVar("INHIBIT_DEFAULT_DEPS","1") |
17 | 17 | ||