1config BR2_POWERPC_CPU_HAS_ALTIVEC 2 bool 3 4config BR2_POWERPC_CPU_HAS_VSX 5 bool 6 select BR2_POWERPC_CPU_HAS_ALTIVEC 7 8config BR2_POWERPC_CPU_HAS_SPE 9 bool 10 11choice 12 prompt "Target Architecture Variant" 13 default BR2_generic_powerpc 14 help 15 Specific CPU variant to use 16config BR2_generic_powerpc 17 bool "generic" 18 # No C library supports this variant on ppc64le 19 depends on BR2_powerpc || BR2_powerpc64 20config BR2_powerpc_401 21 bool "401" 22 depends on BR2_powerpc 23config BR2_powerpc_403 24 bool "403" 25 depends on BR2_powerpc 26config BR2_powerpc_405 27 bool "405" 28 depends on BR2_powerpc 29config BR2_powerpc_405fp 30 bool "405 with FPU" 31 depends on BR2_powerpc 32config BR2_powerpc_440 33 bool "440" 34 depends on BR2_powerpc 35config BR2_powerpc_440fp 36 bool "440 with FPU" 37 depends on BR2_powerpc 38config BR2_powerpc_464 39 bool "464" 40 depends on BR2_powerpc 41config BR2_powerpc_464fp 42 bool "464 with FPU" 43 depends on BR2_powerpc 44config BR2_powerpc_476 45 bool "476" 46 depends on BR2_powerpc 47config BR2_powerpc_476fp 48 bool "476 with FPU" 49 depends on BR2_powerpc 50config BR2_powerpc_505 51 bool "505" 52 depends on BR2_powerpc 53config BR2_powerpc_602 54 bool "602" 55 depends on BR2_powerpc 56config BR2_powerpc_603 57 bool "603" 58 depends on BR2_powerpc 59config BR2_powerpc_603e 60 bool "603e" 61 depends on BR2_powerpc 62config BR2_powerpc_604 63 bool "604" 64 depends on BR2_powerpc 65config BR2_powerpc_604e 66 bool "604e" 67 depends on BR2_powerpc 68config BR2_powerpc_620 69 bool "620" 70 depends on BR2_powerpc || BR2_powerpc64 71config BR2_powerpc_630 72 bool "630" 73 depends on BR2_powerpc || BR2_powerpc64 74config BR2_powerpc_740 75 bool "740" 76 depends on BR2_powerpc 77config BR2_powerpc_7400 78 bool "7400" 79 depends on BR2_powerpc 80 select BR2_POWERPC_CPU_HAS_ALTIVEC 81config BR2_powerpc_7450 82 bool "7450" 83 depends on BR2_powerpc 84 select BR2_POWERPC_CPU_HAS_ALTIVEC 85config BR2_powerpc_750 86 bool "750" 87 depends on BR2_powerpc 88config BR2_powerpc_821 89 bool "821" 90 depends on BR2_powerpc 91config BR2_powerpc_823 92 bool "823" 93 depends on BR2_powerpc 94config BR2_powerpc_860 95 bool "860" 96 depends on BR2_powerpc 97config BR2_powerpc_970 98 bool "970" 99 depends on BR2_powerpc || BR2_powerpc64 100 select BR2_POWERPC_CPU_HAS_ALTIVEC 101config BR2_powerpc_8540 102 bool "8540 / e500v1" 103 depends on BR2_powerpc 104 select BR2_POWERPC_CPU_HAS_SPE 105config BR2_powerpc_8548 106 bool "8548 / e500v2" 107 depends on BR2_powerpc 108 select BR2_POWERPC_CPU_HAS_SPE 109config BR2_powerpc_e300c2 110 bool "e300c2" 111 depends on BR2_powerpc 112config BR2_powerpc_e300c3 113 bool "e300c3" 114 depends on BR2_powerpc 115config BR2_powerpc_e500mc 116 bool "e500mc" 117 depends on BR2_powerpc 118config BR2_powerpc_e5500 119 bool "e5500" 120 depends on BR2_powerpc || BR2_powerpc64 121config BR2_powerpc_e6500 122 bool "e6500" 123 depends on BR2_powerpc || BR2_powerpc64 124 select BR2_POWERPC_CPU_HAS_ALTIVEC 125config BR2_powerpc_power4 126 bool "power4" 127 depends on BR2_powerpc || BR2_powerpc64 128config BR2_powerpc_power5 129 bool "power5" 130 depends on BR2_powerpc || BR2_powerpc64 131config BR2_powerpc_power6 132 bool "power6" 133 depends on BR2_powerpc || BR2_powerpc64 134 select BR2_POWERPC_CPU_HAS_ALTIVEC 135config BR2_powerpc_power7 136 bool "power7" 137 depends on BR2_powerpc || BR2_powerpc64 138 select BR2_POWERPC_CPU_HAS_VSX 139config BR2_powerpc_power8 140 bool "power8" 141 select BR2_POWERPC_CPU_HAS_VSX 142config BR2_powerpc_power9 143 bool "power9" 144 select BR2_POWERPC_CPU_HAS_ALTIVEC 145 select BR2_POWERPC_CPU_HAS_VSX 146 select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 147endchoice 148 149config BR2_POWERPC_SOFT_FLOAT 150 bool "Use soft-float" 151 select BR2_SOFT_FLOAT 152 help 153 If your target CPU does not have a Floating Point Unit (FPU) 154 or a kernel FPU emulator, but you still wish to support 155 floating point functions, then everything will need to be 156 compiled with soft floating point support (-msoft-float). 157 158config BR2_ARCH 159 default "powerpc" if BR2_powerpc 160 default "powerpc64" if BR2_powerpc64 161 default "powerpc64le" if BR2_powerpc64le 162 163config BR2_NORMALIZED_ARCH 164 default "powerpc" 165 166config BR2_ENDIAN 167 default "BIG" if BR2_powerpc || BR2_powerpc64 168 default "LITTLE" if BR2_powerpc64le 169 170config BR2_GCC_TARGET_CPU 171 default "401" if BR2_powerpc_401 172 default "403" if BR2_powerpc_403 173 default "405" if BR2_powerpc_405 174 default "405fp" if BR2_powerpc_405fp 175 default "440" if BR2_powerpc_440 176 default "440fp" if BR2_powerpc_440fp 177 default "464" if BR2_powerpc_464 178 default "464fp" if BR2_powerpc_464fp 179 default "476" if BR2_powerpc_476 180 default "476fp" if BR2_powerpc_476fp 181 default "505" if BR2_powerpc_505 182 default "602" if BR2_powerpc_602 183 default "603" if BR2_powerpc_603 184 default "603e" if BR2_powerpc_603e 185 default "604" if BR2_powerpc_604 186 default "604e" if BR2_powerpc_604e 187 default "620" if BR2_powerpc_620 188 default "630" if BR2_powerpc_630 189 default "740" if BR2_powerpc_740 190 default "7400" if BR2_powerpc_7400 191 default "7450" if BR2_powerpc_7450 192 default "750" if BR2_powerpc_750 193 default "821" if BR2_powerpc_821 194 default "823" if BR2_powerpc_823 195 default "860" if BR2_powerpc_860 196 default "970" if BR2_powerpc_970 197 default "8540" if BR2_powerpc_8540 198 default "8548" if BR2_powerpc_8548 199 default "e300c2" if BR2_powerpc_e300c2 200 default "e300c3" if BR2_powerpc_e300c3 201 default "e500mc" if BR2_powerpc_e500mc 202 default "e5500" if BR2_powerpc_e5500 203 default "e6500" if BR2_powerpc_e6500 204 default "power4" if BR2_powerpc_power4 205 default "power5" if BR2_powerpc_power5 206 default "power6" if BR2_powerpc_power6 207 default "power7" if BR2_powerpc_power7 208 default "power8" if BR2_powerpc_power8 209 default "power9" if BR2_powerpc_power9 210 211config BR2_READELF_ARCH_NAME 212 default "PowerPC" if BR2_powerpc 213 default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le 214 215# vim: ft=kconfig 216# -*- mode:kconfig; -*- 217