X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=d146852165316f00abe75dda3d871b5ee0b5dffe;hb=e1ba5a0d68ff8d4c8e688cd6a951aea1d56b1b61;hp=47ed7b5fb0fe4c81e59a3dafb2e85b732d5cfef2;hpb=8a19c6876412b8ad1cf729297c2a373d63a0d0ec;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index 47ed7b5..d146852 100644 --- a/make-config.sh +++ b/make-config.sh @@ -36,6 +36,8 @@ case `uname -m` in sun*) guessed_sbcl_arch=sparc ;; ppc) guessed_sbcl_arch=ppc ;; parisc) guessed_sbcl_arch=hppa ;; + mips) guessed_sbcl_arch=mips ;; + mipsel) guessed_sbcl_arch=mips; little_endian=yes ;; *) # If we're not building on a supported target architecture, we # we have no guess, but it's not an error yet, since maybe @@ -62,6 +64,8 @@ printf ":%s" "$sbcl_arch" >> $ltf # similar with :STACK-GROWS-FOOWARD, too. -- WHN 2002-03-03 if [ "$sbcl_arch" = "x86" ] ; then printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf +elif [ "$sbcl_arch" = "mips" -a "$little_endian" = "yes" ] ; then + printf ' :little-endian' >> $ltf else # Nothing need be done in this case, but sh syntax wants a placeholder. echo > /dev/null