diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-03-20 15:21:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-22 16:30:27 +0000 |
commit | 0fdda5840452c7715ed775d5d18d9f850396f483 (patch) | |
tree | 334f7fa74f7dbe6ad714ea28aab0616cdc62f387 /meta/classes/package_ipk.bbclass | |
parent | e9485c7077e5a9508371bbbbebdaaf1e9685da61 (diff) | |
download | openembedded-core-0fdda5840452c7715ed775d5d18d9f850396f483.tar.gz openembedded-core-0fdda5840452c7715ed775d5d18d9f850396f483.tar.bz2 openembedded-core-0fdda5840452c7715ed775d5d18d9f850396f483.zip |
package_{ipk, deb, rpm}: drop the TARGET_OS conditional
The tclibc file for uclibc already empties IMAGE_LINGUAS, so there's no point
to this conditional as far as I can tell, and it can cause issues for certain
values of TARGET_OS.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 094ba09fcf..d003ae7e81 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -90,14 +90,9 @@ package_install_internal_ipk() { opkg-cl ${ipkg_args} update - # Uclibc builds don't provide this stuff... - if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then - if [ ! -z "${package_linguas}" ]; then - for i in ${package_linguas}; do - opkg-cl ${ipkg_args} install $i - done - fi - fi + for i in ${package_linguas}; do + opkg-cl ${ipkg_args} install $i + done if [ ! -z "${package_to_install}" ]; then opkg-cl ${ipkg_args} install ${package_to_install} |