From f6ab601698faf915c3df875a139695e8686de45a Mon Sep 17 00:00:00 2001 From: John Bowler Date: Thu, 6 Oct 2005 06:42:52 +0000 Subject: ucslugc: fix endinaness of le jffs2, add glibc to packages --- conf/distro/ucslugc-packages.conf | 1 + conf/distro/ucslugc.conf | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3