test_external_bootlin.py 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354
  1. # This file was auto-generated by support/scripts/gen-bootlin-toolchains
  2. # Do not edit
  3. from tests.toolchain.test_external import TestExternalToolchain
  4. class TestExternalToolchainBootlinAarch64GlibcBleedingEdge(TestExternalToolchain):
  5. config = """
  6. BR2_aarch64=y
  7. BR2_TOOLCHAIN_EXTERNAL=y
  8. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  9. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE=y
  10. # BR2_TARGET_ROOTFS_TAR is not set
  11. """
  12. toolchain_prefix = "aarch64-linux"
  13. def test_run(self):
  14. TestExternalToolchain.common_check(self)
  15. class TestExternalToolchainBootlinAarch64GlibcStable(TestExternalToolchain):
  16. config = """
  17. BR2_aarch64=y
  18. BR2_TOOLCHAIN_EXTERNAL=y
  19. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  20. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
  21. # BR2_TARGET_ROOTFS_TAR is not set
  22. """
  23. toolchain_prefix = "aarch64-linux"
  24. def test_run(self):
  25. TestExternalToolchain.common_check(self)
  26. class TestExternalToolchainBootlinAarch64MuslBleedingEdge(TestExternalToolchain):
  27. config = """
  28. BR2_aarch64=y
  29. BR2_TOOLCHAIN_EXTERNAL=y
  30. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  31. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE=y
  32. # BR2_TARGET_ROOTFS_TAR is not set
  33. """
  34. toolchain_prefix = "aarch64-linux"
  35. def test_run(self):
  36. TestExternalToolchain.common_check(self)
  37. class TestExternalToolchainBootlinAarch64MuslStable(TestExternalToolchain):
  38. config = """
  39. BR2_aarch64=y
  40. BR2_TOOLCHAIN_EXTERNAL=y
  41. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  42. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE=y
  43. # BR2_TARGET_ROOTFS_TAR is not set
  44. """
  45. toolchain_prefix = "aarch64-linux"
  46. def test_run(self):
  47. TestExternalToolchain.common_check(self)
  48. class TestExternalToolchainBootlinAarch64UclibcBleedingEdge(TestExternalToolchain):
  49. config = """
  50. BR2_aarch64=y
  51. BR2_TOOLCHAIN_EXTERNAL=y
  52. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  53. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE=y
  54. # BR2_TARGET_ROOTFS_TAR is not set
  55. """
  56. toolchain_prefix = "aarch64-linux"
  57. def test_run(self):
  58. TestExternalToolchain.common_check(self)
  59. class TestExternalToolchainBootlinAarch64UclibcStable(TestExternalToolchain):
  60. config = """
  61. BR2_aarch64=y
  62. BR2_TOOLCHAIN_EXTERNAL=y
  63. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  64. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y
  65. # BR2_TARGET_ROOTFS_TAR is not set
  66. """
  67. toolchain_prefix = "aarch64-linux"
  68. def test_run(self):
  69. TestExternalToolchain.common_check(self)
  70. class TestExternalToolchainBootlinAarch64beGlibcBleedingEdge(TestExternalToolchain):
  71. config = """
  72. BR2_aarch64_be=y
  73. BR2_TOOLCHAIN_EXTERNAL=y
  74. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  75. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE=y
  76. # BR2_TARGET_ROOTFS_TAR is not set
  77. """
  78. toolchain_prefix = "aarch64_be-linux"
  79. def test_run(self):
  80. TestExternalToolchain.common_check(self)
  81. class TestExternalToolchainBootlinAarch64beGlibcStable(TestExternalToolchain):
  82. config = """
  83. BR2_aarch64_be=y
  84. BR2_TOOLCHAIN_EXTERNAL=y
  85. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  86. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE=y
  87. # BR2_TARGET_ROOTFS_TAR is not set
  88. """
  89. toolchain_prefix = "aarch64_be-linux"
  90. def test_run(self):
  91. TestExternalToolchain.common_check(self)
  92. class TestExternalToolchainBootlinAarch64beUclibcBleedingEdge(TestExternalToolchain):
  93. config = """
  94. BR2_aarch64_be=y
  95. BR2_TOOLCHAIN_EXTERNAL=y
  96. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  97. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE=y
  98. # BR2_TARGET_ROOTFS_TAR is not set
  99. """
  100. toolchain_prefix = "aarch64_be-linux"
  101. def test_run(self):
  102. TestExternalToolchain.common_check(self)
  103. class TestExternalToolchainBootlinAarch64beUclibcStable(TestExternalToolchain):
  104. config = """
  105. BR2_aarch64_be=y
  106. BR2_TOOLCHAIN_EXTERNAL=y
  107. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  108. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE=y
  109. # BR2_TARGET_ROOTFS_TAR is not set
  110. """
  111. toolchain_prefix = "aarch64_be-linux"
  112. def test_run(self):
  113. TestExternalToolchain.common_check(self)
  114. class TestExternalToolchainBootlinArcle750dUclibcBleedingEdge(TestExternalToolchain):
  115. config = """
  116. BR2_arcle=y
  117. BR2_arc750d=y
  118. BR2_TOOLCHAIN_EXTERNAL=y
  119. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  120. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE=y
  121. # BR2_TARGET_ROOTFS_TAR is not set
  122. """
  123. toolchain_prefix = "arc-linux"
  124. def test_run(self):
  125. TestExternalToolchain.common_check(self)
  126. class TestExternalToolchainBootlinArcle750dUclibcStable(TestExternalToolchain):
  127. config = """
  128. BR2_arcle=y
  129. BR2_arc750d=y
  130. BR2_TOOLCHAIN_EXTERNAL=y
  131. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  132. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE=y
  133. # BR2_TARGET_ROOTFS_TAR is not set
  134. """
  135. toolchain_prefix = "arc-linux"
  136. def test_run(self):
  137. TestExternalToolchain.common_check(self)
  138. class TestExternalToolchainBootlinArclehs38GlibcBleedingEdge(TestExternalToolchain):
  139. config = """
  140. BR2_arcle=y
  141. BR2_archs38=y
  142. BR2_TOOLCHAIN_EXTERNAL=y
  143. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  144. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE=y
  145. # BR2_TARGET_ROOTFS_TAR is not set
  146. """
  147. toolchain_prefix = "arc-linux"
  148. def test_run(self):
  149. TestExternalToolchain.common_check(self)
  150. class TestExternalToolchainBootlinArclehs38GlibcStable(TestExternalToolchain):
  151. config = """
  152. BR2_arcle=y
  153. BR2_archs38=y
  154. BR2_TOOLCHAIN_EXTERNAL=y
  155. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  156. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE=y
  157. # BR2_TARGET_ROOTFS_TAR is not set
  158. """
  159. toolchain_prefix = "arc-linux"
  160. def test_run(self):
  161. TestExternalToolchain.common_check(self)
  162. class TestExternalToolchainBootlinArclehs38UclibcBleedingEdge(TestExternalToolchain):
  163. config = """
  164. BR2_arcle=y
  165. BR2_archs38=y
  166. BR2_TOOLCHAIN_EXTERNAL=y
  167. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  168. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE=y
  169. # BR2_TARGET_ROOTFS_TAR is not set
  170. """
  171. toolchain_prefix = "arc-linux"
  172. def test_run(self):
  173. TestExternalToolchain.common_check(self)
  174. class TestExternalToolchainBootlinArclehs38UclibcStable(TestExternalToolchain):
  175. config = """
  176. BR2_arcle=y
  177. BR2_archs38=y
  178. BR2_TOOLCHAIN_EXTERNAL=y
  179. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  180. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE=y
  181. # BR2_TARGET_ROOTFS_TAR is not set
  182. """
  183. toolchain_prefix = "arc-linux"
  184. def test_run(self):
  185. TestExternalToolchain.common_check(self)
  186. class TestExternalToolchainBootlinArmv5eabiGlibcBleedingEdge(TestExternalToolchain):
  187. config = """
  188. BR2_arm=y
  189. BR2_arm926t=y
  190. BR2_ARM_EABI=y
  191. BR2_TOOLCHAIN_EXTERNAL=y
  192. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  193. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE=y
  194. # BR2_TARGET_ROOTFS_TAR is not set
  195. """
  196. toolchain_prefix = "arm-linux"
  197. def test_run(self):
  198. TestExternalToolchain.common_check(self)
  199. class TestExternalToolchainBootlinArmv5eabiGlibcStable(TestExternalToolchain):
  200. config = """
  201. BR2_arm=y
  202. BR2_arm926t=y
  203. BR2_ARM_EABI=y
  204. BR2_TOOLCHAIN_EXTERNAL=y
  205. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  206. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y
  207. # BR2_TARGET_ROOTFS_TAR is not set
  208. """
  209. toolchain_prefix = "arm-linux"
  210. def test_run(self):
  211. TestExternalToolchain.common_check(self)
  212. class TestExternalToolchainBootlinArmv5eabiMuslBleedingEdge(TestExternalToolchain):
  213. config = """
  214. BR2_arm=y
  215. BR2_arm926t=y
  216. BR2_ARM_EABI=y
  217. BR2_TOOLCHAIN_EXTERNAL=y
  218. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  219. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE=y
  220. # BR2_TARGET_ROOTFS_TAR is not set
  221. """
  222. toolchain_prefix = "arm-linux"
  223. def test_run(self):
  224. TestExternalToolchain.common_check(self)
  225. class TestExternalToolchainBootlinArmv5eabiMuslStable(TestExternalToolchain):
  226. config = """
  227. BR2_arm=y
  228. BR2_arm926t=y
  229. BR2_ARM_EABI=y
  230. BR2_TOOLCHAIN_EXTERNAL=y
  231. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  232. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE=y
  233. # BR2_TARGET_ROOTFS_TAR is not set
  234. """
  235. toolchain_prefix = "arm-linux"
  236. def test_run(self):
  237. TestExternalToolchain.common_check(self)
  238. class TestExternalToolchainBootlinArmv5eabiUclibcBleedingEdge(TestExternalToolchain):
  239. config = """
  240. BR2_arm=y
  241. BR2_arm926t=y
  242. BR2_ARM_EABI=y
  243. BR2_TOOLCHAIN_EXTERNAL=y
  244. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  245. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE=y
  246. # BR2_TARGET_ROOTFS_TAR is not set
  247. """
  248. toolchain_prefix = "arm-linux"
  249. def test_run(self):
  250. TestExternalToolchain.common_check(self)
  251. class TestExternalToolchainBootlinArmv5eabiUclibcStable(TestExternalToolchain):
  252. config = """
  253. BR2_arm=y
  254. BR2_arm926t=y
  255. BR2_ARM_EABI=y
  256. BR2_TOOLCHAIN_EXTERNAL=y
  257. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  258. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE=y
  259. # BR2_TARGET_ROOTFS_TAR is not set
  260. """
  261. toolchain_prefix = "arm-linux"
  262. def test_run(self):
  263. TestExternalToolchain.common_check(self)
  264. class TestExternalToolchainBootlinArmv6eabihfGlibcBleedingEdge(TestExternalToolchain):
  265. config = """
  266. BR2_arm=y
  267. BR2_arm1176jzf_s=y
  268. BR2_ARM_EABIHF=y
  269. BR2_TOOLCHAIN_EXTERNAL=y
  270. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  271. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE=y
  272. # BR2_TARGET_ROOTFS_TAR is not set
  273. """
  274. toolchain_prefix = "arm-linux"
  275. def test_run(self):
  276. TestExternalToolchain.common_check(self)
  277. class TestExternalToolchainBootlinArmv6eabihfGlibcStable(TestExternalToolchain):
  278. config = """
  279. BR2_arm=y
  280. BR2_arm1176jzf_s=y
  281. BR2_ARM_EABIHF=y
  282. BR2_TOOLCHAIN_EXTERNAL=y
  283. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  284. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE=y
  285. # BR2_TARGET_ROOTFS_TAR is not set
  286. """
  287. toolchain_prefix = "arm-linux"
  288. def test_run(self):
  289. TestExternalToolchain.common_check(self)
  290. class TestExternalToolchainBootlinArmv6eabihfMuslBleedingEdge(TestExternalToolchain):
  291. config = """
  292. BR2_arm=y
  293. BR2_arm1176jzf_s=y
  294. BR2_ARM_EABIHF=y
  295. BR2_TOOLCHAIN_EXTERNAL=y
  296. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  297. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE=y
  298. # BR2_TARGET_ROOTFS_TAR is not set
  299. """
  300. toolchain_prefix = "arm-linux"
  301. def test_run(self):
  302. TestExternalToolchain.common_check(self)
  303. class TestExternalToolchainBootlinArmv6eabihfMuslStable(TestExternalToolchain):
  304. config = """
  305. BR2_arm=y
  306. BR2_arm1176jzf_s=y
  307. BR2_ARM_EABIHF=y
  308. BR2_TOOLCHAIN_EXTERNAL=y
  309. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  310. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE=y
  311. # BR2_TARGET_ROOTFS_TAR is not set
  312. """
  313. toolchain_prefix = "arm-linux"
  314. def test_run(self):
  315. TestExternalToolchain.common_check(self)
  316. class TestExternalToolchainBootlinArmv6eabihfUclibcBleedingEdge(TestExternalToolchain):
  317. config = """
  318. BR2_arm=y
  319. BR2_arm1176jzf_s=y
  320. BR2_ARM_EABIHF=y
  321. BR2_TOOLCHAIN_EXTERNAL=y
  322. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  323. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE=y
  324. # BR2_TARGET_ROOTFS_TAR is not set
  325. """
  326. toolchain_prefix = "arm-linux"
  327. def test_run(self):
  328. TestExternalToolchain.common_check(self)
  329. class TestExternalToolchainBootlinArmv6eabihfUclibcStable(TestExternalToolchain):
  330. config = """
  331. BR2_arm=y
  332. BR2_arm1176jzf_s=y
  333. BR2_ARM_EABIHF=y
  334. BR2_TOOLCHAIN_EXTERNAL=y
  335. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  336. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE=y
  337. # BR2_TARGET_ROOTFS_TAR is not set
  338. """
  339. toolchain_prefix = "arm-linux"
  340. def test_run(self):
  341. TestExternalToolchain.common_check(self)
  342. class TestExternalToolchainBootlinArmv7eabihfGlibcBleedingEdge(TestExternalToolchain):
  343. config = """
  344. BR2_arm=y
  345. BR2_cortex_a8=y
  346. BR2_ARM_EABIHF=y
  347. BR2_TOOLCHAIN_EXTERNAL=y
  348. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  349. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE=y
  350. # BR2_TARGET_ROOTFS_TAR is not set
  351. """
  352. toolchain_prefix = "arm-linux"
  353. def test_run(self):
  354. TestExternalToolchain.common_check(self)
  355. class TestExternalToolchainBootlinArmv7eabihfGlibcStable(TestExternalToolchain):
  356. config = """
  357. BR2_arm=y
  358. BR2_cortex_a8=y
  359. BR2_ARM_EABIHF=y
  360. BR2_TOOLCHAIN_EXTERNAL=y
  361. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  362. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
  363. # BR2_TARGET_ROOTFS_TAR is not set
  364. """
  365. toolchain_prefix = "arm-linux"
  366. def test_run(self):
  367. TestExternalToolchain.common_check(self)
  368. class TestExternalToolchainBootlinArmv7eabihfMuslBleedingEdge(TestExternalToolchain):
  369. config = """
  370. BR2_arm=y
  371. BR2_cortex_a8=y
  372. BR2_ARM_EABIHF=y
  373. BR2_TOOLCHAIN_EXTERNAL=y
  374. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  375. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE=y
  376. # BR2_TARGET_ROOTFS_TAR is not set
  377. """
  378. toolchain_prefix = "arm-linux"
  379. def test_run(self):
  380. TestExternalToolchain.common_check(self)
  381. class TestExternalToolchainBootlinArmv7eabihfMuslStable(TestExternalToolchain):
  382. config = """
  383. BR2_arm=y
  384. BR2_cortex_a8=y
  385. BR2_ARM_EABIHF=y
  386. BR2_TOOLCHAIN_EXTERNAL=y
  387. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  388. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE=y
  389. # BR2_TARGET_ROOTFS_TAR is not set
  390. """
  391. toolchain_prefix = "arm-linux"
  392. def test_run(self):
  393. TestExternalToolchain.common_check(self)
  394. class TestExternalToolchainBootlinArmv7eabihfUclibcBleedingEdge(TestExternalToolchain):
  395. config = """
  396. BR2_arm=y
  397. BR2_cortex_a8=y
  398. BR2_ARM_EABIHF=y
  399. BR2_TOOLCHAIN_EXTERNAL=y
  400. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  401. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE=y
  402. # BR2_TARGET_ROOTFS_TAR is not set
  403. """
  404. toolchain_prefix = "arm-linux"
  405. def test_run(self):
  406. TestExternalToolchain.common_check(self)
  407. class TestExternalToolchainBootlinArmv7eabihfUclibcStable(TestExternalToolchain):
  408. config = """
  409. BR2_arm=y
  410. BR2_cortex_a8=y
  411. BR2_ARM_EABIHF=y
  412. BR2_TOOLCHAIN_EXTERNAL=y
  413. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  414. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE=y
  415. # BR2_TARGET_ROOTFS_TAR is not set
  416. """
  417. toolchain_prefix = "arm-linux"
  418. def test_run(self):
  419. TestExternalToolchain.common_check(self)
  420. class TestExternalToolchainBootlinArmv7mUclibcBleedingEdge(TestExternalToolchain):
  421. config = """
  422. BR2_arm=y
  423. BR2_cortex_m4=y
  424. BR2_TOOLCHAIN_EXTERNAL=y
  425. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  426. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE=y
  427. # BR2_TARGET_ROOTFS_TAR is not set
  428. """
  429. toolchain_prefix = "arm-linux"
  430. def test_run(self):
  431. TestExternalToolchain.common_check(self)
  432. class TestExternalToolchainBootlinArmv7mUclibcStable(TestExternalToolchain):
  433. config = """
  434. BR2_arm=y
  435. BR2_cortex_m4=y
  436. BR2_TOOLCHAIN_EXTERNAL=y
  437. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  438. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE=y
  439. # BR2_TARGET_ROOTFS_TAR is not set
  440. """
  441. toolchain_prefix = "arm-linux"
  442. def test_run(self):
  443. TestExternalToolchain.common_check(self)
  444. class TestExternalToolchainBootlinM68k68xxxUclibcBleedingEdge(TestExternalToolchain):
  445. config = """
  446. BR2_m68k=y
  447. BR2_m68k_68040=y
  448. BR2_TOOLCHAIN_EXTERNAL=y
  449. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  450. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE=y
  451. # BR2_TARGET_ROOTFS_TAR is not set
  452. """
  453. toolchain_prefix = "m68k-linux"
  454. def test_run(self):
  455. TestExternalToolchain.common_check(self)
  456. class TestExternalToolchainBootlinM68k68xxxUclibcStable(TestExternalToolchain):
  457. config = """
  458. BR2_m68k=y
  459. BR2_m68k_68040=y
  460. BR2_TOOLCHAIN_EXTERNAL=y
  461. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  462. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE=y
  463. # BR2_TARGET_ROOTFS_TAR is not set
  464. """
  465. toolchain_prefix = "m68k-linux"
  466. def test_run(self):
  467. TestExternalToolchain.common_check(self)
  468. class TestExternalToolchainBootlinM68kcoldfireUclibcBleedingEdge(TestExternalToolchain):
  469. config = """
  470. BR2_m68k=y
  471. BR2_m68k_cf5208=y
  472. BR2_TOOLCHAIN_EXTERNAL=y
  473. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  474. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE=y
  475. # BR2_TARGET_ROOTFS_TAR is not set
  476. """
  477. toolchain_prefix = "m68k-linux"
  478. def test_run(self):
  479. TestExternalToolchain.common_check(self)
  480. class TestExternalToolchainBootlinM68kcoldfireUclibcStable(TestExternalToolchain):
  481. config = """
  482. BR2_m68k=y
  483. BR2_m68k_cf5208=y
  484. BR2_TOOLCHAIN_EXTERNAL=y
  485. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  486. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE=y
  487. # BR2_TARGET_ROOTFS_TAR is not set
  488. """
  489. toolchain_prefix = "m68k-linux"
  490. def test_run(self):
  491. TestExternalToolchain.common_check(self)
  492. class TestExternalToolchainBootlinMicroblazebeGlibcBleedingEdge(TestExternalToolchain):
  493. config = """
  494. BR2_microblazebe=y
  495. BR2_TOOLCHAIN_EXTERNAL=y
  496. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  497. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE=y
  498. # BR2_TARGET_ROOTFS_TAR is not set
  499. """
  500. toolchain_prefix = "microblaze-linux"
  501. def test_run(self):
  502. TestExternalToolchain.common_check(self)
  503. class TestExternalToolchainBootlinMicroblazebeGlibcStable(TestExternalToolchain):
  504. config = """
  505. BR2_microblazebe=y
  506. BR2_TOOLCHAIN_EXTERNAL=y
  507. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  508. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE=y
  509. # BR2_TARGET_ROOTFS_TAR is not set
  510. """
  511. toolchain_prefix = "microblaze-linux"
  512. def test_run(self):
  513. TestExternalToolchain.common_check(self)
  514. class TestExternalToolchainBootlinMicroblazebeMuslBleedingEdge(TestExternalToolchain):
  515. config = """
  516. BR2_microblazebe=y
  517. BR2_TOOLCHAIN_EXTERNAL=y
  518. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  519. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE=y
  520. # BR2_TARGET_ROOTFS_TAR is not set
  521. """
  522. toolchain_prefix = "microblaze-linux"
  523. def test_run(self):
  524. TestExternalToolchain.common_check(self)
  525. class TestExternalToolchainBootlinMicroblazebeMuslStable(TestExternalToolchain):
  526. config = """
  527. BR2_microblazebe=y
  528. BR2_TOOLCHAIN_EXTERNAL=y
  529. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  530. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE=y
  531. # BR2_TARGET_ROOTFS_TAR is not set
  532. """
  533. toolchain_prefix = "microblaze-linux"
  534. def test_run(self):
  535. TestExternalToolchain.common_check(self)
  536. class TestExternalToolchainBootlinMicroblazebeUclibcBleedingEdge(TestExternalToolchain):
  537. config = """
  538. BR2_microblazebe=y
  539. BR2_TOOLCHAIN_EXTERNAL=y
  540. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  541. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE=y
  542. # BR2_TARGET_ROOTFS_TAR is not set
  543. """
  544. toolchain_prefix = "microblaze-linux"
  545. def test_run(self):
  546. TestExternalToolchain.common_check(self)
  547. class TestExternalToolchainBootlinMicroblazebeUclibcStable(TestExternalToolchain):
  548. config = """
  549. BR2_microblazebe=y
  550. BR2_TOOLCHAIN_EXTERNAL=y
  551. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  552. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE=y
  553. # BR2_TARGET_ROOTFS_TAR is not set
  554. """
  555. toolchain_prefix = "microblaze-linux"
  556. def test_run(self):
  557. TestExternalToolchain.common_check(self)
  558. class TestExternalToolchainBootlinMicroblazeelGlibcBleedingEdge(TestExternalToolchain):
  559. config = """
  560. BR2_microblazeel=y
  561. BR2_TOOLCHAIN_EXTERNAL=y
  562. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  563. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE=y
  564. # BR2_TARGET_ROOTFS_TAR is not set
  565. """
  566. toolchain_prefix = "microblazeel-linux"
  567. def test_run(self):
  568. TestExternalToolchain.common_check(self)
  569. class TestExternalToolchainBootlinMicroblazeelGlibcStable(TestExternalToolchain):
  570. config = """
  571. BR2_microblazeel=y
  572. BR2_TOOLCHAIN_EXTERNAL=y
  573. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  574. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE=y
  575. # BR2_TARGET_ROOTFS_TAR is not set
  576. """
  577. toolchain_prefix = "microblazeel-linux"
  578. def test_run(self):
  579. TestExternalToolchain.common_check(self)
  580. class TestExternalToolchainBootlinMicroblazeelMuslBleedingEdge(TestExternalToolchain):
  581. config = """
  582. BR2_microblazeel=y
  583. BR2_TOOLCHAIN_EXTERNAL=y
  584. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  585. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE=y
  586. # BR2_TARGET_ROOTFS_TAR is not set
  587. """
  588. toolchain_prefix = "microblazeel-linux"
  589. def test_run(self):
  590. TestExternalToolchain.common_check(self)
  591. class TestExternalToolchainBootlinMicroblazeelMuslStable(TestExternalToolchain):
  592. config = """
  593. BR2_microblazeel=y
  594. BR2_TOOLCHAIN_EXTERNAL=y
  595. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  596. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE=y
  597. # BR2_TARGET_ROOTFS_TAR is not set
  598. """
  599. toolchain_prefix = "microblazeel-linux"
  600. def test_run(self):
  601. TestExternalToolchain.common_check(self)
  602. class TestExternalToolchainBootlinMicroblazeelUclibcBleedingEdge(TestExternalToolchain):
  603. config = """
  604. BR2_microblazeel=y
  605. BR2_TOOLCHAIN_EXTERNAL=y
  606. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  607. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE=y
  608. # BR2_TARGET_ROOTFS_TAR is not set
  609. """
  610. toolchain_prefix = "microblazeel-linux"
  611. def test_run(self):
  612. TestExternalToolchain.common_check(self)
  613. class TestExternalToolchainBootlinMicroblazeelUclibcStable(TestExternalToolchain):
  614. config = """
  615. BR2_microblazeel=y
  616. BR2_TOOLCHAIN_EXTERNAL=y
  617. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  618. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE=y
  619. # BR2_TARGET_ROOTFS_TAR is not set
  620. """
  621. toolchain_prefix = "microblazeel-linux"
  622. def test_run(self):
  623. TestExternalToolchain.common_check(self)
  624. class TestExternalToolchainBootlinMips32GlibcBleedingEdge(TestExternalToolchain):
  625. config = """
  626. BR2_mips=y
  627. BR2_mips_32=y
  628. # BR2_MIPS_SOFT_FLOAT is not set
  629. BR2_TOOLCHAIN_EXTERNAL=y
  630. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  631. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE=y
  632. # BR2_TARGET_ROOTFS_TAR is not set
  633. """
  634. toolchain_prefix = "mips-linux"
  635. def test_run(self):
  636. TestExternalToolchain.common_check(self)
  637. class TestExternalToolchainBootlinMips32GlibcStable(TestExternalToolchain):
  638. config = """
  639. BR2_mips=y
  640. BR2_mips_32=y
  641. # BR2_MIPS_SOFT_FLOAT is not set
  642. BR2_TOOLCHAIN_EXTERNAL=y
  643. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  644. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE=y
  645. # BR2_TARGET_ROOTFS_TAR is not set
  646. """
  647. toolchain_prefix = "mips-linux"
  648. def test_run(self):
  649. TestExternalToolchain.common_check(self)
  650. class TestExternalToolchainBootlinMips32MuslBleedingEdge(TestExternalToolchain):
  651. config = """
  652. BR2_mips=y
  653. BR2_mips_32=y
  654. # BR2_MIPS_SOFT_FLOAT is not set
  655. BR2_TOOLCHAIN_EXTERNAL=y
  656. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  657. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE=y
  658. # BR2_TARGET_ROOTFS_TAR is not set
  659. """
  660. toolchain_prefix = "mips-linux"
  661. def test_run(self):
  662. TestExternalToolchain.common_check(self)
  663. class TestExternalToolchainBootlinMips32MuslStable(TestExternalToolchain):
  664. config = """
  665. BR2_mips=y
  666. BR2_mips_32=y
  667. # BR2_MIPS_SOFT_FLOAT is not set
  668. BR2_TOOLCHAIN_EXTERNAL=y
  669. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  670. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE=y
  671. # BR2_TARGET_ROOTFS_TAR is not set
  672. """
  673. toolchain_prefix = "mips-linux"
  674. def test_run(self):
  675. TestExternalToolchain.common_check(self)
  676. class TestExternalToolchainBootlinMips32UclibcBleedingEdge(TestExternalToolchain):
  677. config = """
  678. BR2_mips=y
  679. BR2_mips_32=y
  680. # BR2_MIPS_SOFT_FLOAT is not set
  681. BR2_TOOLCHAIN_EXTERNAL=y
  682. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  683. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE=y
  684. # BR2_TARGET_ROOTFS_TAR is not set
  685. """
  686. toolchain_prefix = "mips-linux"
  687. def test_run(self):
  688. TestExternalToolchain.common_check(self)
  689. class TestExternalToolchainBootlinMips32UclibcStable(TestExternalToolchain):
  690. config = """
  691. BR2_mips=y
  692. BR2_mips_32=y
  693. # BR2_MIPS_SOFT_FLOAT is not set
  694. BR2_TOOLCHAIN_EXTERNAL=y
  695. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  696. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE=y
  697. # BR2_TARGET_ROOTFS_TAR is not set
  698. """
  699. toolchain_prefix = "mips-linux"
  700. def test_run(self):
  701. TestExternalToolchain.common_check(self)
  702. class TestExternalToolchainBootlinMips32elGlibcBleedingEdge(TestExternalToolchain):
  703. config = """
  704. BR2_mipsel=y
  705. BR2_mips_32=y
  706. # BR2_MIPS_SOFT_FLOAT is not set
  707. BR2_TOOLCHAIN_EXTERNAL=y
  708. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  709. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE=y
  710. # BR2_TARGET_ROOTFS_TAR is not set
  711. """
  712. toolchain_prefix = "mipsel-linux"
  713. def test_run(self):
  714. TestExternalToolchain.common_check(self)
  715. class TestExternalToolchainBootlinMips32elGlibcStable(TestExternalToolchain):
  716. config = """
  717. BR2_mipsel=y
  718. BR2_mips_32=y
  719. # BR2_MIPS_SOFT_FLOAT is not set
  720. BR2_TOOLCHAIN_EXTERNAL=y
  721. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  722. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE=y
  723. # BR2_TARGET_ROOTFS_TAR is not set
  724. """
  725. toolchain_prefix = "mipsel-linux"
  726. def test_run(self):
  727. TestExternalToolchain.common_check(self)
  728. class TestExternalToolchainBootlinMips32elMuslBleedingEdge(TestExternalToolchain):
  729. config = """
  730. BR2_mipsel=y
  731. BR2_mips_32=y
  732. # BR2_MIPS_SOFT_FLOAT is not set
  733. BR2_TOOLCHAIN_EXTERNAL=y
  734. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  735. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE=y
  736. # BR2_TARGET_ROOTFS_TAR is not set
  737. """
  738. toolchain_prefix = "mipsel-linux"
  739. def test_run(self):
  740. TestExternalToolchain.common_check(self)
  741. class TestExternalToolchainBootlinMips32elMuslStable(TestExternalToolchain):
  742. config = """
  743. BR2_mipsel=y
  744. BR2_mips_32=y
  745. # BR2_MIPS_SOFT_FLOAT is not set
  746. BR2_TOOLCHAIN_EXTERNAL=y
  747. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  748. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE=y
  749. # BR2_TARGET_ROOTFS_TAR is not set
  750. """
  751. toolchain_prefix = "mipsel-linux"
  752. def test_run(self):
  753. TestExternalToolchain.common_check(self)
  754. class TestExternalToolchainBootlinMips32elUclibcBleedingEdge(TestExternalToolchain):
  755. config = """
  756. BR2_mipsel=y
  757. BR2_mips_32=y
  758. # BR2_MIPS_SOFT_FLOAT is not set
  759. BR2_TOOLCHAIN_EXTERNAL=y
  760. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  761. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE=y
  762. # BR2_TARGET_ROOTFS_TAR is not set
  763. """
  764. toolchain_prefix = "mipsel-linux"
  765. def test_run(self):
  766. TestExternalToolchain.common_check(self)
  767. class TestExternalToolchainBootlinMips32elUclibcStable(TestExternalToolchain):
  768. config = """
  769. BR2_mipsel=y
  770. BR2_mips_32=y
  771. # BR2_MIPS_SOFT_FLOAT is not set
  772. BR2_TOOLCHAIN_EXTERNAL=y
  773. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  774. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE=y
  775. # BR2_TARGET_ROOTFS_TAR is not set
  776. """
  777. toolchain_prefix = "mipsel-linux"
  778. def test_run(self):
  779. TestExternalToolchain.common_check(self)
  780. class TestExternalToolchainBootlinMips32r5elGlibcBleedingEdge(TestExternalToolchain):
  781. config = """
  782. BR2_mipsel=y
  783. BR2_mips_32r5=y
  784. # BR2_MIPS_SOFT_FLOAT is not set
  785. BR2_TOOLCHAIN_EXTERNAL=y
  786. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  787. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE=y
  788. # BR2_TARGET_ROOTFS_TAR is not set
  789. """
  790. toolchain_prefix = "mipsel-linux"
  791. def test_run(self):
  792. TestExternalToolchain.common_check(self)
  793. class TestExternalToolchainBootlinMips32r5elGlibcStable(TestExternalToolchain):
  794. config = """
  795. BR2_mipsel=y
  796. BR2_mips_32r5=y
  797. # BR2_MIPS_SOFT_FLOAT is not set
  798. BR2_TOOLCHAIN_EXTERNAL=y
  799. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  800. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE=y
  801. # BR2_TARGET_ROOTFS_TAR is not set
  802. """
  803. toolchain_prefix = "mipsel-linux"
  804. def test_run(self):
  805. TestExternalToolchain.common_check(self)
  806. class TestExternalToolchainBootlinMips32r5elMuslBleedingEdge(TestExternalToolchain):
  807. config = """
  808. BR2_mipsel=y
  809. BR2_mips_32r5=y
  810. # BR2_MIPS_SOFT_FLOAT is not set
  811. BR2_TOOLCHAIN_EXTERNAL=y
  812. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  813. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE=y
  814. # BR2_TARGET_ROOTFS_TAR is not set
  815. """
  816. toolchain_prefix = "mipsel-linux"
  817. def test_run(self):
  818. TestExternalToolchain.common_check(self)
  819. class TestExternalToolchainBootlinMips32r5elMuslStable(TestExternalToolchain):
  820. config = """
  821. BR2_mipsel=y
  822. BR2_mips_32r5=y
  823. # BR2_MIPS_SOFT_FLOAT is not set
  824. BR2_TOOLCHAIN_EXTERNAL=y
  825. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  826. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE=y
  827. # BR2_TARGET_ROOTFS_TAR is not set
  828. """
  829. toolchain_prefix = "mipsel-linux"
  830. def test_run(self):
  831. TestExternalToolchain.common_check(self)
  832. class TestExternalToolchainBootlinMips32r5elUclibcBleedingEdge(TestExternalToolchain):
  833. config = """
  834. BR2_mipsel=y
  835. BR2_mips_32r5=y
  836. # BR2_MIPS_SOFT_FLOAT is not set
  837. BR2_TOOLCHAIN_EXTERNAL=y
  838. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  839. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE=y
  840. # BR2_TARGET_ROOTFS_TAR is not set
  841. """
  842. toolchain_prefix = "mipsel-linux"
  843. def test_run(self):
  844. TestExternalToolchain.common_check(self)
  845. class TestExternalToolchainBootlinMips32r5elUclibcStable(TestExternalToolchain):
  846. config = """
  847. BR2_mipsel=y
  848. BR2_mips_32r5=y
  849. # BR2_MIPS_SOFT_FLOAT is not set
  850. BR2_TOOLCHAIN_EXTERNAL=y
  851. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  852. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE=y
  853. # BR2_TARGET_ROOTFS_TAR is not set
  854. """
  855. toolchain_prefix = "mipsel-linux"
  856. def test_run(self):
  857. TestExternalToolchain.common_check(self)
  858. class TestExternalToolchainBootlinMips32r6elGlibcBleedingEdge(TestExternalToolchain):
  859. config = """
  860. BR2_mipsel=y
  861. BR2_mips_32r6=y
  862. # BR2_MIPS_SOFT_FLOAT is not set
  863. BR2_TOOLCHAIN_EXTERNAL=y
  864. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  865. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE=y
  866. # BR2_TARGET_ROOTFS_TAR is not set
  867. """
  868. toolchain_prefix = "mipsel-linux"
  869. def test_run(self):
  870. TestExternalToolchain.common_check(self)
  871. class TestExternalToolchainBootlinMips32r6elGlibcStable(TestExternalToolchain):
  872. config = """
  873. BR2_mipsel=y
  874. BR2_mips_32r6=y
  875. # BR2_MIPS_SOFT_FLOAT is not set
  876. BR2_TOOLCHAIN_EXTERNAL=y
  877. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  878. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE=y
  879. # BR2_TARGET_ROOTFS_TAR is not set
  880. """
  881. toolchain_prefix = "mipsel-linux"
  882. def test_run(self):
  883. TestExternalToolchain.common_check(self)
  884. class TestExternalToolchainBootlinMips32r6elMuslBleedingEdge(TestExternalToolchain):
  885. config = """
  886. BR2_mipsel=y
  887. BR2_mips_32r6=y
  888. # BR2_MIPS_SOFT_FLOAT is not set
  889. BR2_TOOLCHAIN_EXTERNAL=y
  890. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  891. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE=y
  892. # BR2_TARGET_ROOTFS_TAR is not set
  893. """
  894. toolchain_prefix = "mipsel-linux"
  895. def test_run(self):
  896. TestExternalToolchain.common_check(self)
  897. class TestExternalToolchainBootlinMips32r6elMuslStable(TestExternalToolchain):
  898. config = """
  899. BR2_mipsel=y
  900. BR2_mips_32r6=y
  901. # BR2_MIPS_SOFT_FLOAT is not set
  902. BR2_TOOLCHAIN_EXTERNAL=y
  903. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  904. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE=y
  905. # BR2_TARGET_ROOTFS_TAR is not set
  906. """
  907. toolchain_prefix = "mipsel-linux"
  908. def test_run(self):
  909. TestExternalToolchain.common_check(self)
  910. class TestExternalToolchainBootlinMips32r6elUclibcBleedingEdge(TestExternalToolchain):
  911. config = """
  912. BR2_mipsel=y
  913. BR2_mips_32r6=y
  914. # BR2_MIPS_SOFT_FLOAT is not set
  915. BR2_TOOLCHAIN_EXTERNAL=y
  916. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  917. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE=y
  918. # BR2_TARGET_ROOTFS_TAR is not set
  919. """
  920. toolchain_prefix = "mipsel-linux"
  921. def test_run(self):
  922. TestExternalToolchain.common_check(self)
  923. class TestExternalToolchainBootlinMips32r6elUclibcStable(TestExternalToolchain):
  924. config = """
  925. BR2_mipsel=y
  926. BR2_mips_32r6=y
  927. # BR2_MIPS_SOFT_FLOAT is not set
  928. BR2_TOOLCHAIN_EXTERNAL=y
  929. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  930. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE=y
  931. # BR2_TARGET_ROOTFS_TAR is not set
  932. """
  933. toolchain_prefix = "mipsel-linux"
  934. def test_run(self):
  935. TestExternalToolchain.common_check(self)
  936. class TestExternalToolchainBootlinMips64n32GlibcBleedingEdge(TestExternalToolchain):
  937. config = """
  938. BR2_mips64=y
  939. BR2_mips_64=y
  940. BR2_MIPS_NABI32=y
  941. # BR2_MIPS_SOFT_FLOAT is not set
  942. BR2_TOOLCHAIN_EXTERNAL=y
  943. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  944. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE=y
  945. # BR2_TARGET_ROOTFS_TAR is not set
  946. """
  947. toolchain_prefix = "mips64-linux"
  948. def test_run(self):
  949. TestExternalToolchain.common_check(self)
  950. class TestExternalToolchainBootlinMips64n32GlibcStable(TestExternalToolchain):
  951. config = """
  952. BR2_mips64=y
  953. BR2_mips_64=y
  954. BR2_MIPS_NABI32=y
  955. # BR2_MIPS_SOFT_FLOAT is not set
  956. BR2_TOOLCHAIN_EXTERNAL=y
  957. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  958. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE=y
  959. # BR2_TARGET_ROOTFS_TAR is not set
  960. """
  961. toolchain_prefix = "mips64-linux"
  962. def test_run(self):
  963. TestExternalToolchain.common_check(self)
  964. class TestExternalToolchainBootlinMips64n32MuslBleedingEdge(TestExternalToolchain):
  965. config = """
  966. BR2_mips64=y
  967. BR2_mips_64=y
  968. BR2_MIPS_NABI32=y
  969. # BR2_MIPS_SOFT_FLOAT is not set
  970. BR2_TOOLCHAIN_EXTERNAL=y
  971. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  972. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE=y
  973. # BR2_TARGET_ROOTFS_TAR is not set
  974. """
  975. toolchain_prefix = "mips64-linux"
  976. def test_run(self):
  977. TestExternalToolchain.common_check(self)
  978. class TestExternalToolchainBootlinMips64n32MuslStable(TestExternalToolchain):
  979. config = """
  980. BR2_mips64=y
  981. BR2_mips_64=y
  982. BR2_MIPS_NABI32=y
  983. # BR2_MIPS_SOFT_FLOAT is not set
  984. BR2_TOOLCHAIN_EXTERNAL=y
  985. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  986. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE=y
  987. # BR2_TARGET_ROOTFS_TAR is not set
  988. """
  989. toolchain_prefix = "mips64-linux"
  990. def test_run(self):
  991. TestExternalToolchain.common_check(self)
  992. class TestExternalToolchainBootlinMips64n32UclibcBleedingEdge(TestExternalToolchain):
  993. config = """
  994. BR2_mips64=y
  995. BR2_mips_64=y
  996. BR2_MIPS_NABI32=y
  997. # BR2_MIPS_SOFT_FLOAT is not set
  998. BR2_TOOLCHAIN_EXTERNAL=y
  999. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1000. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE=y
  1001. # BR2_TARGET_ROOTFS_TAR is not set
  1002. """
  1003. toolchain_prefix = "mips64-linux"
  1004. def test_run(self):
  1005. TestExternalToolchain.common_check(self)
  1006. class TestExternalToolchainBootlinMips64n32UclibcStable(TestExternalToolchain):
  1007. config = """
  1008. BR2_mips64=y
  1009. BR2_mips_64=y
  1010. BR2_MIPS_NABI32=y
  1011. # BR2_MIPS_SOFT_FLOAT is not set
  1012. BR2_TOOLCHAIN_EXTERNAL=y
  1013. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1014. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE=y
  1015. # BR2_TARGET_ROOTFS_TAR is not set
  1016. """
  1017. toolchain_prefix = "mips64-linux"
  1018. def test_run(self):
  1019. TestExternalToolchain.common_check(self)
  1020. class TestExternalToolchainBootlinMips64eln32GlibcBleedingEdge(TestExternalToolchain):
  1021. config = """
  1022. BR2_mips64el=y
  1023. BR2_mips_64=y
  1024. BR2_MIPS_NABI32=y
  1025. # BR2_MIPS_SOFT_FLOAT is not set
  1026. BR2_TOOLCHAIN_EXTERNAL=y
  1027. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1028. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE=y
  1029. # BR2_TARGET_ROOTFS_TAR is not set
  1030. """
  1031. toolchain_prefix = "mips64el-linux"
  1032. def test_run(self):
  1033. TestExternalToolchain.common_check(self)
  1034. class TestExternalToolchainBootlinMips64eln32GlibcStable(TestExternalToolchain):
  1035. config = """
  1036. BR2_mips64el=y
  1037. BR2_mips_64=y
  1038. BR2_MIPS_NABI32=y
  1039. # BR2_MIPS_SOFT_FLOAT is not set
  1040. BR2_TOOLCHAIN_EXTERNAL=y
  1041. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1042. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE=y
  1043. # BR2_TARGET_ROOTFS_TAR is not set
  1044. """
  1045. toolchain_prefix = "mips64el-linux"
  1046. def test_run(self):
  1047. TestExternalToolchain.common_check(self)
  1048. class TestExternalToolchainBootlinMips64eln32MuslBleedingEdge(TestExternalToolchain):
  1049. config = """
  1050. BR2_mips64el=y
  1051. BR2_mips_64=y
  1052. BR2_MIPS_NABI32=y
  1053. # BR2_MIPS_SOFT_FLOAT is not set
  1054. BR2_TOOLCHAIN_EXTERNAL=y
  1055. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1056. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE=y
  1057. # BR2_TARGET_ROOTFS_TAR is not set
  1058. """
  1059. toolchain_prefix = "mips64el-linux"
  1060. def test_run(self):
  1061. TestExternalToolchain.common_check(self)
  1062. class TestExternalToolchainBootlinMips64eln32MuslStable(TestExternalToolchain):
  1063. config = """
  1064. BR2_mips64el=y
  1065. BR2_mips_64=y
  1066. BR2_MIPS_NABI32=y
  1067. # BR2_MIPS_SOFT_FLOAT is not set
  1068. BR2_TOOLCHAIN_EXTERNAL=y
  1069. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1070. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE=y
  1071. # BR2_TARGET_ROOTFS_TAR is not set
  1072. """
  1073. toolchain_prefix = "mips64el-linux"
  1074. def test_run(self):
  1075. TestExternalToolchain.common_check(self)
  1076. class TestExternalToolchainBootlinMips64eln32UclibcBleedingEdge(TestExternalToolchain):
  1077. config = """
  1078. BR2_mips64el=y
  1079. BR2_mips_64=y
  1080. BR2_MIPS_NABI32=y
  1081. # BR2_MIPS_SOFT_FLOAT is not set
  1082. BR2_TOOLCHAIN_EXTERNAL=y
  1083. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1084. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE=y
  1085. # BR2_TARGET_ROOTFS_TAR is not set
  1086. """
  1087. toolchain_prefix = "mips64el-linux"
  1088. def test_run(self):
  1089. TestExternalToolchain.common_check(self)
  1090. class TestExternalToolchainBootlinMips64eln32UclibcStable(TestExternalToolchain):
  1091. config = """
  1092. BR2_mips64el=y
  1093. BR2_mips_64=y
  1094. BR2_MIPS_NABI32=y
  1095. # BR2_MIPS_SOFT_FLOAT is not set
  1096. BR2_TOOLCHAIN_EXTERNAL=y
  1097. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1098. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE=y
  1099. # BR2_TARGET_ROOTFS_TAR is not set
  1100. """
  1101. toolchain_prefix = "mips64el-linux"
  1102. def test_run(self):
  1103. TestExternalToolchain.common_check(self)
  1104. class TestExternalToolchainBootlinMips64r6eln32GlibcBleedingEdge(TestExternalToolchain):
  1105. config = """
  1106. BR2_mips64el=y
  1107. BR2_mips_64r6=y
  1108. BR2_MIPS_NABI32=y
  1109. # BR2_MIPS_SOFT_FLOAT is not set
  1110. BR2_TOOLCHAIN_EXTERNAL=y
  1111. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1112. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE=y
  1113. # BR2_TARGET_ROOTFS_TAR is not set
  1114. """
  1115. toolchain_prefix = "mips64el-linux"
  1116. def test_run(self):
  1117. TestExternalToolchain.common_check(self)
  1118. class TestExternalToolchainBootlinMips64r6eln32GlibcStable(TestExternalToolchain):
  1119. config = """
  1120. BR2_mips64el=y
  1121. BR2_mips_64r6=y
  1122. BR2_MIPS_NABI32=y
  1123. # BR2_MIPS_SOFT_FLOAT is not set
  1124. BR2_TOOLCHAIN_EXTERNAL=y
  1125. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1126. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE=y
  1127. # BR2_TARGET_ROOTFS_TAR is not set
  1128. """
  1129. toolchain_prefix = "mips64el-linux"
  1130. def test_run(self):
  1131. TestExternalToolchain.common_check(self)
  1132. class TestExternalToolchainBootlinMips64r6eln32MuslBleedingEdge(TestExternalToolchain):
  1133. config = """
  1134. BR2_mips64el=y
  1135. BR2_mips_64r6=y
  1136. BR2_MIPS_NABI32=y
  1137. # BR2_MIPS_SOFT_FLOAT is not set
  1138. BR2_TOOLCHAIN_EXTERNAL=y
  1139. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1140. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE=y
  1141. # BR2_TARGET_ROOTFS_TAR is not set
  1142. """
  1143. toolchain_prefix = "mips64el-linux"
  1144. def test_run(self):
  1145. TestExternalToolchain.common_check(self)
  1146. class TestExternalToolchainBootlinMips64r6eln32MuslStable(TestExternalToolchain):
  1147. config = """
  1148. BR2_mips64el=y
  1149. BR2_mips_64r6=y
  1150. BR2_MIPS_NABI32=y
  1151. # BR2_MIPS_SOFT_FLOAT is not set
  1152. BR2_TOOLCHAIN_EXTERNAL=y
  1153. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1154. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE=y
  1155. # BR2_TARGET_ROOTFS_TAR is not set
  1156. """
  1157. toolchain_prefix = "mips64el-linux"
  1158. def test_run(self):
  1159. TestExternalToolchain.common_check(self)
  1160. class TestExternalToolchainBootlinMips64r6eln32UclibcBleedingEdge(TestExternalToolchain):
  1161. config = """
  1162. BR2_mips64el=y
  1163. BR2_mips_64r6=y
  1164. BR2_MIPS_NABI32=y
  1165. # BR2_MIPS_SOFT_FLOAT is not set
  1166. BR2_TOOLCHAIN_EXTERNAL=y
  1167. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1168. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE=y
  1169. # BR2_TARGET_ROOTFS_TAR is not set
  1170. """
  1171. toolchain_prefix = "mips64el-linux"
  1172. def test_run(self):
  1173. TestExternalToolchain.common_check(self)
  1174. class TestExternalToolchainBootlinMips64r6eln32UclibcStable(TestExternalToolchain):
  1175. config = """
  1176. BR2_mips64el=y
  1177. BR2_mips_64r6=y
  1178. BR2_MIPS_NABI32=y
  1179. # BR2_MIPS_SOFT_FLOAT is not set
  1180. BR2_TOOLCHAIN_EXTERNAL=y
  1181. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1182. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE=y
  1183. # BR2_TARGET_ROOTFS_TAR is not set
  1184. """
  1185. toolchain_prefix = "mips64el-linux"
  1186. def test_run(self):
  1187. TestExternalToolchain.common_check(self)
  1188. class TestExternalToolchainBootlinNios2GlibcBleedingEdge(TestExternalToolchain):
  1189. config = """
  1190. BR2_nios2=y
  1191. BR2_TOOLCHAIN_EXTERNAL=y
  1192. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1193. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE=y
  1194. # BR2_TARGET_ROOTFS_TAR is not set
  1195. """
  1196. toolchain_prefix = "nios2-linux"
  1197. def test_run(self):
  1198. TestExternalToolchain.common_check(self)
  1199. class TestExternalToolchainBootlinNios2GlibcStable(TestExternalToolchain):
  1200. config = """
  1201. BR2_nios2=y
  1202. BR2_TOOLCHAIN_EXTERNAL=y
  1203. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1204. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE=y
  1205. # BR2_TARGET_ROOTFS_TAR is not set
  1206. """
  1207. toolchain_prefix = "nios2-linux"
  1208. def test_run(self):
  1209. TestExternalToolchain.common_check(self)
  1210. class TestExternalToolchainBootlinOpenriscMuslBleedingEdge(TestExternalToolchain):
  1211. config = """
  1212. BR2_or1k=y
  1213. BR2_TOOLCHAIN_EXTERNAL=y
  1214. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1215. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE=y
  1216. # BR2_TARGET_ROOTFS_TAR is not set
  1217. """
  1218. toolchain_prefix = "or1k-linux"
  1219. def test_run(self):
  1220. TestExternalToolchain.common_check(self)
  1221. class TestExternalToolchainBootlinOpenriscMuslStable(TestExternalToolchain):
  1222. config = """
  1223. BR2_or1k=y
  1224. BR2_TOOLCHAIN_EXTERNAL=y
  1225. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1226. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE=y
  1227. # BR2_TARGET_ROOTFS_TAR is not set
  1228. """
  1229. toolchain_prefix = "or1k-linux"
  1230. def test_run(self):
  1231. TestExternalToolchain.common_check(self)
  1232. class TestExternalToolchainBootlinOpenriscUclibcBleedingEdge(TestExternalToolchain):
  1233. config = """
  1234. BR2_or1k=y
  1235. BR2_TOOLCHAIN_EXTERNAL=y
  1236. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1237. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE=y
  1238. # BR2_TARGET_ROOTFS_TAR is not set
  1239. """
  1240. toolchain_prefix = "or1k-linux"
  1241. def test_run(self):
  1242. TestExternalToolchain.common_check(self)
  1243. class TestExternalToolchainBootlinOpenriscUclibcStable(TestExternalToolchain):
  1244. config = """
  1245. BR2_or1k=y
  1246. BR2_TOOLCHAIN_EXTERNAL=y
  1247. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1248. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE=y
  1249. # BR2_TARGET_ROOTFS_TAR is not set
  1250. """
  1251. toolchain_prefix = "or1k-linux"
  1252. def test_run(self):
  1253. TestExternalToolchain.common_check(self)
  1254. class TestExternalToolchainBootlinPowerpce500mcGlibcBleedingEdge(TestExternalToolchain):
  1255. config = """
  1256. BR2_powerpc=y
  1257. BR2_powerpc_e500mc=y
  1258. BR2_TOOLCHAIN_EXTERNAL=y
  1259. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1260. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE=y
  1261. # BR2_TARGET_ROOTFS_TAR is not set
  1262. """
  1263. toolchain_prefix = "powerpc-linux"
  1264. def test_run(self):
  1265. TestExternalToolchain.common_check(self)
  1266. class TestExternalToolchainBootlinPowerpce500mcGlibcStable(TestExternalToolchain):
  1267. config = """
  1268. BR2_powerpc=y
  1269. BR2_powerpc_e500mc=y
  1270. BR2_TOOLCHAIN_EXTERNAL=y
  1271. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1272. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE=y
  1273. # BR2_TARGET_ROOTFS_TAR is not set
  1274. """
  1275. toolchain_prefix = "powerpc-linux"
  1276. def test_run(self):
  1277. TestExternalToolchain.common_check(self)
  1278. class TestExternalToolchainBootlinPowerpce500mcMuslBleedingEdge(TestExternalToolchain):
  1279. config = """
  1280. BR2_powerpc=y
  1281. BR2_powerpc_e500mc=y
  1282. BR2_TOOLCHAIN_EXTERNAL=y
  1283. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1284. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE=y
  1285. # BR2_TARGET_ROOTFS_TAR is not set
  1286. """
  1287. toolchain_prefix = "powerpc-linux"
  1288. def test_run(self):
  1289. TestExternalToolchain.common_check(self)
  1290. class TestExternalToolchainBootlinPowerpce500mcMuslStable(TestExternalToolchain):
  1291. config = """
  1292. BR2_powerpc=y
  1293. BR2_powerpc_e500mc=y
  1294. BR2_TOOLCHAIN_EXTERNAL=y
  1295. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1296. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE=y
  1297. # BR2_TARGET_ROOTFS_TAR is not set
  1298. """
  1299. toolchain_prefix = "powerpc-linux"
  1300. def test_run(self):
  1301. TestExternalToolchain.common_check(self)
  1302. class TestExternalToolchainBootlinPowerpce500mcUclibcBleedingEdge(TestExternalToolchain):
  1303. config = """
  1304. BR2_powerpc=y
  1305. BR2_powerpc_e500mc=y
  1306. BR2_TOOLCHAIN_EXTERNAL=y
  1307. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1308. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE=y
  1309. # BR2_TARGET_ROOTFS_TAR is not set
  1310. """
  1311. toolchain_prefix = "powerpc-linux"
  1312. def test_run(self):
  1313. TestExternalToolchain.common_check(self)
  1314. class TestExternalToolchainBootlinPowerpce500mcUclibcStable(TestExternalToolchain):
  1315. config = """
  1316. BR2_powerpc=y
  1317. BR2_powerpc_e500mc=y
  1318. BR2_TOOLCHAIN_EXTERNAL=y
  1319. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1320. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE=y
  1321. # BR2_TARGET_ROOTFS_TAR is not set
  1322. """
  1323. toolchain_prefix = "powerpc-linux"
  1324. def test_run(self):
  1325. TestExternalToolchain.common_check(self)
  1326. class TestExternalToolchainBootlinPowerpc64e5500GlibcBleedingEdge(TestExternalToolchain):
  1327. config = """
  1328. BR2_powerpc64=y
  1329. BR2_powerpc_e5500=y
  1330. BR2_TOOLCHAIN_EXTERNAL=y
  1331. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1332. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE=y
  1333. # BR2_TARGET_ROOTFS_TAR is not set
  1334. """
  1335. toolchain_prefix = "powerpc64-linux"
  1336. def test_run(self):
  1337. TestExternalToolchain.common_check(self)
  1338. class TestExternalToolchainBootlinPowerpc64e5500GlibcStable(TestExternalToolchain):
  1339. config = """
  1340. BR2_powerpc64=y
  1341. BR2_powerpc_e5500=y
  1342. BR2_TOOLCHAIN_EXTERNAL=y
  1343. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1344. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE=y
  1345. # BR2_TARGET_ROOTFS_TAR is not set
  1346. """
  1347. toolchain_prefix = "powerpc64-linux"
  1348. def test_run(self):
  1349. TestExternalToolchain.common_check(self)
  1350. class TestExternalToolchainBootlinPowerpc64power8GlibcBleedingEdge(TestExternalToolchain):
  1351. config = """
  1352. BR2_powerpc64=y
  1353. BR2_powerpc_power8=y
  1354. BR2_TOOLCHAIN_EXTERNAL=y
  1355. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1356. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE=y
  1357. # BR2_TARGET_ROOTFS_TAR is not set
  1358. """
  1359. toolchain_prefix = "powerpc64-linux"
  1360. def test_run(self):
  1361. TestExternalToolchain.common_check(self)
  1362. class TestExternalToolchainBootlinPowerpc64power8GlibcStable(TestExternalToolchain):
  1363. config = """
  1364. BR2_powerpc64=y
  1365. BR2_powerpc_power8=y
  1366. BR2_TOOLCHAIN_EXTERNAL=y
  1367. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1368. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE=y
  1369. # BR2_TARGET_ROOTFS_TAR is not set
  1370. """
  1371. toolchain_prefix = "powerpc64-linux"
  1372. def test_run(self):
  1373. TestExternalToolchain.common_check(self)
  1374. class TestExternalToolchainBootlinPowerpc64power8MuslBleedingEdge(TestExternalToolchain):
  1375. config = """
  1376. BR2_powerpc64=y
  1377. BR2_powerpc_power8=y
  1378. BR2_TOOLCHAIN_EXTERNAL=y
  1379. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1380. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE=y
  1381. # BR2_TARGET_ROOTFS_TAR is not set
  1382. """
  1383. toolchain_prefix = "powerpc64-linux"
  1384. def test_run(self):
  1385. TestExternalToolchain.common_check(self)
  1386. class TestExternalToolchainBootlinPowerpc64power8MuslStable(TestExternalToolchain):
  1387. config = """
  1388. BR2_powerpc64=y
  1389. BR2_powerpc_power8=y
  1390. BR2_TOOLCHAIN_EXTERNAL=y
  1391. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1392. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE=y
  1393. # BR2_TARGET_ROOTFS_TAR is not set
  1394. """
  1395. toolchain_prefix = "powerpc64-linux"
  1396. def test_run(self):
  1397. TestExternalToolchain.common_check(self)
  1398. class TestExternalToolchainBootlinPowerpc64lepower8GlibcBleedingEdge(TestExternalToolchain):
  1399. config = """
  1400. BR2_powerpc64le=y
  1401. BR2_powerpc_power8=y
  1402. BR2_TOOLCHAIN_EXTERNAL=y
  1403. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1404. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE=y
  1405. # BR2_TARGET_ROOTFS_TAR is not set
  1406. """
  1407. toolchain_prefix = "powerpc64le-linux"
  1408. def test_run(self):
  1409. TestExternalToolchain.common_check(self)
  1410. class TestExternalToolchainBootlinPowerpc64lepower8GlibcStable(TestExternalToolchain):
  1411. config = """
  1412. BR2_powerpc64le=y
  1413. BR2_powerpc_power8=y
  1414. BR2_TOOLCHAIN_EXTERNAL=y
  1415. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1416. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE=y
  1417. # BR2_TARGET_ROOTFS_TAR is not set
  1418. """
  1419. toolchain_prefix = "powerpc64le-linux"
  1420. def test_run(self):
  1421. TestExternalToolchain.common_check(self)
  1422. class TestExternalToolchainBootlinPowerpc64lepower8MuslBleedingEdge(TestExternalToolchain):
  1423. config = """
  1424. BR2_powerpc64le=y
  1425. BR2_powerpc_power8=y
  1426. BR2_TOOLCHAIN_EXTERNAL=y
  1427. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1428. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE=y
  1429. # BR2_TARGET_ROOTFS_TAR is not set
  1430. """
  1431. toolchain_prefix = "powerpc64le-linux"
  1432. def test_run(self):
  1433. TestExternalToolchain.common_check(self)
  1434. class TestExternalToolchainBootlinPowerpc64lepower8MuslStable(TestExternalToolchain):
  1435. config = """
  1436. BR2_powerpc64le=y
  1437. BR2_powerpc_power8=y
  1438. BR2_TOOLCHAIN_EXTERNAL=y
  1439. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1440. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE=y
  1441. # BR2_TARGET_ROOTFS_TAR is not set
  1442. """
  1443. toolchain_prefix = "powerpc64le-linux"
  1444. def test_run(self):
  1445. TestExternalToolchain.common_check(self)
  1446. class TestExternalToolchainBootlinRiscv32ilp32dGlibcBleedingEdge(TestExternalToolchain):
  1447. config = """
  1448. BR2_riscv=y
  1449. BR2_riscv_g=y
  1450. BR2_RISCV_32=y
  1451. BR2_RISCV_ABI_ILP32D=y
  1452. BR2_TOOLCHAIN_EXTERNAL=y
  1453. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1454. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE=y
  1455. # BR2_TARGET_ROOTFS_TAR is not set
  1456. """
  1457. toolchain_prefix = "riscv32-linux"
  1458. def test_run(self):
  1459. TestExternalToolchain.common_check(self)
  1460. class TestExternalToolchainBootlinRiscv64GlibcBleedingEdge(TestExternalToolchain):
  1461. config = """
  1462. BR2_riscv=y
  1463. BR2_riscv_g=y
  1464. BR2_RISCV_64=y
  1465. BR2_RISCV_ABI_LP64=y
  1466. BR2_TOOLCHAIN_EXTERNAL=y
  1467. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1468. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE=y
  1469. # BR2_TARGET_ROOTFS_TAR is not set
  1470. """
  1471. toolchain_prefix = "riscv64-linux"
  1472. def test_run(self):
  1473. TestExternalToolchain.common_check(self)
  1474. class TestExternalToolchainBootlinRiscv64MuslBleedingEdge(TestExternalToolchain):
  1475. config = """
  1476. BR2_riscv=y
  1477. BR2_riscv_g=y
  1478. BR2_RISCV_64=y
  1479. BR2_RISCV_ABI_LP64=y
  1480. BR2_TOOLCHAIN_EXTERNAL=y
  1481. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1482. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE=y
  1483. # BR2_TARGET_ROOTFS_TAR is not set
  1484. """
  1485. toolchain_prefix = "riscv64-linux"
  1486. def test_run(self):
  1487. TestExternalToolchain.common_check(self)
  1488. class TestExternalToolchainBootlinShsh4GlibcBleedingEdge(TestExternalToolchain):
  1489. config = """
  1490. BR2_sh=y
  1491. BR2_sh4=y
  1492. BR2_TOOLCHAIN_EXTERNAL=y
  1493. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1494. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE=y
  1495. # BR2_TARGET_ROOTFS_TAR is not set
  1496. """
  1497. toolchain_prefix = "sh4-linux"
  1498. def test_run(self):
  1499. TestExternalToolchain.common_check(self)
  1500. class TestExternalToolchainBootlinShsh4GlibcStable(TestExternalToolchain):
  1501. config = """
  1502. BR2_sh=y
  1503. BR2_sh4=y
  1504. BR2_TOOLCHAIN_EXTERNAL=y
  1505. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1506. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE=y
  1507. # BR2_TARGET_ROOTFS_TAR is not set
  1508. """
  1509. toolchain_prefix = "sh4-linux"
  1510. def test_run(self):
  1511. TestExternalToolchain.common_check(self)
  1512. class TestExternalToolchainBootlinShsh4MuslBleedingEdge(TestExternalToolchain):
  1513. config = """
  1514. BR2_sh=y
  1515. BR2_sh4=y
  1516. BR2_TOOLCHAIN_EXTERNAL=y
  1517. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1518. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE=y
  1519. # BR2_TARGET_ROOTFS_TAR is not set
  1520. """
  1521. toolchain_prefix = "sh4-linux"
  1522. def test_run(self):
  1523. TestExternalToolchain.common_check(self)
  1524. class TestExternalToolchainBootlinShsh4MuslStable(TestExternalToolchain):
  1525. config = """
  1526. BR2_sh=y
  1527. BR2_sh4=y
  1528. BR2_TOOLCHAIN_EXTERNAL=y
  1529. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1530. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE=y
  1531. # BR2_TARGET_ROOTFS_TAR is not set
  1532. """
  1533. toolchain_prefix = "sh4-linux"
  1534. def test_run(self):
  1535. TestExternalToolchain.common_check(self)
  1536. class TestExternalToolchainBootlinShsh4UclibcBleedingEdge(TestExternalToolchain):
  1537. config = """
  1538. BR2_sh=y
  1539. BR2_sh4=y
  1540. BR2_TOOLCHAIN_EXTERNAL=y
  1541. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1542. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE=y
  1543. # BR2_TARGET_ROOTFS_TAR is not set
  1544. """
  1545. toolchain_prefix = "sh4-linux"
  1546. def test_run(self):
  1547. TestExternalToolchain.common_check(self)
  1548. class TestExternalToolchainBootlinShsh4UclibcStable(TestExternalToolchain):
  1549. config = """
  1550. BR2_sh=y
  1551. BR2_sh4=y
  1552. BR2_TOOLCHAIN_EXTERNAL=y
  1553. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1554. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE=y
  1555. # BR2_TARGET_ROOTFS_TAR is not set
  1556. """
  1557. toolchain_prefix = "sh4-linux"
  1558. def test_run(self):
  1559. TestExternalToolchain.common_check(self)
  1560. class TestExternalToolchainBootlinShsh4aebGlibcBleedingEdge(TestExternalToolchain):
  1561. config = """
  1562. BR2_sh=y
  1563. BR2_sh4aeb=y
  1564. BR2_TOOLCHAIN_EXTERNAL=y
  1565. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1566. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE=y
  1567. # BR2_TARGET_ROOTFS_TAR is not set
  1568. """
  1569. toolchain_prefix = "sh4aeb-linux"
  1570. def test_run(self):
  1571. TestExternalToolchain.common_check(self)
  1572. class TestExternalToolchainBootlinShsh4aebGlibcStable(TestExternalToolchain):
  1573. config = """
  1574. BR2_sh=y
  1575. BR2_sh4aeb=y
  1576. BR2_TOOLCHAIN_EXTERNAL=y
  1577. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1578. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE=y
  1579. # BR2_TARGET_ROOTFS_TAR is not set
  1580. """
  1581. toolchain_prefix = "sh4aeb-linux"
  1582. def test_run(self):
  1583. TestExternalToolchain.common_check(self)
  1584. class TestExternalToolchainBootlinShsh4aebMuslBleedingEdge(TestExternalToolchain):
  1585. config = """
  1586. BR2_sh=y
  1587. BR2_sh4aeb=y
  1588. BR2_TOOLCHAIN_EXTERNAL=y
  1589. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1590. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE=y
  1591. # BR2_TARGET_ROOTFS_TAR is not set
  1592. """
  1593. toolchain_prefix = "sh4aeb-linux"
  1594. def test_run(self):
  1595. TestExternalToolchain.common_check(self)
  1596. class TestExternalToolchainBootlinShsh4aebMuslStable(TestExternalToolchain):
  1597. config = """
  1598. BR2_sh=y
  1599. BR2_sh4aeb=y
  1600. BR2_TOOLCHAIN_EXTERNAL=y
  1601. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1602. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE=y
  1603. # BR2_TARGET_ROOTFS_TAR is not set
  1604. """
  1605. toolchain_prefix = "sh4aeb-linux"
  1606. def test_run(self):
  1607. TestExternalToolchain.common_check(self)
  1608. class TestExternalToolchainBootlinSparc64GlibcBleedingEdge(TestExternalToolchain):
  1609. config = """
  1610. BR2_sparc64=y
  1611. BR2_sparc_v9=y
  1612. BR2_TOOLCHAIN_EXTERNAL=y
  1613. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1614. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE=y
  1615. # BR2_TARGET_ROOTFS_TAR is not set
  1616. """
  1617. toolchain_prefix = "sparc64-linux"
  1618. def test_run(self):
  1619. TestExternalToolchain.common_check(self)
  1620. class TestExternalToolchainBootlinSparc64GlibcStable(TestExternalToolchain):
  1621. config = """
  1622. BR2_sparc64=y
  1623. BR2_sparc_v9=y
  1624. BR2_TOOLCHAIN_EXTERNAL=y
  1625. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1626. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE=y
  1627. # BR2_TARGET_ROOTFS_TAR is not set
  1628. """
  1629. toolchain_prefix = "sparc64-linux"
  1630. def test_run(self):
  1631. TestExternalToolchain.common_check(self)
  1632. class TestExternalToolchainBootlinSparcv8UclibcBleedingEdge(TestExternalToolchain):
  1633. config = """
  1634. BR2_sparc=y
  1635. BR2_sparc_v8=y
  1636. BR2_TOOLCHAIN_EXTERNAL=y
  1637. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1638. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE=y
  1639. # BR2_TARGET_ROOTFS_TAR is not set
  1640. """
  1641. toolchain_prefix = "sparc-linux"
  1642. def test_run(self):
  1643. TestExternalToolchain.common_check(self)
  1644. class TestExternalToolchainBootlinSparcv8UclibcStable(TestExternalToolchain):
  1645. config = """
  1646. BR2_sparc=y
  1647. BR2_sparc_v8=y
  1648. BR2_TOOLCHAIN_EXTERNAL=y
  1649. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1650. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE=y
  1651. # BR2_TARGET_ROOTFS_TAR is not set
  1652. """
  1653. toolchain_prefix = "sparc-linux"
  1654. def test_run(self):
  1655. TestExternalToolchain.common_check(self)
  1656. class TestExternalToolchainBootlinX8664corei7GlibcBleedingEdge(TestExternalToolchain):
  1657. config = """
  1658. BR2_x86_64=y
  1659. BR2_x86_corei7=y
  1660. BR2_TOOLCHAIN_EXTERNAL=y
  1661. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1662. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y
  1663. # BR2_TARGET_ROOTFS_TAR is not set
  1664. """
  1665. toolchain_prefix = "x86_64-linux"
  1666. def test_run(self):
  1667. TestExternalToolchain.common_check(self)
  1668. class TestExternalToolchainBootlinX8664corei7GlibcStable(TestExternalToolchain):
  1669. config = """
  1670. BR2_x86_64=y
  1671. BR2_x86_corei7=y
  1672. BR2_TOOLCHAIN_EXTERNAL=y
  1673. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1674. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y
  1675. # BR2_TARGET_ROOTFS_TAR is not set
  1676. """
  1677. toolchain_prefix = "x86_64-linux"
  1678. def test_run(self):
  1679. TestExternalToolchain.common_check(self)
  1680. class TestExternalToolchainBootlinX8664corei7MuslBleedingEdge(TestExternalToolchain):
  1681. config = """
  1682. BR2_x86_64=y
  1683. BR2_x86_corei7=y
  1684. BR2_TOOLCHAIN_EXTERNAL=y
  1685. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1686. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE=y
  1687. # BR2_TARGET_ROOTFS_TAR is not set
  1688. """
  1689. toolchain_prefix = "x86_64-linux"
  1690. def test_run(self):
  1691. TestExternalToolchain.common_check(self)
  1692. class TestExternalToolchainBootlinX8664corei7MuslStable(TestExternalToolchain):
  1693. config = """
  1694. BR2_x86_64=y
  1695. BR2_x86_corei7=y
  1696. BR2_TOOLCHAIN_EXTERNAL=y
  1697. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1698. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE=y
  1699. # BR2_TARGET_ROOTFS_TAR is not set
  1700. """
  1701. toolchain_prefix = "x86_64-linux"
  1702. def test_run(self):
  1703. TestExternalToolchain.common_check(self)
  1704. class TestExternalToolchainBootlinX8664corei7UclibcBleedingEdge(TestExternalToolchain):
  1705. config = """
  1706. BR2_x86_64=y
  1707. BR2_x86_corei7=y
  1708. BR2_TOOLCHAIN_EXTERNAL=y
  1709. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1710. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE=y
  1711. # BR2_TARGET_ROOTFS_TAR is not set
  1712. """
  1713. toolchain_prefix = "x86_64-linux"
  1714. def test_run(self):
  1715. TestExternalToolchain.common_check(self)
  1716. class TestExternalToolchainBootlinX8664corei7UclibcStable(TestExternalToolchain):
  1717. config = """
  1718. BR2_x86_64=y
  1719. BR2_x86_corei7=y
  1720. BR2_TOOLCHAIN_EXTERNAL=y
  1721. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1722. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y
  1723. # BR2_TARGET_ROOTFS_TAR is not set
  1724. """
  1725. toolchain_prefix = "x86_64-linux"
  1726. def test_run(self):
  1727. TestExternalToolchain.common_check(self)
  1728. class TestExternalToolchainBootlinX86core2GlibcBleedingEdge(TestExternalToolchain):
  1729. config = """
  1730. BR2_i386=y
  1731. BR2_x86_core2=y
  1732. BR2_TOOLCHAIN_EXTERNAL=y
  1733. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1734. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE=y
  1735. # BR2_TARGET_ROOTFS_TAR is not set
  1736. """
  1737. toolchain_prefix = "i686-linux"
  1738. def test_run(self):
  1739. TestExternalToolchain.common_check(self)
  1740. class TestExternalToolchainBootlinX86core2GlibcStable(TestExternalToolchain):
  1741. config = """
  1742. BR2_i386=y
  1743. BR2_x86_core2=y
  1744. BR2_TOOLCHAIN_EXTERNAL=y
  1745. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1746. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y
  1747. # BR2_TARGET_ROOTFS_TAR is not set
  1748. """
  1749. toolchain_prefix = "i686-linux"
  1750. def test_run(self):
  1751. TestExternalToolchain.common_check(self)
  1752. class TestExternalToolchainBootlinX86core2MuslBleedingEdge(TestExternalToolchain):
  1753. config = """
  1754. BR2_i386=y
  1755. BR2_x86_core2=y
  1756. BR2_TOOLCHAIN_EXTERNAL=y
  1757. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1758. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE=y
  1759. # BR2_TARGET_ROOTFS_TAR is not set
  1760. """
  1761. toolchain_prefix = "i686-linux"
  1762. def test_run(self):
  1763. TestExternalToolchain.common_check(self)
  1764. class TestExternalToolchainBootlinX86core2MuslStable(TestExternalToolchain):
  1765. config = """
  1766. BR2_i386=y
  1767. BR2_x86_core2=y
  1768. BR2_TOOLCHAIN_EXTERNAL=y
  1769. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1770. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE=y
  1771. # BR2_TARGET_ROOTFS_TAR is not set
  1772. """
  1773. toolchain_prefix = "i686-linux"
  1774. def test_run(self):
  1775. TestExternalToolchain.common_check(self)
  1776. class TestExternalToolchainBootlinX86core2UclibcBleedingEdge(TestExternalToolchain):
  1777. config = """
  1778. BR2_i386=y
  1779. BR2_x86_core2=y
  1780. BR2_TOOLCHAIN_EXTERNAL=y
  1781. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1782. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE=y
  1783. # BR2_TARGET_ROOTFS_TAR is not set
  1784. """
  1785. toolchain_prefix = "i686-linux"
  1786. def test_run(self):
  1787. TestExternalToolchain.common_check(self)
  1788. class TestExternalToolchainBootlinX86core2UclibcStable(TestExternalToolchain):
  1789. config = """
  1790. BR2_i386=y
  1791. BR2_x86_core2=y
  1792. BR2_TOOLCHAIN_EXTERNAL=y
  1793. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1794. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE=y
  1795. # BR2_TARGET_ROOTFS_TAR is not set
  1796. """
  1797. toolchain_prefix = "i686-linux"
  1798. def test_run(self):
  1799. TestExternalToolchain.common_check(self)
  1800. class TestExternalToolchainBootlinX86i686GlibcBleedingEdge(TestExternalToolchain):
  1801. config = """
  1802. BR2_i386=y
  1803. BR2_x86_i686=y
  1804. BR2_TOOLCHAIN_EXTERNAL=y
  1805. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1806. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE=y
  1807. # BR2_TARGET_ROOTFS_TAR is not set
  1808. """
  1809. toolchain_prefix = "i686-linux"
  1810. def test_run(self):
  1811. TestExternalToolchain.common_check(self)
  1812. class TestExternalToolchainBootlinX86i686GlibcStable(TestExternalToolchain):
  1813. config = """
  1814. BR2_i386=y
  1815. BR2_x86_i686=y
  1816. BR2_TOOLCHAIN_EXTERNAL=y
  1817. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1818. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE=y
  1819. # BR2_TARGET_ROOTFS_TAR is not set
  1820. """
  1821. toolchain_prefix = "i686-linux"
  1822. def test_run(self):
  1823. TestExternalToolchain.common_check(self)
  1824. class TestExternalToolchainBootlinX86i686MuslBleedingEdge(TestExternalToolchain):
  1825. config = """
  1826. BR2_i386=y
  1827. BR2_x86_i686=y
  1828. BR2_TOOLCHAIN_EXTERNAL=y
  1829. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1830. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE=y
  1831. # BR2_TARGET_ROOTFS_TAR is not set
  1832. """
  1833. toolchain_prefix = "i686-linux"
  1834. def test_run(self):
  1835. TestExternalToolchain.common_check(self)
  1836. class TestExternalToolchainBootlinX86i686MuslStable(TestExternalToolchain):
  1837. config = """
  1838. BR2_i386=y
  1839. BR2_x86_i686=y
  1840. BR2_TOOLCHAIN_EXTERNAL=y
  1841. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1842. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE=y
  1843. # BR2_TARGET_ROOTFS_TAR is not set
  1844. """
  1845. toolchain_prefix = "i686-linux"
  1846. def test_run(self):
  1847. TestExternalToolchain.common_check(self)
  1848. class TestExternalToolchainBootlinX86i686UclibcBleedingEdge(TestExternalToolchain):
  1849. config = """
  1850. BR2_i386=y
  1851. BR2_x86_i686=y
  1852. BR2_TOOLCHAIN_EXTERNAL=y
  1853. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1854. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE=y
  1855. # BR2_TARGET_ROOTFS_TAR is not set
  1856. """
  1857. toolchain_prefix = "i686-linux"
  1858. def test_run(self):
  1859. TestExternalToolchain.common_check(self)
  1860. class TestExternalToolchainBootlinX86i686UclibcStable(TestExternalToolchain):
  1861. config = """
  1862. BR2_i386=y
  1863. BR2_x86_i686=y
  1864. BR2_TOOLCHAIN_EXTERNAL=y
  1865. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1866. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE=y
  1867. # BR2_TARGET_ROOTFS_TAR is not set
  1868. """
  1869. toolchain_prefix = "i686-linux"
  1870. def test_run(self):
  1871. TestExternalToolchain.common_check(self)
  1872. class TestExternalToolchainBootlinXtensalx60UclibcBleedingEdge(TestExternalToolchain):
  1873. config = """
  1874. BR2_xtensa=y
  1875. BR2_xtensa_fsf=y
  1876. BR2_TOOLCHAIN_EXTERNAL=y
  1877. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1878. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE=y
  1879. # BR2_TARGET_ROOTFS_TAR is not set
  1880. """
  1881. toolchain_prefix = "xtensa-linux"
  1882. def test_run(self):
  1883. TestExternalToolchain.common_check(self)
  1884. class TestExternalToolchainBootlinXtensalx60UclibcStable(TestExternalToolchain):
  1885. config = """
  1886. BR2_xtensa=y
  1887. BR2_xtensa_fsf=y
  1888. BR2_TOOLCHAIN_EXTERNAL=y
  1889. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1890. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE=y
  1891. # BR2_TARGET_ROOTFS_TAR is not set
  1892. """
  1893. toolchain_prefix = "xtensa-linux"
  1894. def test_run(self):
  1895. TestExternalToolchain.common_check(self)