Hi List,

It seems that the dietlib c project does not deal with anything having the mips64 name in it, it only likes plain "mips" It is strange that they support a ppc64 in their build sub directories, but not a mips64. so, if we are mips64, strip our name down to mips, and continue with the build.

Jan

===================================================================
--- dietlibc.conf       (revision 34043)
+++ dietlibc.conf       (working copy)
@@ -91,7 +91,6 @@

cpu="`echo $arch | arch2uname | sed -e s/sh.$/sh/`"
hostcpu="`/bin/uname -m | uname2arch | arch2uname`"
-
toolsbin=$base/build/$SDECFG_ID/TOOLCHAIN/$toolsdir/diet-bin

if [ "$SDECFG_DIETLIBC_DYN" = 1 ]; then
@@ -131,6 +130,10 @@

       dietarch=$cpu
       [[ $archprefix == mipsel* ]] && dietarch='mipsel'
+       # divert mips64 into "mips eb" code path
+       [[ $archprefix == mips64-* ]] && dietarch='mips' && cpu='mips'
+       # divert mips64el into "mips el" code path
+       [[ $archprefix == mips64el* ]] && dietarch='mipsel' && cpu='mipsel'

       if atstage native; then
               # dietlibc uses uname - so we always need to set MYARCH



----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to