diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-05 21:10:47 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-05 21:10:47 +0000 |
commit | c37037df6580a4a00919310da29a755acbfed585 (patch) | |
tree | 1602e53ef2c2061f8bc2bc87164cdd5ac11e2078 /meta/classes | |
parent | f3092747b4afa7f0d2e929913d3f6bbb7e734ebd (diff) | |
download | poky-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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cross.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/gettext.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 2 |
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 | ||
26 | TOOLCHAIN_OPTIONS = "" | 26 | TOOLCHAIN_OPTIONS = "" |
27 | 27 | ||
28 | DEPENDS_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 | ||
14 | DEPENDS =+ "gettext-native" | 14 | DEPENDS_GETTEXT = "gettext gettext-native" |
15 | |||
16 | DEPENDS =+ "${DEPENDS_GETTEXT}" | ||
15 | EXTRA_OECONF += "--enable-nls" | 17 | EXTRA_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} " | |||
35 | STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}" | 35 | STAGING_BINDIR = "${STAGING_BINDIR_NATIVE}" |
36 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}" | 36 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR_NATIVE}" |
37 | 37 | ||
38 | DEPENDS_GETTEXT = "gettext-native" | ||
39 | |||
38 | # Don't use site files for native builds | 40 | # Don't use site files for native builds |
39 | export CONFIG_SITE = "" | 41 | export CONFIG_SITE = "" |
40 | 42 | ||