mirror of
https://git.yoctoproject.org/poky
synced 2026-07-26 07:07:08 +00:00
cross-canadian/gettext: Drop unneeded nativesdk-gettext dependency
In line with the other gettext cleanups, drop the nativesdk-gettext dependency as it isn't needed (similarly to the previous target gettext dependencies). This then means we can drop DEPENDS_GETTEXT as there are no other users. (From OE-Core rev: c43c054cb778e0c5c082996cd6e6c45f5fc9e1bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -3,7 +3,7 @@ def gettext_dependencies(d):
|
||||
return ""
|
||||
if d.getVar('USE_NLS') == 'no':
|
||||
return "gettext-minimal-native"
|
||||
return d.getVar('DEPENDS_GETTEXT', False)
|
||||
return "gettext-native"
|
||||
|
||||
def gettext_oeconf(d):
|
||||
if d.getVar('USE_NLS') == 'no':
|
||||
@@ -13,8 +13,6 @@ def gettext_oeconf(d):
|
||||
return '--disable-nls'
|
||||
return "--enable-nls"
|
||||
|
||||
DEPENDS_GETTEXT ??= "gettext-native"
|
||||
|
||||
BASEDEPENDS_append = " ${@gettext_dependencies(d)}"
|
||||
EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user