summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-05 21:10:47 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-05 21:10:47 +0000
commitc37037df6580a4a00919310da29a755acbfed585 (patch)
tree1602e53ef2c2061f8bc2bc87164cdd5ac11e2078
parentf3092747b4afa7f0d2e929913d3f6bbb7e734ebd (diff)
downloadpoky-c37037df6580a4a00919310da29a755acbfed585.tar.gz
gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/cross.bbclass2
-rw-r--r--meta/classes/gettext.bbclass4
-rw-r--r--meta/classes/native.bbclass2
3 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index e38d53ced9..4e78a11f2d 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -25,6 +25,8 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}"
25 25
26TOOLCHAIN_OPTIONS = "" 26TOOLCHAIN_OPTIONS = ""
27 27
28DEPENDS_GETTEXT = "gettext-native"
29
28# Path mangling needed by the cross packaging 30# Path mangling needed by the cross packaging
29# Note that we use := here to ensure that libdir and includedir are 31# Note that we use := here to ensure that libdir and includedir are
30# target paths, not CROSS_DIR paths. 32# target paths, not CROSS_DIR paths.
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass
index 0b69fa9392..a40e74f819 100644
--- a/meta/classes/gettext.bbclass
+++ b/meta/classes/gettext.bbclass
@@ -11,5 +11,7 @@ python () {
11 gettext_after_parse(d) 11 gettext_after_parse(d)
12} 12}
13 13
14DEPENDS =+ "gettext-native" 14DEPENDS_GETTEXT = "gettext gettext-native"
15
16DEPENDS =+ "${DEPENDS_GETTEXT}"
15EXTRA_OECONF += "--enable-nls" 17EXTRA_OECONF += "--enable-nls"
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index a5f66560d7..01f886294e 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -35,6 +35,8 @@ LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE} "
35STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}" 35STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}"
36STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}" 36STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}"
37 37
38DEPENDS_GETTEXT = "gettext-native"
39
38# Don't use site files for native builds 40# Don't use site files for native builds
39export CONFIG_SITE = "" 41export CONFIG_SITE = ""
40 42