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