summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-14 11:25:42 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-14 11:25:42 +0000
commit9604ad0ddf0db9f50cbde116bc434be19c8b7b67 (patch)
tree5df39616ab6ab3fc884746a9c69eebcd2382ded4 /meta
parent5afaf16714d94cc5f8d10c2fc0f54c72cc2c78df (diff)
downloadpoky-9604ad0ddf0db9f50cbde116bc434be19c8b7b67.tar.gz
cross-canadian: Fix gettext issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cross-canadian.bbclass2
-rw-r--r--meta/classes/insane.bbclass2
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}"
32CXXFLAGS = "${BUILDSDK_CFLAGS}" 32CXXFLAGS = "${BUILDSDK_CFLAGS}"
33LDFLAGS = "${BUILDSDK_LDFLAGS}" 33LDFLAGS = "${BUILDSDK_LDFLAGS}"
34 34
35DEPENDS_GETTEXT = "gettext-native gettext-nativesdk"
36
35# Change to place files in SDKPATH 37# Change to place files in SDKPATH
36prefix = "${SDKPATH}" 38prefix = "${SDKPATH}"
37exec_prefix = "${SDKPATH}" 39exec_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)
503 if "gettext" not in bb.data.getVar('P', d, True): 503 if "gettext" not in bb.data.getVar('P', d, True):
504 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): 504 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):
505 gt = "gettext-native" 505 gt = "gettext-native"
506 else if bb.data.inherits_class('cross-canadian', d):
507 gt = "gettext-nativesdk"
506 else: 508 else:
507 gt = "gettext" 509 gt = "gettext"
508 deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") 510 deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "")