[BACK]Return to build.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/build.sh between version 1.157 and 1.158

version 1.157, 2007/01/17 03:43:18 version 1.158, 2007/01/27 11:27:33
Line 239  initdefaults()
Line 239  initdefaults()
   
 getarch()  getarch()
 {  {
           # Translate some MACHINE name aliases (known only to build.sh)
           # into proper MACHINE and MACHINE_ARCH names.  Save the alias
           # name in makewrappermachine.
           #
           case "${MACHINE}" in
   
           evbarm-e[bl])
                   makewrappermachine=${MACHINE}
                   # MACHINE_ARCH is "arm" or "armeb", not "armel"
                   MACHINE_ARCH=arm${MACHINE##*-}
                   MACHINE_ARCH=${MACHINE_ARCH%el}
                   MACHINE=${MACHINE%-e[bl]}
                   ;;
   
           evbmips-e[bl]|sbmips-e[bl])
                   makewrappermachine=${MACHINE}
                   MACHINE_ARCH=mips${MACHINE##*-}
                   MACHINE=${MACHINE%-e[bl]}
                   ;;
   
           evbmips64-e[bl]|sbmips64-e[bl])
                   makewrappermachine=${MACHINE}
                   MACHINE_ARCH=mips64${MACHINE##*-}
                   MACHINE=${MACHINE%64-e[bl]}
                   ;;
   
           evbsh3-e[bl])
                   makewrappermachine=${MACHINE}
                   MACHINE_ARCH=sh3${MACHINE##*-}
                   MACHINE=${MACHINE%-e[bl]}
                   ;;
   
           esac
   
         # Translate a MACHINE into a default MACHINE_ARCH.          # Translate a MACHINE into a default MACHINE_ARCH.
         #          #
         case "${MACHINE}" in          case "${MACHINE}" in
Line 259  getarch()
Line 293  getarch()
                 MACHINE_ARCH=m68k                  MACHINE_ARCH=m68k
                 ;;                  ;;
   
         evbmips-e[bl]|sbmips-e[bl])  
                 MACHINE_ARCH=mips${MACHINE##*-}  
                 makewrappermachine=${MACHINE}  
                 MACHINE=${MACHINE%-e[bl]}  
                 ;;  
   
         evbmips64-e[bl]|sbmips64-e[bl])  
                 MACHINE_ARCH=mips64${MACHINE##*-}  
                 makewrappermachine=${MACHINE}  
                 MACHINE=${MACHINE%64-e[bl]}  
                 ;;  
   
         evbmips|sbmips)         # no default MACHINE_ARCH          evbmips|sbmips)         # no default MACHINE_ARCH
                 ;;                  ;;
   
Line 290  getarch()
Line 312  getarch()
                 MACHINE_ARCH=powerpc                  MACHINE_ARCH=powerpc
                 ;;                  ;;
   
         evbsh3-e[bl])  
                 MACHINE_ARCH=sh3${MACHINE##*-}  
                 makewrappermachine=${MACHINE}  
                 MACHINE=${MACHINE%-e[bl]}  
                 ;;  
   
         evbsh3)                 # no default MACHINE_ARCH          evbsh3)                 # no default MACHINE_ARCH
                 ;;                  ;;
   

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158

CVSweb <webmaster@jp.NetBSD.org>