summaryrefslogtreecommitdiff
path: root/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-28 15:57:07 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-28 15:57:07 +0000
commitf39547272713578e2bfaae3ec47d073b48a31563 (patch)
tree276cc974e6585639a82eddc45dc76ebb3c82fefa /classes/rootfs_ipk.bbclass
parent9a0bde6befaf560d1baf3adbf0488496daabd424 (diff)
parentedbeb005cd8711b6deef2c46d74b4057d2df0ed3 (diff)
merge of '266f6beb86630b70cfa55df7d2b557a677d187b0'
and '893542e48954804c96a716027237dc29c119d78b'
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r--classes/rootfs_ipk.bbclass24
1 files changed, 15 insertions, 9 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index 53b0162eac..9a58777ade 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -52,15 +52,21 @@ fakeroot rootfs_ipk_do_rootfs () {
fi
done
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
- fi
- if [ ! -z "${PACKAGE_INSTALL}" ]; then
- ipkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}
- fi
+
+ # 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}
+ fi
+
export D=${IMAGE_ROOTFS}
export OFFLINE_ROOT=${IMAGE_ROOTFS}