summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-03-20 15:21:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-22 16:54:38 +0000
commitb10f2a74e42a73a284bcfb46db57202fc1ee9e49 (patch)
tree09abede3a19e9442ba388a5601a4419028277861 /meta/classes/package_ipk.bbclass
parent331c1f1fe55939d61679e1c8c163b93b2879e29d (diff)
downloadpoky-b10f2a74e42a73a284bcfb46db57202fc1ee9e49.tar.gz
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. (From OE-Core rev: 0fdda5840452c7715ed775d5d18d9f850396f483) 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.bbclass11
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() {
90 90
91 opkg-cl ${ipkg_args} update 91 opkg-cl ${ipkg_args} update
92 92
93 # Uclibc builds don't provide this stuff... 93 for i in ${package_linguas}; do
94 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then 94 opkg-cl ${ipkg_args} install $i
95 if [ ! -z "${package_linguas}" ]; then 95 done
96 for i in ${package_linguas}; do
97 opkg-cl ${ipkg_args} install $i
98 done
99 fi
100 fi
101 96
102 if [ ! -z "${package_to_install}" ]; then 97 if [ ! -z "${package_to_install}" ]; then
103 opkg-cl ${ipkg_args} install ${package_to_install} 98 opkg-cl ${ipkg_args} install ${package_to_install}