cross-canadian: Fix gettext issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
5afaf16714
commit
9604ad0ddf
|
@ -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}"
|
||||
|
|
|
@ -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 "")
|
||||
|
|
Loading…
Reference in New Issue