Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(768)

Side by Side Diff: build_tools/config.sub

Issue 1399633002: Add emscripten support to config.sub (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@hello_emscripten
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build_tools/common.sh ('k') | build_tools/nacl-env.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script. 2 # Configuration validation subroutine script.
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 # 2011, 2012 Free Software Foundation, Inc. 5 # 2011, 2012 Free Software Foundation, Inc.
6 6
7 timestamp='2012-02-10' 7 timestamp='2012-02-10'
8 8
9 # This file is (in principle) common to ALL GNU software. 9 # This file is (in principle) common to ALL GNU software.
10 # The presence of a machine in this file suggests that SOME GNU software 10 # The presence of a machine in this file suggests that SOME GNU software
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 os=-msys 826 os=-msys
827 ;; 827 ;;
828 mvs) 828 mvs)
829 basic_machine=i370-ibm 829 basic_machine=i370-ibm
830 os=-mvs 830 os=-mvs
831 ;; 831 ;;
832 nacl) 832 nacl)
833 basic_machine=le32-unknown 833 basic_machine=le32-unknown
834 os=-nacl 834 os=-nacl
835 ;; 835 ;;
836 emscripten)
837 basic_machine=asmjs-unknown
838 os=-emscripten
839 ;;
836 ncr3000) 840 ncr3000)
837 basic_machine=i486-ncr 841 basic_machine=i486-ncr
838 os=-sysv4 842 os=-sysv4
839 ;; 843 ;;
840 netbsd386) 844 netbsd386)
841 basic_machine=i386-unknown 845 basic_machine=i386-unknown
842 os=-netbsd 846 os=-netbsd
843 ;; 847 ;;
844 netwinder) 848 netwinder)
845 basic_machine=armv4l-rebel 849 basic_machine=armv4l-rebel
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 os=-kaos 1494 os=-kaos
1491 ;; 1495 ;;
1492 -zvmoe) 1496 -zvmoe)
1493 os=-zvmoe 1497 os=-zvmoe
1494 ;; 1498 ;;
1495 -dicos*) 1499 -dicos*)
1496 os=-dicos 1500 os=-dicos
1497 ;; 1501 ;;
1498 -nacl*) 1502 -nacl*)
1499 ;; 1503 ;;
1504 -emscripten*)
1505 ;;
1500 -none) 1506 -none)
1501 ;; 1507 ;;
1502 *) 1508 *)
1503 # Get rid of the `-' at the beginning of $os. 1509 # Get rid of the `-' at the beginning of $os.
1504 os=`echo $os | sed 's/[^-]*-//'` 1510 os=`echo $os | sed 's/[^-]*-//'`
1505 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 1511 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1506 exit 1 1512 exit 1
1507 ;; 1513 ;;
1508 esac 1514 esac
1509 else 1515 else
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 1770
1765 echo $basic_machine$os 1771 echo $basic_machine$os
1766 exit 1772 exit
1767 1773
1768 # Local variables: 1774 # Local variables:
1769 # eval: (add-hook 'write-file-hooks 'time-stamp) 1775 # eval: (add-hook 'write-file-hooks 'time-stamp)
1770 # time-stamp-start: "timestamp='" 1776 # time-stamp-start: "timestamp='"
1771 # time-stamp-format: "%:y-%02m-%02d" 1777 # time-stamp-format: "%:y-%02m-%02d"
1772 # time-stamp-end: "'" 1778 # time-stamp-end: "'"
1773 # End: 1779 # End:
OLDNEW
« no previous file with comments | « build_tools/common.sh ('k') | build_tools/nacl-env.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698