path: root/meta/classes/gettext.bbclass
diff options
authorAlexander Kanavin <>2017-08-29 14:10:53 +0300
committerRichard Purdie <>2017-08-29 12:23:04 +0100
commit1a7b843d575b290917d1e379c2ba106460988230 (patch)
tree2ccfd2e1978c9ee6e9500d1df2577ec77ec6f3a3 /meta/classes/gettext.bbclass
parent4713f8b2c4f2c74239d284adcf1e59e61aa66576 (diff)
gettext.bbclass: do not add virtual/gettext to DEPENDS
gettext has a notoriously slow configuration step, and so in my testing this greatly speeds up building core-image-minimal: from 21m36s to 19m2s (empty sstate and tmp, but pre-populated downloads). I have also built world, and core-image-sato to make sure it doesn't break or modify the build, and there is no difference whatsoever in packages and images content. Target gettext seems not to be used for anything. Also fix up insane.bbclass to remove the corresponding QA check. Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/classes/gettext.bbclass')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass
index 689ef55ed1..da68e63242 100644
--- a/meta/classes/gettext.bbclass
+++ b/meta/classes/gettext.bbclass
@@ -13,7 +13,7 @@ def gettext_oeconf(d):
return '--disable-nls'
return "--enable-nls"
-DEPENDS_GETTEXT ??= "virtual/gettext gettext-native"
+DEPENDS_GETTEXT ??= "gettext-native"
BASEDEPENDS_append = " ${@gettext_dependencies(d)}"
EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"