summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-01 23:49:12 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-01 23:49:12 +0000
commit63b739f0fe03873402731f0cf9992551540c16df (patch)
treefa3f2ef3988648402d2bdacaa72aab73f29a2f77 /meta/classes/rootfs_ipk.bbclass
parent8d342dc0569fb4274b8ac9dfe40b1ce8543799f4 (diff)
downloadopenembedded-core-63b739f0fe03873402731f0cf9992551540c16df.tar.gz
openembedded-core-63b739f0fe03873402731f0cf9992551540c16df.tar.bz2
openembedded-core-63b739f0fe03873402731f0cf9992551540c16df.tar.xz
openembedded-core-63b739f0fe03873402731f0cf9992551540c16df.zip
classes: Sync various tweaks from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2643 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass14
1 files changed, 9 insertions, 5 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 3c9d03f9d..50df68c76 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -19,11 +19,15 @@ fakeroot rootfs_ipk_do_rootfs () {
mkdir -p ${T}
ipkg-cl ${IPKG_ARGS} update
- if [ ! -z "${LINGUAS_INSTALL}" ]; then
- ipkg-cl ${IPKG_ARGS} install glibc-localedata-i18n
- for i in ${LINGUAS_INSTALL}; do
- ipkg-cl ${IPKG_ARGS} install $i
- done
+
+ # Uclibc builds don't provide this stuff...
+ if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
+ if [ ! -z "${LINGUAS_INSTALL}" ]; then
+ ipkg-cl ${IPKG_ARGS} install glibc-localedata-i18n
+ for i in ${LINGUAS_INSTALL}; do
+ ipkg-cl ${IPKG_ARGS} install $i
+ done
+ fi
fi
if [ ! -z "${PACKAGE_INSTALL}" ]; then
ipkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}