summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/ucslugc-packages.conf1
-rw-r--r--conf/distro/ucslugc.conf3
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/distro/ucslugc-packages.conf b/conf/distro/ucslugc-packages.conf
index a3cee488b5..3d58f51409 100644
--- a/conf/distro/ucslugc-packages.conf
+++ b/conf/distro/ucslugc-packages.conf
@@ -46,6 +46,7 @@ ${PKGDIR}/packages/gdbm/*.bb \
${PKGDIR}/packages/gettext/*.bb \
${PKGDIR}/packages/glib-1.2/*.bb \
${PKGDIR}/packages/glib-2.0/*.bb \
+${PKGDIR}/packages/glibc/*.bb \
${PKGDIR}/packages/gnu-config/*.bb \
${PKGDIR}/packages/gphoto2/*.bb \
${PKGDIR}/packages/grep/*.bb \
diff --git a/conf/distro/ucslugc.conf b/conf/distro/ucslugc.conf
index fee0c0f9af..e155df4b30 100644
--- a/conf/distro/ucslugc.conf
+++ b/conf/distro/ucslugc.conf
@@ -79,9 +79,10 @@ FEED_URIS_append += "native##http://ipkg.nslu2-linux.org/feeds/ucslugc/native/${
# IMAGE BUILD OPTIONS
# -------------------
IMAGE_FSTYPES = "jffs2"
+IMAGE_SEX = "${@['little-endian', 'big-endian'][bb.data.getVar('UCSLUGC_ARCH_TYPE', d, 1) == 'b']}"
OPENSLUG_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-openslug.txt')}"
-EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${OPENSLUG_DEVICE_TABLE}"
+EXTRA_IMAGECMD_jffs2 = "--pad --${IMAGE_SEX} --eraseblock=0x20000 -D ${OPENSLUG_DEVICE_TABLE}"
# CMDLINE* macros define the kernel command line. CMDLINE_DEBUG is provided
# to enable/disable debugging in the distro. Here noirqdebug is used to