patch-tools_depends_build-aux_config_sub 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. --- xbmc-imx6-13.2.orig/tools/depends/build-aux/config.sub 2014-09-02 13:26:20.000000000 +0200
  2. +++ xbmc-imx6-13.2/tools/depends/build-aux/config.sub 2014-08-18 15:18:32.461397057 +0200
  3. @@ -1,38 +1,31 @@
  4. #! /bin/sh
  5. # Configuration validation subroutine script.
  6. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  7. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
  8. -# 2011, 2012 Free Software Foundation, Inc.
  9. +# Copyright 1992-2014 Free Software Foundation, Inc.
  10. -timestamp='2012-01-01'
  11. +timestamp='2014-01-01'
  12. -# This file is (in principle) common to ALL GNU software.
  13. -# The presence of a machine in this file suggests that SOME GNU software
  14. -# can handle that machine. It does not imply ALL GNU software can.
  15. -#
  16. -# This file is free software; you can redistribute it and/or modify
  17. -# it under the terms of the GNU General Public License as published by
  18. -# the Free Software Foundation; either version 2 of the License, or
  19. +# This file is free software; you can redistribute it and/or modify it
  20. +# under the terms of the GNU General Public License as published by
  21. +# the Free Software Foundation; either version 3 of the License, or
  22. # (at your option) any later version.
  23. #
  24. -# This program is distributed in the hope that it will be useful,
  25. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. -# GNU General Public License for more details.
  28. +# This program is distributed in the hope that it will be useful, but
  29. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  30. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  31. +# General Public License for more details.
  32. #
  33. # You should have received a copy of the GNU General Public License
  34. -# along with this program; if not, write to the Free Software
  35. -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
  36. -# 02110-1301, USA.
  37. +# along with this program; if not, see <http://www.gnu.org/licenses/>.
  38. #
  39. # As a special exception to the GNU General Public License, if you
  40. # distribute this file as part of a program that contains a
  41. # configuration script generated by Autoconf, you may include it under
  42. -# the same distribution terms that you use for the rest of that program.
  43. +# the same distribution terms that you use for the rest of that
  44. +# program. This Exception is an additional permission under section 7
  45. +# of the GNU General Public License, version 3 ("GPLv3").
  46. -# Please send patches to <config-patches@gnu.org>. Submit a context
  47. -# diff and a properly formatted GNU ChangeLog entry.
  48. +# Please send patches with a ChangeLog entry to config-patches@gnu.org.
  49. #
  50. # Configuration subroutine to validate and canonicalize a configuration type.
  51. # Supply the specified configuration type as an argument.
  52. @@ -75,9 +68,7 @@ Report bugs and patches to <config-patch
  53. version="\
  54. GNU config.sub ($timestamp)
  55. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
  56. -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
  57. -Free Software Foundation, Inc.
  58. +Copyright 1992-2014 Free Software Foundation, Inc.
  59. This is free software; see the source for copying conditions. There is NO
  60. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
  61. @@ -125,13 +116,17 @@ esac
  62. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
  63. case $maybe_os in
  64. nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
  65. - linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  66. + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
  67. knetbsd*-gnu* | netbsd*-gnu* | \
  68. kopensolaris*-gnu* | \
  69. storm-chaos* | os2-emx* | rtmk-nova*)
  70. os=-$maybe_os
  71. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  72. ;;
  73. + android-linux)
  74. + os=-linux-android
  75. + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
  76. + ;;
  77. *)
  78. basic_machine=`echo $1 | sed 's/-[^-]*$//'`
  79. if [ $basic_machine != $1 ]
  80. @@ -154,7 +149,7 @@ case $os in
  81. -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
  82. -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
  83. -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
  84. - -apple | -axis | -knuth | -cray | -microblaze)
  85. + -apple | -axis | -knuth | -cray | -microblaze*)
  86. os=
  87. basic_machine=$1
  88. ;;
  89. @@ -223,6 +218,12 @@ case $os in
  90. -isc*)
  91. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
  92. ;;
  93. + -lynx*178)
  94. + os=-lynxos178
  95. + ;;
  96. + -lynx*5)
  97. + os=-lynxos5
  98. + ;;
  99. -lynx*)
  100. os=-lynxos
  101. ;;
  102. @@ -247,13 +248,16 @@ case $basic_machine in
  103. # Some are omitted here because they have special meanings below.
  104. 1750a | 580 \
  105. | a29k \
  106. + | aarch64 | aarch64_be \
  107. | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
  108. | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
  109. | am33_2.0 \
  110. - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  111. - | be32 | be64 \
  112. + | arc | arceb \
  113. + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
  114. + | avr | avr32 \
  115. + | be32 | be64 \
  116. | bfin \
  117. - | c4x | clipper \
  118. + | c4x | c8051 | clipper \
  119. | d10v | d30v | dlx | dsp16xx \
  120. | epiphany \
  121. | fido | fr30 | frv \
  122. @@ -261,10 +265,11 @@ case $basic_machine in
  123. | hexagon \
  124. | i370 | i860 | i960 | ia64 \
  125. | ip2k | iq2000 \
  126. + | k1om \
  127. | le32 | le64 \
  128. | lm32 \
  129. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  130. - | maxq | mb | microblaze | mcore | mep | metag \
  131. + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
  132. | mips | mipsbe | mipseb | mipsel | mipsle \
  133. | mips16 \
  134. | mips64 | mips64el \
  135. @@ -282,16 +287,17 @@ case $basic_machine in
  136. | mipsisa64r2 | mipsisa64r2el \
  137. | mipsisa64sb1 | mipsisa64sb1el \
  138. | mipsisa64sr71k | mipsisa64sr71kel \
  139. + | mipsr5900 | mipsr5900el \
  140. | mipstx39 | mipstx39el \
  141. | mn10200 | mn10300 \
  142. | moxie \
  143. | mt \
  144. | msp430 \
  145. | nds32 | nds32le | nds32be \
  146. - | nios | nios2 \
  147. + | nios | nios2 | nios2eb | nios2el \
  148. | ns16k | ns32k \
  149. | open8 \
  150. - | or32 \
  151. + | or1k | or32 \
  152. | pdp10 | pdp11 | pj | pjl \
  153. | powerpc | powerpc64 | powerpc64le | powerpcle \
  154. | pyramid \
  155. @@ -319,7 +325,7 @@ case $basic_machine in
  156. c6x)
  157. basic_machine=tic6x-unknown
  158. ;;
  159. - m6811 | m68hc11 | m6812 | m68hc12 | picochip)
  160. + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
  161. basic_machine=$basic_machine-unknown
  162. os=-none
  163. ;;
  164. @@ -332,7 +338,10 @@ case $basic_machine in
  165. strongarm | thumb | xscale)
  166. basic_machine=arm-unknown
  167. ;;
  168. -
  169. + xgate)
  170. + basic_machine=$basic_machine-unknown
  171. + os=-none
  172. + ;;
  173. xscaleeb)
  174. basic_machine=armeb-unknown
  175. ;;
  176. @@ -355,15 +364,16 @@ case $basic_machine in
  177. # Recognize the basic CPU types with company name.
  178. 580-* \
  179. | a29k-* \
  180. + | aarch64-* | aarch64_be-* \
  181. | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
  182. | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
  183. - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
  184. + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
  185. | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
  186. | avr-* | avr32-* \
  187. | be32-* | be64-* \
  188. | bfin-* | bs2000-* \
  189. | c[123]* | c30-* | [cjt]90-* | c4x-* \
  190. - | clipper-* | craynv-* | cydra-* \
  191. + | c8051-* | clipper-* | craynv-* | cydra-* \
  192. | d10v-* | d30v-* | dlx-* \
  193. | elxsi-* \
  194. | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
  195. @@ -372,11 +382,13 @@ case $basic_machine in
  196. | hexagon-* \
  197. | i*86-* | i860-* | i960-* | ia64-* \
  198. | ip2k-* | iq2000-* \
  199. + | k1om-* \
  200. | le32-* | le64-* \
  201. | lm32-* \
  202. | m32c-* | m32r-* | m32rle-* \
  203. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  204. - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
  205. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  206. + | microblaze-* | microblazeel-* \
  207. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  208. | mips16-* \
  209. | mips64-* | mips64el-* \
  210. @@ -394,12 +406,13 @@ case $basic_machine in
  211. | mipsisa64r2-* | mipsisa64r2el-* \
  212. | mipsisa64sb1-* | mipsisa64sb1el-* \
  213. | mipsisa64sr71k-* | mipsisa64sr71kel-* \
  214. + | mipsr5900-* | mipsr5900el-* \
  215. | mipstx39-* | mipstx39el-* \
  216. | mmix-* \
  217. | mt-* \
  218. | msp430-* \
  219. | nds32-* | nds32le-* | nds32be-* \
  220. - | nios-* | nios2-* \
  221. + | nios-* | nios2-* | nios2eb-* | nios2el-* \
  222. | none-* | np1-* | ns16k-* | ns32k-* \
  223. | open8-* \
  224. | orion-* \
  225. @@ -775,11 +788,15 @@ case $basic_machine in
  226. basic_machine=ns32k-utek
  227. os=-sysv
  228. ;;
  229. - microblaze)
  230. + microblaze*)
  231. basic_machine=microblaze-xilinx
  232. ;;
  233. + mingw64)
  234. + basic_machine=x86_64-pc
  235. + os=-mingw64
  236. + ;;
  237. mingw32)
  238. - basic_machine=i386-pc
  239. + basic_machine=i686-pc
  240. os=-mingw32
  241. ;;
  242. mingw32ce)
  243. @@ -815,7 +832,7 @@ case $basic_machine in
  244. basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
  245. ;;
  246. msys)
  247. - basic_machine=i386-pc
  248. + basic_machine=i686-pc
  249. os=-msys
  250. ;;
  251. mvs)
  252. @@ -1006,7 +1023,11 @@ case $basic_machine in
  253. basic_machine=i586-unknown
  254. os=-pw32
  255. ;;
  256. - rdos)
  257. + rdos | rdos64)
  258. + basic_machine=x86_64-pc
  259. + os=-rdos
  260. + ;;
  261. + rdos32)
  262. basic_machine=i386-pc
  263. os=-rdos
  264. ;;
  265. @@ -1333,21 +1354,21 @@ case $os in
  266. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  267. | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  268. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
  269. - | -sym* | -kopensolaris* \
  270. + | -sym* | -kopensolaris* | -plan9* \
  271. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  272. | -aos* | -aros* \
  273. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  274. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  275. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  276. - | -openbsd* | -solidbsd* \
  277. + | -bitrig* | -openbsd* | -solidbsd* \
  278. | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
  279. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  280. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  281. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  282. | -chorusos* | -chorusrdb* | -cegcc* \
  283. | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  284. - | -mingw32* | -linux-gnu* | -linux-android* \
  285. - | -linux-newlib* | -linux-uclibc* \
  286. + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
  287. + | -linux-newlib* | -linux-musl* | -linux-uclibc* \
  288. | -uxpv* | -beos* | -mpeix* | -udk* \
  289. | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
  290. | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
  291. @@ -1479,9 +1500,6 @@ case $os in
  292. -aros*)
  293. os=-aros
  294. ;;
  295. - -kaos*)
  296. - os=-kaos
  297. - ;;
  298. -zvmoe)
  299. os=-zvmoe
  300. ;;
  301. @@ -1530,6 +1548,12 @@ case $basic_machine in
  302. c4x-* | tic4x-*)
  303. os=-coff
  304. ;;
  305. + c8051-*)
  306. + os=-elf
  307. + ;;
  308. + hexagon-*)
  309. + os=-elf
  310. + ;;
  311. tic54x-*)
  312. os=-coff
  313. ;;
  314. @@ -1570,6 +1594,9 @@ case $basic_machine in
  315. mips*-*)
  316. os=-elf
  317. ;;
  318. + or1k-*)
  319. + os=-elf
  320. + ;;
  321. or32-*)
  322. os=-coff
  323. ;;