mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
cross-canadian: Fix gettext issues
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -32,6 +32,8 @@ CFLAGS = "${BUILDSDK_CFLAGS}"
|
|||||||
CXXFLAGS = "${BUILDSDK_CFLAGS}"
|
CXXFLAGS = "${BUILDSDK_CFLAGS}"
|
||||||
LDFLAGS = "${BUILDSDK_LDFLAGS}"
|
LDFLAGS = "${BUILDSDK_LDFLAGS}"
|
||||||
|
|
||||||
|
DEPENDS_GETTEXT = "gettext-native gettext-nativesdk"
|
||||||
|
|
||||||
# Change to place files in SDKPATH
|
# Change to place files in SDKPATH
|
||||||
prefix = "${SDKPATH}"
|
prefix = "${SDKPATH}"
|
||||||
exec_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 "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):
|
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"
|
gt = "gettext-native"
|
||||||
|
else if bb.data.inherits_class('cross-canadian', d):
|
||||||
|
gt = "gettext-nativesdk"
|
||||||
else:
|
else:
|
||||||
gt = "gettext"
|
gt = "gettext"
|
||||||
deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "")
|
deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "")
|
||||||
|
|||||||
Reference in New Issue
Block a user