diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-14 11:25:42 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-14 11:25:42 +0000 |
commit | 9604ad0ddf0db9f50cbde116bc434be19c8b7b67 (patch) | |
tree | 5df39616ab6ab3fc884746a9c69eebcd2382ded4 /meta/classes | |
parent | 5afaf16714d94cc5f8d10c2fc0f54c72cc2c78df (diff) | |
download | openembedded-core-9604ad0ddf0db9f50cbde116bc434be19c8b7b67.tar.gz openembedded-core-9604ad0ddf0db9f50cbde116bc434be19c8b7b67.tar.bz2 openembedded-core-9604ad0ddf0db9f50cbde116bc434be19c8b7b67.zip |
cross-canadian: Fix gettext issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 08dc630edd..1cbc1fb9b6 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -32,6 +32,8 @@ CFLAGS = "${BUILDSDK_CFLAGS}" CXXFLAGS = "${BUILDSDK_CFLAGS}" LDFLAGS = "${BUILDSDK_LDFLAGS}" +DEPENDS_GETTEXT = "gettext-native gettext-nativesdk" + # Change to place files in SDKPATH prefix = "${SDKPATH}" exec_prefix = "${SDKPATH}" diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 5b4df19bcd..47ad9b49e3 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -503,6 +503,8 @@ Rerun configure task after fixing this. The path was '%s'""" % root) if "gettext" not in bb.data.getVar('P', d, True): if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d): gt = "gettext-native" + else if bb.data.inherits_class('cross-canadian', d): + gt = "gettext-nativesdk" else: gt = "gettext" deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") |