| 1 | config GCC_DEFAULT_VERSION |
| 2 | bool |
| 3 | |
| 4 | config GCC_DEFAULT_VERSION_4_4_6 |
| 5 | select GCC_DEFAULT_VERSION |
| 6 | default y if (avr32 || ubicom32) |
| 7 | bool |
| 8 | |
| 9 | config GCC_DEFAULT_VERSION_4_5_LINARO |
| 10 | default y if !(GCC_DEFAULT_VERSION) |
| 11 | bool |
| 12 | |
| 13 | config GCC_DEFAULT_VERSION_4_6_LINARO |
| 14 | bool |
| 15 | |
| 16 | |
| 17 | config GCC_VERSION |
| 18 | string |
| 19 | default "4.4.6" if GCC_VERSION_4_4_6 |
| 20 | default "4.6.1" if GCC_VERSION_4_6_1 |
| 21 | default "4.5-linaro" if GCC_VERSION_4_5_LINARO |
| 22 | default "4.6-linaro" if GCC_VERSION_4_6_LINARO |
| 23 | default "llvm" if GCC_VERSION_LLVM |
| 24 | default "4.5-linaro" |
| 25 | |
| 26 | config GCC_VERSION_4_4 |
| 27 | bool |
| 28 | default y if GCC_VERSION_4_4_6 |
| 29 | |
| 30 | config GCC_VERSION_4_5 |
| 31 | bool |
| 32 | default y if GCC_VERSION_4_5_LINARO |
| 33 | |
| 34 | config GCC_VERSION_4_6 |
| 35 | bool |
| 36 | default y if (GCC_VERSION_4_6_1 || GCC_VERSION_4_6_LINARO) |
| 37 | |
| 38 | if !TOOLCHAINOPTS |
| 39 | |
| 40 | config GCC_VERSION_4_4_6 |
| 41 | default y if GCC_DEFAULT_VERSION_4_4_6 |
| 42 | bool |
| 43 | |
| 44 | config GCC_VERSION_4_5_LINARO |
| 45 | default y if GCC_DEFAULT_VERSION_4_5_LINARO |
| 46 | bool |
| 47 | |
| 48 | endif |
| 49 | |