diff options
-rw-r--r-- | meta/classes/gettext.bbclass | 6 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5ee76..86b505b3d4 100644 --- a/meta/classes/gettext.bbclass +++ b/meta/classes/gettext.bbclass | |||
@@ -1,7 +1,7 @@ | |||
1 | def gettext_dependencies(d): | 1 | def gettext_dependencies(d): |
2 | if d.getVar('USE_NLS', True) == 'no': | 2 | if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross'): |
3 | return "" | 3 | return "" |
4 | if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): | 4 | if d.getVar('INHIBIT_DEFAULT_DEPS', True) and not oe.utils.inherits(d, 'cross-canadian'): |
5 | return "" | 5 | return "" |
6 | return d.getVar('DEPENDS_GETTEXT', False) | 6 | return d.getVar('DEPENDS_GETTEXT', False) |
7 | 7 | ||
@@ -14,4 +14,4 @@ def gettext_oeconf(d): | |||
14 | DEPENDS_GETTEXT = "virtual/gettext gettext-native" | 14 | DEPENDS_GETTEXT = "virtual/gettext gettext-native" |
15 | 15 | ||
16 | BASEDEPENDS =+ "${@gettext_dependencies(d)}" | 16 | BASEDEPENDS =+ "${@gettext_dependencies(d)}" |
17 | EXTRA_OECONF += "${@gettext_oeconf(d)}" | 17 | EXTRA_OECONF_append = " ${@gettext_oeconf(d)}" |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a2b36bdbef..4a1bfa168b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -395,7 +395,7 @@ export BUILD_NM = "${BUILD_PREFIX}nm" | |||
395 | 395 | ||
396 | export MAKE = "make" | 396 | export MAKE = "make" |
397 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 397 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
398 | 398 | EXTRA_OECONF = "" | |
399 | export LC_ALL = "C" | 399 | export LC_ALL = "C" |
400 | 400 | ||
401 | ################################################################## | 401 | ################################################################## |