test_external_bootlin.py 100 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359
  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 TestExternalToolchainBootlinAarch64beMuslBleedingEdge(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_MUSL_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 TestExternalToolchainBootlinAarch64beMuslStable(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_MUSL_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 TestExternalToolchainBootlinAarch64beUclibcBleedingEdge(TestExternalToolchain):
  115. config = """
  116. BR2_aarch64_be=y
  117. BR2_TOOLCHAIN_EXTERNAL=y
  118. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  119. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE=y
  120. # BR2_TARGET_ROOTFS_TAR is not set
  121. """
  122. toolchain_prefix = "aarch64_be-linux"
  123. def test_run(self):
  124. TestExternalToolchain.common_check(self)
  125. class TestExternalToolchainBootlinAarch64beUclibcStable(TestExternalToolchain):
  126. config = """
  127. BR2_aarch64_be=y
  128. BR2_TOOLCHAIN_EXTERNAL=y
  129. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  130. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE=y
  131. # BR2_TARGET_ROOTFS_TAR is not set
  132. """
  133. toolchain_prefix = "aarch64_be-linux"
  134. def test_run(self):
  135. TestExternalToolchain.common_check(self)
  136. class TestExternalToolchainBootlinArcle750dUclibcBleedingEdge(TestExternalToolchain):
  137. config = """
  138. BR2_arcle=y
  139. BR2_arc750d=y
  140. BR2_TOOLCHAIN_EXTERNAL=y
  141. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  142. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE=y
  143. # BR2_TARGET_ROOTFS_TAR is not set
  144. """
  145. toolchain_prefix = "arc-linux"
  146. def test_run(self):
  147. TestExternalToolchain.common_check(self)
  148. class TestExternalToolchainBootlinArcle750dUclibcStable(TestExternalToolchain):
  149. config = """
  150. BR2_arcle=y
  151. BR2_arc750d=y
  152. BR2_TOOLCHAIN_EXTERNAL=y
  153. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  154. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE=y
  155. # BR2_TARGET_ROOTFS_TAR is not set
  156. """
  157. toolchain_prefix = "arc-linux"
  158. def test_run(self):
  159. TestExternalToolchain.common_check(self)
  160. class TestExternalToolchainBootlinArclehs38GlibcBleedingEdge(TestExternalToolchain):
  161. config = """
  162. BR2_arcle=y
  163. BR2_archs38=y
  164. BR2_TOOLCHAIN_EXTERNAL=y
  165. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  166. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE=y
  167. # BR2_TARGET_ROOTFS_TAR is not set
  168. """
  169. toolchain_prefix = "arc-linux"
  170. def test_run(self):
  171. TestExternalToolchain.common_check(self)
  172. class TestExternalToolchainBootlinArclehs38GlibcStable(TestExternalToolchain):
  173. config = """
  174. BR2_arcle=y
  175. BR2_archs38=y
  176. BR2_TOOLCHAIN_EXTERNAL=y
  177. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  178. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE=y
  179. # BR2_TARGET_ROOTFS_TAR is not set
  180. """
  181. toolchain_prefix = "arc-linux"
  182. def test_run(self):
  183. TestExternalToolchain.common_check(self)
  184. class TestExternalToolchainBootlinArclehs38UclibcBleedingEdge(TestExternalToolchain):
  185. config = """
  186. BR2_arcle=y
  187. BR2_archs38=y
  188. BR2_TOOLCHAIN_EXTERNAL=y
  189. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  190. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE=y
  191. # BR2_TARGET_ROOTFS_TAR is not set
  192. """
  193. toolchain_prefix = "arc-linux"
  194. def test_run(self):
  195. TestExternalToolchain.common_check(self)
  196. class TestExternalToolchainBootlinArclehs38UclibcStable(TestExternalToolchain):
  197. config = """
  198. BR2_arcle=y
  199. BR2_archs38=y
  200. BR2_TOOLCHAIN_EXTERNAL=y
  201. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  202. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE=y
  203. # BR2_TARGET_ROOTFS_TAR is not set
  204. """
  205. toolchain_prefix = "arc-linux"
  206. def test_run(self):
  207. TestExternalToolchain.common_check(self)
  208. class TestExternalToolchainBootlinArmv5eabiGlibcBleedingEdge(TestExternalToolchain):
  209. config = """
  210. BR2_arm=y
  211. BR2_arm926t=y
  212. BR2_ARM_EABI=y
  213. BR2_TOOLCHAIN_EXTERNAL=y
  214. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  215. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE=y
  216. # BR2_TARGET_ROOTFS_TAR is not set
  217. """
  218. toolchain_prefix = "arm-linux"
  219. def test_run(self):
  220. TestExternalToolchain.common_check(self)
  221. class TestExternalToolchainBootlinArmv5eabiGlibcStable(TestExternalToolchain):
  222. config = """
  223. BR2_arm=y
  224. BR2_arm926t=y
  225. BR2_ARM_EABI=y
  226. BR2_TOOLCHAIN_EXTERNAL=y
  227. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  228. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y
  229. # BR2_TARGET_ROOTFS_TAR is not set
  230. """
  231. toolchain_prefix = "arm-linux"
  232. def test_run(self):
  233. TestExternalToolchain.common_check(self)
  234. class TestExternalToolchainBootlinArmv5eabiMuslBleedingEdge(TestExternalToolchain):
  235. config = """
  236. BR2_arm=y
  237. BR2_arm926t=y
  238. BR2_ARM_EABI=y
  239. BR2_TOOLCHAIN_EXTERNAL=y
  240. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  241. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE=y
  242. # BR2_TARGET_ROOTFS_TAR is not set
  243. """
  244. toolchain_prefix = "arm-linux"
  245. def test_run(self):
  246. TestExternalToolchain.common_check(self)
  247. class TestExternalToolchainBootlinArmv5eabiMuslStable(TestExternalToolchain):
  248. config = """
  249. BR2_arm=y
  250. BR2_arm926t=y
  251. BR2_ARM_EABI=y
  252. BR2_TOOLCHAIN_EXTERNAL=y
  253. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  254. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE=y
  255. # BR2_TARGET_ROOTFS_TAR is not set
  256. """
  257. toolchain_prefix = "arm-linux"
  258. def test_run(self):
  259. TestExternalToolchain.common_check(self)
  260. class TestExternalToolchainBootlinArmv5eabiUclibcBleedingEdge(TestExternalToolchain):
  261. config = """
  262. BR2_arm=y
  263. BR2_arm926t=y
  264. BR2_ARM_EABI=y
  265. BR2_TOOLCHAIN_EXTERNAL=y
  266. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  267. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE=y
  268. # BR2_TARGET_ROOTFS_TAR is not set
  269. """
  270. toolchain_prefix = "arm-linux"
  271. def test_run(self):
  272. TestExternalToolchain.common_check(self)
  273. class TestExternalToolchainBootlinArmv5eabiUclibcStable(TestExternalToolchain):
  274. config = """
  275. BR2_arm=y
  276. BR2_arm926t=y
  277. BR2_ARM_EABI=y
  278. BR2_TOOLCHAIN_EXTERNAL=y
  279. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  280. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE=y
  281. # BR2_TARGET_ROOTFS_TAR is not set
  282. """
  283. toolchain_prefix = "arm-linux"
  284. def test_run(self):
  285. TestExternalToolchain.common_check(self)
  286. class TestExternalToolchainBootlinArmv6eabihfGlibcBleedingEdge(TestExternalToolchain):
  287. config = """
  288. BR2_arm=y
  289. BR2_arm1176jzf_s=y
  290. BR2_ARM_EABIHF=y
  291. BR2_TOOLCHAIN_EXTERNAL=y
  292. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  293. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE=y
  294. # BR2_TARGET_ROOTFS_TAR is not set
  295. """
  296. toolchain_prefix = "arm-linux"
  297. def test_run(self):
  298. TestExternalToolchain.common_check(self)
  299. class TestExternalToolchainBootlinArmv6eabihfGlibcStable(TestExternalToolchain):
  300. config = """
  301. BR2_arm=y
  302. BR2_arm1176jzf_s=y
  303. BR2_ARM_EABIHF=y
  304. BR2_TOOLCHAIN_EXTERNAL=y
  305. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  306. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE=y
  307. # BR2_TARGET_ROOTFS_TAR is not set
  308. """
  309. toolchain_prefix = "arm-linux"
  310. def test_run(self):
  311. TestExternalToolchain.common_check(self)
  312. class TestExternalToolchainBootlinArmv6eabihfMuslBleedingEdge(TestExternalToolchain):
  313. config = """
  314. BR2_arm=y
  315. BR2_arm1176jzf_s=y
  316. BR2_ARM_EABIHF=y
  317. BR2_TOOLCHAIN_EXTERNAL=y
  318. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  319. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE=y
  320. # BR2_TARGET_ROOTFS_TAR is not set
  321. """
  322. toolchain_prefix = "arm-linux"
  323. def test_run(self):
  324. TestExternalToolchain.common_check(self)
  325. class TestExternalToolchainBootlinArmv6eabihfMuslStable(TestExternalToolchain):
  326. config = """
  327. BR2_arm=y
  328. BR2_arm1176jzf_s=y
  329. BR2_ARM_EABIHF=y
  330. BR2_TOOLCHAIN_EXTERNAL=y
  331. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  332. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE=y
  333. # BR2_TARGET_ROOTFS_TAR is not set
  334. """
  335. toolchain_prefix = "arm-linux"
  336. def test_run(self):
  337. TestExternalToolchain.common_check(self)
  338. class TestExternalToolchainBootlinArmv6eabihfUclibcBleedingEdge(TestExternalToolchain):
  339. config = """
  340. BR2_arm=y
  341. BR2_arm1176jzf_s=y
  342. BR2_ARM_EABIHF=y
  343. BR2_TOOLCHAIN_EXTERNAL=y
  344. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  345. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE=y
  346. # BR2_TARGET_ROOTFS_TAR is not set
  347. """
  348. toolchain_prefix = "arm-linux"
  349. def test_run(self):
  350. TestExternalToolchain.common_check(self)
  351. class TestExternalToolchainBootlinArmv6eabihfUclibcStable(TestExternalToolchain):
  352. config = """
  353. BR2_arm=y
  354. BR2_arm1176jzf_s=y
  355. BR2_ARM_EABIHF=y
  356. BR2_TOOLCHAIN_EXTERNAL=y
  357. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  358. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE=y
  359. # BR2_TARGET_ROOTFS_TAR is not set
  360. """
  361. toolchain_prefix = "arm-linux"
  362. def test_run(self):
  363. TestExternalToolchain.common_check(self)
  364. class TestExternalToolchainBootlinArmv7eabihfGlibcBleedingEdge(TestExternalToolchain):
  365. config = """
  366. BR2_arm=y
  367. BR2_cortex_a8=y
  368. BR2_ARM_EABIHF=y
  369. BR2_TOOLCHAIN_EXTERNAL=y
  370. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  371. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE=y
  372. # BR2_TARGET_ROOTFS_TAR is not set
  373. """
  374. toolchain_prefix = "arm-linux"
  375. def test_run(self):
  376. TestExternalToolchain.common_check(self)
  377. class TestExternalToolchainBootlinArmv7eabihfGlibcStable(TestExternalToolchain):
  378. config = """
  379. BR2_arm=y
  380. BR2_cortex_a8=y
  381. BR2_ARM_EABIHF=y
  382. BR2_TOOLCHAIN_EXTERNAL=y
  383. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  384. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y
  385. # BR2_TARGET_ROOTFS_TAR is not set
  386. """
  387. toolchain_prefix = "arm-linux"
  388. def test_run(self):
  389. TestExternalToolchain.common_check(self)
  390. class TestExternalToolchainBootlinArmv7eabihfMuslBleedingEdge(TestExternalToolchain):
  391. config = """
  392. BR2_arm=y
  393. BR2_cortex_a8=y
  394. BR2_ARM_EABIHF=y
  395. BR2_TOOLCHAIN_EXTERNAL=y
  396. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  397. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE=y
  398. # BR2_TARGET_ROOTFS_TAR is not set
  399. """
  400. toolchain_prefix = "arm-linux"
  401. def test_run(self):
  402. TestExternalToolchain.common_check(self)
  403. class TestExternalToolchainBootlinArmv7eabihfMuslStable(TestExternalToolchain):
  404. config = """
  405. BR2_arm=y
  406. BR2_cortex_a8=y
  407. BR2_ARM_EABIHF=y
  408. BR2_TOOLCHAIN_EXTERNAL=y
  409. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  410. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE=y
  411. # BR2_TARGET_ROOTFS_TAR is not set
  412. """
  413. toolchain_prefix = "arm-linux"
  414. def test_run(self):
  415. TestExternalToolchain.common_check(self)
  416. class TestExternalToolchainBootlinArmv7eabihfUclibcBleedingEdge(TestExternalToolchain):
  417. config = """
  418. BR2_arm=y
  419. BR2_cortex_a8=y
  420. BR2_ARM_EABIHF=y
  421. BR2_TOOLCHAIN_EXTERNAL=y
  422. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  423. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE=y
  424. # BR2_TARGET_ROOTFS_TAR is not set
  425. """
  426. toolchain_prefix = "arm-linux"
  427. def test_run(self):
  428. TestExternalToolchain.common_check(self)
  429. class TestExternalToolchainBootlinArmv7eabihfUclibcStable(TestExternalToolchain):
  430. config = """
  431. BR2_arm=y
  432. BR2_cortex_a8=y
  433. BR2_ARM_EABIHF=y
  434. BR2_TOOLCHAIN_EXTERNAL=y
  435. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  436. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE=y
  437. # BR2_TARGET_ROOTFS_TAR is not set
  438. """
  439. toolchain_prefix = "arm-linux"
  440. def test_run(self):
  441. TestExternalToolchain.common_check(self)
  442. class TestExternalToolchainBootlinArmebv7eabihfGlibcBleedingEdge(TestExternalToolchain):
  443. config = """
  444. BR2_armeb=y
  445. BR2_cortex_a8=y
  446. BR2_ARM_EABIHF=y
  447. BR2_TOOLCHAIN_EXTERNAL=y
  448. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  449. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMEBV7_EABIHF_GLIBC_BLEEDING_EDGE=y
  450. # BR2_TARGET_ROOTFS_TAR is not set
  451. """
  452. toolchain_prefix = "armeb-linux"
  453. def test_run(self):
  454. TestExternalToolchain.common_check(self)
  455. class TestExternalToolchainBootlinArmebv7eabihfGlibcStable(TestExternalToolchain):
  456. config = """
  457. BR2_armeb=y
  458. BR2_cortex_a8=y
  459. BR2_ARM_EABIHF=y
  460. BR2_TOOLCHAIN_EXTERNAL=y
  461. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  462. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMEBV7_EABIHF_GLIBC_STABLE=y
  463. # BR2_TARGET_ROOTFS_TAR is not set
  464. """
  465. toolchain_prefix = "armeb-linux"
  466. def test_run(self):
  467. TestExternalToolchain.common_check(self)
  468. class TestExternalToolchainBootlinArmebv7eabihfMuslBleedingEdge(TestExternalToolchain):
  469. config = """
  470. BR2_armeb=y
  471. BR2_cortex_a8=y
  472. BR2_ARM_EABIHF=y
  473. BR2_TOOLCHAIN_EXTERNAL=y
  474. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  475. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMEBV7_EABIHF_MUSL_BLEEDING_EDGE=y
  476. # BR2_TARGET_ROOTFS_TAR is not set
  477. """
  478. toolchain_prefix = "armeb-linux"
  479. def test_run(self):
  480. TestExternalToolchain.common_check(self)
  481. class TestExternalToolchainBootlinArmebv7eabihfMuslStable(TestExternalToolchain):
  482. config = """
  483. BR2_armeb=y
  484. BR2_cortex_a8=y
  485. BR2_ARM_EABIHF=y
  486. BR2_TOOLCHAIN_EXTERNAL=y
  487. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  488. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMEBV7_EABIHF_MUSL_STABLE=y
  489. # BR2_TARGET_ROOTFS_TAR is not set
  490. """
  491. toolchain_prefix = "armeb-linux"
  492. def test_run(self):
  493. TestExternalToolchain.common_check(self)
  494. class TestExternalToolchainBootlinArmebv7eabihfUclibcBleedingEdge(TestExternalToolchain):
  495. config = """
  496. BR2_armeb=y
  497. BR2_cortex_a8=y
  498. BR2_ARM_EABIHF=y
  499. BR2_TOOLCHAIN_EXTERNAL=y
  500. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  501. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMEBV7_EABIHF_UCLIBC_BLEEDING_EDGE=y
  502. # BR2_TARGET_ROOTFS_TAR is not set
  503. """
  504. toolchain_prefix = "armeb-linux"
  505. def test_run(self):
  506. TestExternalToolchain.common_check(self)
  507. class TestExternalToolchainBootlinArmebv7eabihfUclibcStable(TestExternalToolchain):
  508. config = """
  509. BR2_armeb=y
  510. BR2_cortex_a8=y
  511. BR2_ARM_EABIHF=y
  512. BR2_TOOLCHAIN_EXTERNAL=y
  513. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  514. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMEBV7_EABIHF_UCLIBC_STABLE=y
  515. # BR2_TARGET_ROOTFS_TAR is not set
  516. """
  517. toolchain_prefix = "armeb-linux"
  518. def test_run(self):
  519. TestExternalToolchain.common_check(self)
  520. class TestExternalToolchainBootlinArmv7mUclibcBleedingEdge(TestExternalToolchain):
  521. config = """
  522. BR2_arm=y
  523. BR2_cortex_m4=y
  524. BR2_TOOLCHAIN_EXTERNAL=y
  525. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  526. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE=y
  527. # BR2_TARGET_ROOTFS_TAR is not set
  528. """
  529. toolchain_prefix = "arm-linux"
  530. def test_run(self):
  531. TestExternalToolchain.common_check(self)
  532. class TestExternalToolchainBootlinArmv7mUclibcStable(TestExternalToolchain):
  533. config = """
  534. BR2_arm=y
  535. BR2_cortex_m4=y
  536. BR2_TOOLCHAIN_EXTERNAL=y
  537. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  538. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE=y
  539. # BR2_TARGET_ROOTFS_TAR is not set
  540. """
  541. toolchain_prefix = "arm-linux"
  542. def test_run(self):
  543. TestExternalToolchain.common_check(self)
  544. class TestExternalToolchainBootlinM68k68xxxGlibcBleedingEdge(TestExternalToolchain):
  545. config = """
  546. BR2_m68k=y
  547. BR2_m68k_68040=y
  548. BR2_TOOLCHAIN_EXTERNAL=y
  549. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  550. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_GLIBC_BLEEDING_EDGE=y
  551. # BR2_TARGET_ROOTFS_TAR is not set
  552. """
  553. toolchain_prefix = "m68k-linux"
  554. def test_run(self):
  555. TestExternalToolchain.common_check(self)
  556. class TestExternalToolchainBootlinM68k68xxxGlibcStable(TestExternalToolchain):
  557. config = """
  558. BR2_m68k=y
  559. BR2_m68k_68040=y
  560. BR2_TOOLCHAIN_EXTERNAL=y
  561. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  562. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_GLIBC_STABLE=y
  563. # BR2_TARGET_ROOTFS_TAR is not set
  564. """
  565. toolchain_prefix = "m68k-linux"
  566. def test_run(self):
  567. TestExternalToolchain.common_check(self)
  568. class TestExternalToolchainBootlinM68k68xxxMuslBleedingEdge(TestExternalToolchain):
  569. config = """
  570. BR2_m68k=y
  571. BR2_m68k_68040=y
  572. BR2_TOOLCHAIN_EXTERNAL=y
  573. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  574. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_MUSL_BLEEDING_EDGE=y
  575. # BR2_TARGET_ROOTFS_TAR is not set
  576. """
  577. toolchain_prefix = "m68k-linux"
  578. def test_run(self):
  579. TestExternalToolchain.common_check(self)
  580. class TestExternalToolchainBootlinM68k68xxxMuslStable(TestExternalToolchain):
  581. config = """
  582. BR2_m68k=y
  583. BR2_m68k_68040=y
  584. BR2_TOOLCHAIN_EXTERNAL=y
  585. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  586. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_MUSL_STABLE=y
  587. # BR2_TARGET_ROOTFS_TAR is not set
  588. """
  589. toolchain_prefix = "m68k-linux"
  590. def test_run(self):
  591. TestExternalToolchain.common_check(self)
  592. class TestExternalToolchainBootlinM68k68xxxUclibcBleedingEdge(TestExternalToolchain):
  593. config = """
  594. BR2_m68k=y
  595. BR2_m68k_68040=y
  596. BR2_TOOLCHAIN_EXTERNAL=y
  597. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  598. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE=y
  599. # BR2_TARGET_ROOTFS_TAR is not set
  600. """
  601. toolchain_prefix = "m68k-linux"
  602. def test_run(self):
  603. TestExternalToolchain.common_check(self)
  604. class TestExternalToolchainBootlinM68k68xxxUclibcStable(TestExternalToolchain):
  605. config = """
  606. BR2_m68k=y
  607. BR2_m68k_68040=y
  608. BR2_TOOLCHAIN_EXTERNAL=y
  609. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  610. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE=y
  611. # BR2_TARGET_ROOTFS_TAR is not set
  612. """
  613. toolchain_prefix = "m68k-linux"
  614. def test_run(self):
  615. TestExternalToolchain.common_check(self)
  616. class TestExternalToolchainBootlinM68kcoldfireUclibcBleedingEdge(TestExternalToolchain):
  617. config = """
  618. BR2_m68k=y
  619. BR2_m68k_cf5208=y
  620. BR2_TOOLCHAIN_EXTERNAL=y
  621. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  622. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE=y
  623. # BR2_TARGET_ROOTFS_TAR is not set
  624. """
  625. toolchain_prefix = "m68k-linux"
  626. def test_run(self):
  627. TestExternalToolchain.common_check(self)
  628. class TestExternalToolchainBootlinM68kcoldfireUclibcStable(TestExternalToolchain):
  629. config = """
  630. BR2_m68k=y
  631. BR2_m68k_cf5208=y
  632. BR2_TOOLCHAIN_EXTERNAL=y
  633. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  634. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE=y
  635. # BR2_TARGET_ROOTFS_TAR is not set
  636. """
  637. toolchain_prefix = "m68k-linux"
  638. def test_run(self):
  639. TestExternalToolchain.common_check(self)
  640. class TestExternalToolchainBootlinMicroblazebeGlibcBleedingEdge(TestExternalToolchain):
  641. config = """
  642. BR2_microblazebe=y
  643. BR2_TOOLCHAIN_EXTERNAL=y
  644. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  645. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE=y
  646. # BR2_TARGET_ROOTFS_TAR is not set
  647. """
  648. toolchain_prefix = "microblaze-linux"
  649. def test_run(self):
  650. TestExternalToolchain.common_check(self)
  651. class TestExternalToolchainBootlinMicroblazebeGlibcStable(TestExternalToolchain):
  652. config = """
  653. BR2_microblazebe=y
  654. BR2_TOOLCHAIN_EXTERNAL=y
  655. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  656. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE=y
  657. # BR2_TARGET_ROOTFS_TAR is not set
  658. """
  659. toolchain_prefix = "microblaze-linux"
  660. def test_run(self):
  661. TestExternalToolchain.common_check(self)
  662. class TestExternalToolchainBootlinMicroblazebeMuslBleedingEdge(TestExternalToolchain):
  663. config = """
  664. BR2_microblazebe=y
  665. BR2_TOOLCHAIN_EXTERNAL=y
  666. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  667. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE=y
  668. # BR2_TARGET_ROOTFS_TAR is not set
  669. """
  670. toolchain_prefix = "microblaze-linux"
  671. def test_run(self):
  672. TestExternalToolchain.common_check(self)
  673. class TestExternalToolchainBootlinMicroblazebeMuslStable(TestExternalToolchain):
  674. config = """
  675. BR2_microblazebe=y
  676. BR2_TOOLCHAIN_EXTERNAL=y
  677. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  678. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE=y
  679. # BR2_TARGET_ROOTFS_TAR is not set
  680. """
  681. toolchain_prefix = "microblaze-linux"
  682. def test_run(self):
  683. TestExternalToolchain.common_check(self)
  684. class TestExternalToolchainBootlinMicroblazebeUclibcBleedingEdge(TestExternalToolchain):
  685. config = """
  686. BR2_microblazebe=y
  687. BR2_TOOLCHAIN_EXTERNAL=y
  688. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  689. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE=y
  690. # BR2_TARGET_ROOTFS_TAR is not set
  691. """
  692. toolchain_prefix = "microblaze-linux"
  693. def test_run(self):
  694. TestExternalToolchain.common_check(self)
  695. class TestExternalToolchainBootlinMicroblazebeUclibcStable(TestExternalToolchain):
  696. config = """
  697. BR2_microblazebe=y
  698. BR2_TOOLCHAIN_EXTERNAL=y
  699. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  700. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE=y
  701. # BR2_TARGET_ROOTFS_TAR is not set
  702. """
  703. toolchain_prefix = "microblaze-linux"
  704. def test_run(self):
  705. TestExternalToolchain.common_check(self)
  706. class TestExternalToolchainBootlinMicroblazeelGlibcBleedingEdge(TestExternalToolchain):
  707. config = """
  708. BR2_microblazeel=y
  709. BR2_TOOLCHAIN_EXTERNAL=y
  710. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  711. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE=y
  712. # BR2_TARGET_ROOTFS_TAR is not set
  713. """
  714. toolchain_prefix = "microblazeel-linux"
  715. def test_run(self):
  716. TestExternalToolchain.common_check(self)
  717. class TestExternalToolchainBootlinMicroblazeelGlibcStable(TestExternalToolchain):
  718. config = """
  719. BR2_microblazeel=y
  720. BR2_TOOLCHAIN_EXTERNAL=y
  721. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  722. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE=y
  723. # BR2_TARGET_ROOTFS_TAR is not set
  724. """
  725. toolchain_prefix = "microblazeel-linux"
  726. def test_run(self):
  727. TestExternalToolchain.common_check(self)
  728. class TestExternalToolchainBootlinMicroblazeelMuslBleedingEdge(TestExternalToolchain):
  729. config = """
  730. BR2_microblazeel=y
  731. BR2_TOOLCHAIN_EXTERNAL=y
  732. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  733. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE=y
  734. # BR2_TARGET_ROOTFS_TAR is not set
  735. """
  736. toolchain_prefix = "microblazeel-linux"
  737. def test_run(self):
  738. TestExternalToolchain.common_check(self)
  739. class TestExternalToolchainBootlinMicroblazeelMuslStable(TestExternalToolchain):
  740. config = """
  741. BR2_microblazeel=y
  742. BR2_TOOLCHAIN_EXTERNAL=y
  743. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  744. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE=y
  745. # BR2_TARGET_ROOTFS_TAR is not set
  746. """
  747. toolchain_prefix = "microblazeel-linux"
  748. def test_run(self):
  749. TestExternalToolchain.common_check(self)
  750. class TestExternalToolchainBootlinMicroblazeelUclibcBleedingEdge(TestExternalToolchain):
  751. config = """
  752. BR2_microblazeel=y
  753. BR2_TOOLCHAIN_EXTERNAL=y
  754. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  755. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE=y
  756. # BR2_TARGET_ROOTFS_TAR is not set
  757. """
  758. toolchain_prefix = "microblazeel-linux"
  759. def test_run(self):
  760. TestExternalToolchain.common_check(self)
  761. class TestExternalToolchainBootlinMicroblazeelUclibcStable(TestExternalToolchain):
  762. config = """
  763. BR2_microblazeel=y
  764. BR2_TOOLCHAIN_EXTERNAL=y
  765. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  766. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE=y
  767. # BR2_TARGET_ROOTFS_TAR is not set
  768. """
  769. toolchain_prefix = "microblazeel-linux"
  770. def test_run(self):
  771. TestExternalToolchain.common_check(self)
  772. class TestExternalToolchainBootlinMips32GlibcBleedingEdge(TestExternalToolchain):
  773. config = """
  774. BR2_mips=y
  775. BR2_mips_32=y
  776. # BR2_MIPS_SOFT_FLOAT is not set
  777. BR2_TOOLCHAIN_EXTERNAL=y
  778. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  779. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE=y
  780. # BR2_TARGET_ROOTFS_TAR is not set
  781. """
  782. toolchain_prefix = "mips-linux"
  783. def test_run(self):
  784. TestExternalToolchain.common_check(self)
  785. class TestExternalToolchainBootlinMips32GlibcStable(TestExternalToolchain):
  786. config = """
  787. BR2_mips=y
  788. BR2_mips_32=y
  789. # BR2_MIPS_SOFT_FLOAT is not set
  790. BR2_TOOLCHAIN_EXTERNAL=y
  791. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  792. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE=y
  793. # BR2_TARGET_ROOTFS_TAR is not set
  794. """
  795. toolchain_prefix = "mips-linux"
  796. def test_run(self):
  797. TestExternalToolchain.common_check(self)
  798. class TestExternalToolchainBootlinMips32MuslBleedingEdge(TestExternalToolchain):
  799. config = """
  800. BR2_mips=y
  801. BR2_mips_32=y
  802. # BR2_MIPS_SOFT_FLOAT is not set
  803. BR2_TOOLCHAIN_EXTERNAL=y
  804. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  805. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE=y
  806. # BR2_TARGET_ROOTFS_TAR is not set
  807. """
  808. toolchain_prefix = "mips-linux"
  809. def test_run(self):
  810. TestExternalToolchain.common_check(self)
  811. class TestExternalToolchainBootlinMips32MuslStable(TestExternalToolchain):
  812. config = """
  813. BR2_mips=y
  814. BR2_mips_32=y
  815. # BR2_MIPS_SOFT_FLOAT is not set
  816. BR2_TOOLCHAIN_EXTERNAL=y
  817. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  818. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE=y
  819. # BR2_TARGET_ROOTFS_TAR is not set
  820. """
  821. toolchain_prefix = "mips-linux"
  822. def test_run(self):
  823. TestExternalToolchain.common_check(self)
  824. class TestExternalToolchainBootlinMips32UclibcBleedingEdge(TestExternalToolchain):
  825. config = """
  826. BR2_mips=y
  827. BR2_mips_32=y
  828. # BR2_MIPS_SOFT_FLOAT is not set
  829. BR2_TOOLCHAIN_EXTERNAL=y
  830. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  831. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE=y
  832. # BR2_TARGET_ROOTFS_TAR is not set
  833. """
  834. toolchain_prefix = "mips-linux"
  835. def test_run(self):
  836. TestExternalToolchain.common_check(self)
  837. class TestExternalToolchainBootlinMips32UclibcStable(TestExternalToolchain):
  838. config = """
  839. BR2_mips=y
  840. BR2_mips_32=y
  841. # BR2_MIPS_SOFT_FLOAT is not set
  842. BR2_TOOLCHAIN_EXTERNAL=y
  843. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  844. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE=y
  845. # BR2_TARGET_ROOTFS_TAR is not set
  846. """
  847. toolchain_prefix = "mips-linux"
  848. def test_run(self):
  849. TestExternalToolchain.common_check(self)
  850. class TestExternalToolchainBootlinMips32elGlibcBleedingEdge(TestExternalToolchain):
  851. config = """
  852. BR2_mipsel=y
  853. BR2_mips_32=y
  854. # BR2_MIPS_SOFT_FLOAT is not set
  855. BR2_TOOLCHAIN_EXTERNAL=y
  856. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  857. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE=y
  858. # BR2_TARGET_ROOTFS_TAR is not set
  859. """
  860. toolchain_prefix = "mipsel-linux"
  861. def test_run(self):
  862. TestExternalToolchain.common_check(self)
  863. class TestExternalToolchainBootlinMips32elGlibcStable(TestExternalToolchain):
  864. config = """
  865. BR2_mipsel=y
  866. BR2_mips_32=y
  867. # BR2_MIPS_SOFT_FLOAT is not set
  868. BR2_TOOLCHAIN_EXTERNAL=y
  869. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  870. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE=y
  871. # BR2_TARGET_ROOTFS_TAR is not set
  872. """
  873. toolchain_prefix = "mipsel-linux"
  874. def test_run(self):
  875. TestExternalToolchain.common_check(self)
  876. class TestExternalToolchainBootlinMips32elMuslBleedingEdge(TestExternalToolchain):
  877. config = """
  878. BR2_mipsel=y
  879. BR2_mips_32=y
  880. # BR2_MIPS_SOFT_FLOAT is not set
  881. BR2_TOOLCHAIN_EXTERNAL=y
  882. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  883. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE=y
  884. # BR2_TARGET_ROOTFS_TAR is not set
  885. """
  886. toolchain_prefix = "mipsel-linux"
  887. def test_run(self):
  888. TestExternalToolchain.common_check(self)
  889. class TestExternalToolchainBootlinMips32elMuslStable(TestExternalToolchain):
  890. config = """
  891. BR2_mipsel=y
  892. BR2_mips_32=y
  893. # BR2_MIPS_SOFT_FLOAT is not set
  894. BR2_TOOLCHAIN_EXTERNAL=y
  895. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  896. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE=y
  897. # BR2_TARGET_ROOTFS_TAR is not set
  898. """
  899. toolchain_prefix = "mipsel-linux"
  900. def test_run(self):
  901. TestExternalToolchain.common_check(self)
  902. class TestExternalToolchainBootlinMips32elUclibcBleedingEdge(TestExternalToolchain):
  903. config = """
  904. BR2_mipsel=y
  905. BR2_mips_32=y
  906. # BR2_MIPS_SOFT_FLOAT is not set
  907. BR2_TOOLCHAIN_EXTERNAL=y
  908. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  909. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE=y
  910. # BR2_TARGET_ROOTFS_TAR is not set
  911. """
  912. toolchain_prefix = "mipsel-linux"
  913. def test_run(self):
  914. TestExternalToolchain.common_check(self)
  915. class TestExternalToolchainBootlinMips32elUclibcStable(TestExternalToolchain):
  916. config = """
  917. BR2_mipsel=y
  918. BR2_mips_32=y
  919. # BR2_MIPS_SOFT_FLOAT is not set
  920. BR2_TOOLCHAIN_EXTERNAL=y
  921. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  922. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE=y
  923. # BR2_TARGET_ROOTFS_TAR is not set
  924. """
  925. toolchain_prefix = "mipsel-linux"
  926. def test_run(self):
  927. TestExternalToolchain.common_check(self)
  928. class TestExternalToolchainBootlinMips32r5elGlibcBleedingEdge(TestExternalToolchain):
  929. config = """
  930. BR2_mipsel=y
  931. BR2_mips_32r5=y
  932. # BR2_MIPS_SOFT_FLOAT is not set
  933. BR2_TOOLCHAIN_EXTERNAL=y
  934. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  935. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE=y
  936. # BR2_TARGET_ROOTFS_TAR is not set
  937. """
  938. toolchain_prefix = "mipsel-linux"
  939. def test_run(self):
  940. TestExternalToolchain.common_check(self)
  941. class TestExternalToolchainBootlinMips32r5elGlibcStable(TestExternalToolchain):
  942. config = """
  943. BR2_mipsel=y
  944. BR2_mips_32r5=y
  945. # BR2_MIPS_SOFT_FLOAT is not set
  946. BR2_TOOLCHAIN_EXTERNAL=y
  947. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  948. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE=y
  949. # BR2_TARGET_ROOTFS_TAR is not set
  950. """
  951. toolchain_prefix = "mipsel-linux"
  952. def test_run(self):
  953. TestExternalToolchain.common_check(self)
  954. class TestExternalToolchainBootlinMips32r5elMuslBleedingEdge(TestExternalToolchain):
  955. config = """
  956. BR2_mipsel=y
  957. BR2_mips_32r5=y
  958. # BR2_MIPS_SOFT_FLOAT is not set
  959. BR2_TOOLCHAIN_EXTERNAL=y
  960. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  961. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE=y
  962. # BR2_TARGET_ROOTFS_TAR is not set
  963. """
  964. toolchain_prefix = "mipsel-linux"
  965. def test_run(self):
  966. TestExternalToolchain.common_check(self)
  967. class TestExternalToolchainBootlinMips32r5elMuslStable(TestExternalToolchain):
  968. config = """
  969. BR2_mipsel=y
  970. BR2_mips_32r5=y
  971. # BR2_MIPS_SOFT_FLOAT is not set
  972. BR2_TOOLCHAIN_EXTERNAL=y
  973. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  974. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE=y
  975. # BR2_TARGET_ROOTFS_TAR is not set
  976. """
  977. toolchain_prefix = "mipsel-linux"
  978. def test_run(self):
  979. TestExternalToolchain.common_check(self)
  980. class TestExternalToolchainBootlinMips32r5elUclibcBleedingEdge(TestExternalToolchain):
  981. config = """
  982. BR2_mipsel=y
  983. BR2_mips_32r5=y
  984. # BR2_MIPS_SOFT_FLOAT is not set
  985. BR2_TOOLCHAIN_EXTERNAL=y
  986. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  987. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE=y
  988. # BR2_TARGET_ROOTFS_TAR is not set
  989. """
  990. toolchain_prefix = "mipsel-linux"
  991. def test_run(self):
  992. TestExternalToolchain.common_check(self)
  993. class TestExternalToolchainBootlinMips32r5elUclibcStable(TestExternalToolchain):
  994. config = """
  995. BR2_mipsel=y
  996. BR2_mips_32r5=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_MIPS32R5EL_UCLIBC_STABLE=y
  1001. # BR2_TARGET_ROOTFS_TAR is not set
  1002. """
  1003. toolchain_prefix = "mipsel-linux"
  1004. def test_run(self):
  1005. TestExternalToolchain.common_check(self)
  1006. class TestExternalToolchainBootlinMips32r6elGlibcBleedingEdge(TestExternalToolchain):
  1007. config = """
  1008. BR2_mipsel=y
  1009. BR2_mips_32r6=y
  1010. # BR2_MIPS_SOFT_FLOAT is not set
  1011. BR2_TOOLCHAIN_EXTERNAL=y
  1012. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1013. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE=y
  1014. # BR2_TARGET_ROOTFS_TAR is not set
  1015. """
  1016. toolchain_prefix = "mipsel-linux"
  1017. def test_run(self):
  1018. TestExternalToolchain.common_check(self)
  1019. class TestExternalToolchainBootlinMips32r6elGlibcStable(TestExternalToolchain):
  1020. config = """
  1021. BR2_mipsel=y
  1022. BR2_mips_32r6=y
  1023. # BR2_MIPS_SOFT_FLOAT is not set
  1024. BR2_TOOLCHAIN_EXTERNAL=y
  1025. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1026. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE=y
  1027. # BR2_TARGET_ROOTFS_TAR is not set
  1028. """
  1029. toolchain_prefix = "mipsel-linux"
  1030. def test_run(self):
  1031. TestExternalToolchain.common_check(self)
  1032. class TestExternalToolchainBootlinMips32r6elMuslBleedingEdge(TestExternalToolchain):
  1033. config = """
  1034. BR2_mipsel=y
  1035. BR2_mips_32r6=y
  1036. # BR2_MIPS_SOFT_FLOAT is not set
  1037. BR2_TOOLCHAIN_EXTERNAL=y
  1038. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1039. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE=y
  1040. # BR2_TARGET_ROOTFS_TAR is not set
  1041. """
  1042. toolchain_prefix = "mipsel-linux"
  1043. def test_run(self):
  1044. TestExternalToolchain.common_check(self)
  1045. class TestExternalToolchainBootlinMips32r6elMuslStable(TestExternalToolchain):
  1046. config = """
  1047. BR2_mipsel=y
  1048. BR2_mips_32r6=y
  1049. # BR2_MIPS_SOFT_FLOAT is not set
  1050. BR2_TOOLCHAIN_EXTERNAL=y
  1051. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1052. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE=y
  1053. # BR2_TARGET_ROOTFS_TAR is not set
  1054. """
  1055. toolchain_prefix = "mipsel-linux"
  1056. def test_run(self):
  1057. TestExternalToolchain.common_check(self)
  1058. class TestExternalToolchainBootlinMips32r6elUclibcBleedingEdge(TestExternalToolchain):
  1059. config = """
  1060. BR2_mipsel=y
  1061. BR2_mips_32r6=y
  1062. # BR2_MIPS_SOFT_FLOAT is not set
  1063. BR2_TOOLCHAIN_EXTERNAL=y
  1064. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1065. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE=y
  1066. # BR2_TARGET_ROOTFS_TAR is not set
  1067. """
  1068. toolchain_prefix = "mipsel-linux"
  1069. def test_run(self):
  1070. TestExternalToolchain.common_check(self)
  1071. class TestExternalToolchainBootlinMips32r6elUclibcStable(TestExternalToolchain):
  1072. config = """
  1073. BR2_mipsel=y
  1074. BR2_mips_32r6=y
  1075. # BR2_MIPS_SOFT_FLOAT is not set
  1076. BR2_TOOLCHAIN_EXTERNAL=y
  1077. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1078. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE=y
  1079. # BR2_TARGET_ROOTFS_TAR is not set
  1080. """
  1081. toolchain_prefix = "mipsel-linux"
  1082. def test_run(self):
  1083. TestExternalToolchain.common_check(self)
  1084. class TestExternalToolchainBootlinMips64n32GlibcBleedingEdge(TestExternalToolchain):
  1085. config = """
  1086. BR2_mips64=y
  1087. BR2_mips_64=y
  1088. BR2_MIPS_NABI32=y
  1089. # BR2_MIPS_SOFT_FLOAT is not set
  1090. BR2_TOOLCHAIN_EXTERNAL=y
  1091. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1092. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE=y
  1093. # BR2_TARGET_ROOTFS_TAR is not set
  1094. """
  1095. toolchain_prefix = "mips64-linux"
  1096. def test_run(self):
  1097. TestExternalToolchain.common_check(self)
  1098. class TestExternalToolchainBootlinMips64n32GlibcStable(TestExternalToolchain):
  1099. config = """
  1100. BR2_mips64=y
  1101. BR2_mips_64=y
  1102. BR2_MIPS_NABI32=y
  1103. # BR2_MIPS_SOFT_FLOAT is not set
  1104. BR2_TOOLCHAIN_EXTERNAL=y
  1105. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1106. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE=y
  1107. # BR2_TARGET_ROOTFS_TAR is not set
  1108. """
  1109. toolchain_prefix = "mips64-linux"
  1110. def test_run(self):
  1111. TestExternalToolchain.common_check(self)
  1112. class TestExternalToolchainBootlinMips64n32MuslBleedingEdge(TestExternalToolchain):
  1113. config = """
  1114. BR2_mips64=y
  1115. BR2_mips_64=y
  1116. BR2_MIPS_NABI32=y
  1117. # BR2_MIPS_SOFT_FLOAT is not set
  1118. BR2_TOOLCHAIN_EXTERNAL=y
  1119. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1120. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE=y
  1121. # BR2_TARGET_ROOTFS_TAR is not set
  1122. """
  1123. toolchain_prefix = "mips64-linux"
  1124. def test_run(self):
  1125. TestExternalToolchain.common_check(self)
  1126. class TestExternalToolchainBootlinMips64n32MuslStable(TestExternalToolchain):
  1127. config = """
  1128. BR2_mips64=y
  1129. BR2_mips_64=y
  1130. BR2_MIPS_NABI32=y
  1131. # BR2_MIPS_SOFT_FLOAT is not set
  1132. BR2_TOOLCHAIN_EXTERNAL=y
  1133. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1134. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE=y
  1135. # BR2_TARGET_ROOTFS_TAR is not set
  1136. """
  1137. toolchain_prefix = "mips64-linux"
  1138. def test_run(self):
  1139. TestExternalToolchain.common_check(self)
  1140. class TestExternalToolchainBootlinMips64n32UclibcBleedingEdge(TestExternalToolchain):
  1141. config = """
  1142. BR2_mips64=y
  1143. BR2_mips_64=y
  1144. BR2_MIPS_NABI32=y
  1145. # BR2_MIPS_SOFT_FLOAT is not set
  1146. BR2_TOOLCHAIN_EXTERNAL=y
  1147. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1148. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE=y
  1149. # BR2_TARGET_ROOTFS_TAR is not set
  1150. """
  1151. toolchain_prefix = "mips64-linux"
  1152. def test_run(self):
  1153. TestExternalToolchain.common_check(self)
  1154. class TestExternalToolchainBootlinMips64n32UclibcStable(TestExternalToolchain):
  1155. config = """
  1156. BR2_mips64=y
  1157. BR2_mips_64=y
  1158. BR2_MIPS_NABI32=y
  1159. # BR2_MIPS_SOFT_FLOAT is not set
  1160. BR2_TOOLCHAIN_EXTERNAL=y
  1161. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1162. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE=y
  1163. # BR2_TARGET_ROOTFS_TAR is not set
  1164. """
  1165. toolchain_prefix = "mips64-linux"
  1166. def test_run(self):
  1167. TestExternalToolchain.common_check(self)
  1168. class TestExternalToolchainBootlinMips64eln32GlibcBleedingEdge(TestExternalToolchain):
  1169. config = """
  1170. BR2_mips64el=y
  1171. BR2_mips_64=y
  1172. BR2_MIPS_NABI32=y
  1173. # BR2_MIPS_SOFT_FLOAT is not set
  1174. BR2_TOOLCHAIN_EXTERNAL=y
  1175. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1176. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE=y
  1177. # BR2_TARGET_ROOTFS_TAR is not set
  1178. """
  1179. toolchain_prefix = "mips64el-linux"
  1180. def test_run(self):
  1181. TestExternalToolchain.common_check(self)
  1182. class TestExternalToolchainBootlinMips64eln32GlibcStable(TestExternalToolchain):
  1183. config = """
  1184. BR2_mips64el=y
  1185. BR2_mips_64=y
  1186. BR2_MIPS_NABI32=y
  1187. # BR2_MIPS_SOFT_FLOAT is not set
  1188. BR2_TOOLCHAIN_EXTERNAL=y
  1189. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1190. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE=y
  1191. # BR2_TARGET_ROOTFS_TAR is not set
  1192. """
  1193. toolchain_prefix = "mips64el-linux"
  1194. def test_run(self):
  1195. TestExternalToolchain.common_check(self)
  1196. class TestExternalToolchainBootlinMips64eln32MuslBleedingEdge(TestExternalToolchain):
  1197. config = """
  1198. BR2_mips64el=y
  1199. BR2_mips_64=y
  1200. BR2_MIPS_NABI32=y
  1201. # BR2_MIPS_SOFT_FLOAT is not set
  1202. BR2_TOOLCHAIN_EXTERNAL=y
  1203. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1204. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE=y
  1205. # BR2_TARGET_ROOTFS_TAR is not set
  1206. """
  1207. toolchain_prefix = "mips64el-linux"
  1208. def test_run(self):
  1209. TestExternalToolchain.common_check(self)
  1210. class TestExternalToolchainBootlinMips64eln32MuslStable(TestExternalToolchain):
  1211. config = """
  1212. BR2_mips64el=y
  1213. BR2_mips_64=y
  1214. BR2_MIPS_NABI32=y
  1215. # BR2_MIPS_SOFT_FLOAT is not set
  1216. BR2_TOOLCHAIN_EXTERNAL=y
  1217. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1218. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE=y
  1219. # BR2_TARGET_ROOTFS_TAR is not set
  1220. """
  1221. toolchain_prefix = "mips64el-linux"
  1222. def test_run(self):
  1223. TestExternalToolchain.common_check(self)
  1224. class TestExternalToolchainBootlinMips64eln32UclibcBleedingEdge(TestExternalToolchain):
  1225. config = """
  1226. BR2_mips64el=y
  1227. BR2_mips_64=y
  1228. BR2_MIPS_NABI32=y
  1229. # BR2_MIPS_SOFT_FLOAT is not set
  1230. BR2_TOOLCHAIN_EXTERNAL=y
  1231. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1232. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE=y
  1233. # BR2_TARGET_ROOTFS_TAR is not set
  1234. """
  1235. toolchain_prefix = "mips64el-linux"
  1236. def test_run(self):
  1237. TestExternalToolchain.common_check(self)
  1238. class TestExternalToolchainBootlinMips64eln32UclibcStable(TestExternalToolchain):
  1239. config = """
  1240. BR2_mips64el=y
  1241. BR2_mips_64=y
  1242. BR2_MIPS_NABI32=y
  1243. # BR2_MIPS_SOFT_FLOAT is not set
  1244. BR2_TOOLCHAIN_EXTERNAL=y
  1245. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1246. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE=y
  1247. # BR2_TARGET_ROOTFS_TAR is not set
  1248. """
  1249. toolchain_prefix = "mips64el-linux"
  1250. def test_run(self):
  1251. TestExternalToolchain.common_check(self)
  1252. class TestExternalToolchainBootlinMips64r6eln32GlibcBleedingEdge(TestExternalToolchain):
  1253. config = """
  1254. BR2_mips64el=y
  1255. BR2_mips_64r6=y
  1256. BR2_MIPS_NABI32=y
  1257. # BR2_MIPS_SOFT_FLOAT is not set
  1258. BR2_TOOLCHAIN_EXTERNAL=y
  1259. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1260. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE=y
  1261. # BR2_TARGET_ROOTFS_TAR is not set
  1262. """
  1263. toolchain_prefix = "mips64el-linux"
  1264. def test_run(self):
  1265. TestExternalToolchain.common_check(self)
  1266. class TestExternalToolchainBootlinMips64r6eln32GlibcStable(TestExternalToolchain):
  1267. config = """
  1268. BR2_mips64el=y
  1269. BR2_mips_64r6=y
  1270. BR2_MIPS_NABI32=y
  1271. # BR2_MIPS_SOFT_FLOAT is not set
  1272. BR2_TOOLCHAIN_EXTERNAL=y
  1273. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1274. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE=y
  1275. # BR2_TARGET_ROOTFS_TAR is not set
  1276. """
  1277. toolchain_prefix = "mips64el-linux"
  1278. def test_run(self):
  1279. TestExternalToolchain.common_check(self)
  1280. class TestExternalToolchainBootlinMips64r6eln32MuslBleedingEdge(TestExternalToolchain):
  1281. config = """
  1282. BR2_mips64el=y
  1283. BR2_mips_64r6=y
  1284. BR2_MIPS_NABI32=y
  1285. # BR2_MIPS_SOFT_FLOAT is not set
  1286. BR2_TOOLCHAIN_EXTERNAL=y
  1287. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1288. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE=y
  1289. # BR2_TARGET_ROOTFS_TAR is not set
  1290. """
  1291. toolchain_prefix = "mips64el-linux"
  1292. def test_run(self):
  1293. TestExternalToolchain.common_check(self)
  1294. class TestExternalToolchainBootlinMips64r6eln32MuslStable(TestExternalToolchain):
  1295. config = """
  1296. BR2_mips64el=y
  1297. BR2_mips_64r6=y
  1298. BR2_MIPS_NABI32=y
  1299. # BR2_MIPS_SOFT_FLOAT is not set
  1300. BR2_TOOLCHAIN_EXTERNAL=y
  1301. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1302. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE=y
  1303. # BR2_TARGET_ROOTFS_TAR is not set
  1304. """
  1305. toolchain_prefix = "mips64el-linux"
  1306. def test_run(self):
  1307. TestExternalToolchain.common_check(self)
  1308. class TestExternalToolchainBootlinMips64r6eln32UclibcBleedingEdge(TestExternalToolchain):
  1309. config = """
  1310. BR2_mips64el=y
  1311. BR2_mips_64r6=y
  1312. BR2_MIPS_NABI32=y
  1313. # BR2_MIPS_SOFT_FLOAT is not set
  1314. BR2_TOOLCHAIN_EXTERNAL=y
  1315. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1316. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE=y
  1317. # BR2_TARGET_ROOTFS_TAR is not set
  1318. """
  1319. toolchain_prefix = "mips64el-linux"
  1320. def test_run(self):
  1321. TestExternalToolchain.common_check(self)
  1322. class TestExternalToolchainBootlinMips64r6eln32UclibcStable(TestExternalToolchain):
  1323. config = """
  1324. BR2_mips64el=y
  1325. BR2_mips_64r6=y
  1326. BR2_MIPS_NABI32=y
  1327. # BR2_MIPS_SOFT_FLOAT is not set
  1328. BR2_TOOLCHAIN_EXTERNAL=y
  1329. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1330. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE=y
  1331. # BR2_TARGET_ROOTFS_TAR is not set
  1332. """
  1333. toolchain_prefix = "mips64el-linux"
  1334. def test_run(self):
  1335. TestExternalToolchain.common_check(self)
  1336. class TestExternalToolchainBootlinOpenriscGlibcBleedingEdge(TestExternalToolchain):
  1337. config = """
  1338. BR2_or1k=y
  1339. BR2_TOOLCHAIN_EXTERNAL=y
  1340. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1341. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_GLIBC_BLEEDING_EDGE=y
  1342. # BR2_TARGET_ROOTFS_TAR is not set
  1343. """
  1344. toolchain_prefix = "or1k-linux"
  1345. def test_run(self):
  1346. TestExternalToolchain.common_check(self)
  1347. class TestExternalToolchainBootlinOpenriscGlibcStable(TestExternalToolchain):
  1348. config = """
  1349. BR2_or1k=y
  1350. BR2_TOOLCHAIN_EXTERNAL=y
  1351. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1352. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_GLIBC_STABLE=y
  1353. # BR2_TARGET_ROOTFS_TAR is not set
  1354. """
  1355. toolchain_prefix = "or1k-linux"
  1356. def test_run(self):
  1357. TestExternalToolchain.common_check(self)
  1358. class TestExternalToolchainBootlinOpenriscMuslBleedingEdge(TestExternalToolchain):
  1359. config = """
  1360. BR2_or1k=y
  1361. BR2_TOOLCHAIN_EXTERNAL=y
  1362. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1363. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE=y
  1364. # BR2_TARGET_ROOTFS_TAR is not set
  1365. """
  1366. toolchain_prefix = "or1k-linux"
  1367. def test_run(self):
  1368. TestExternalToolchain.common_check(self)
  1369. class TestExternalToolchainBootlinOpenriscMuslStable(TestExternalToolchain):
  1370. config = """
  1371. BR2_or1k=y
  1372. BR2_TOOLCHAIN_EXTERNAL=y
  1373. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1374. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE=y
  1375. # BR2_TARGET_ROOTFS_TAR is not set
  1376. """
  1377. toolchain_prefix = "or1k-linux"
  1378. def test_run(self):
  1379. TestExternalToolchain.common_check(self)
  1380. class TestExternalToolchainBootlinOpenriscUclibcBleedingEdge(TestExternalToolchain):
  1381. config = """
  1382. BR2_or1k=y
  1383. BR2_TOOLCHAIN_EXTERNAL=y
  1384. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1385. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE=y
  1386. # BR2_TARGET_ROOTFS_TAR is not set
  1387. """
  1388. toolchain_prefix = "or1k-linux"
  1389. def test_run(self):
  1390. TestExternalToolchain.common_check(self)
  1391. class TestExternalToolchainBootlinOpenriscUclibcStable(TestExternalToolchain):
  1392. config = """
  1393. BR2_or1k=y
  1394. BR2_TOOLCHAIN_EXTERNAL=y
  1395. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1396. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE=y
  1397. # BR2_TARGET_ROOTFS_TAR is not set
  1398. """
  1399. toolchain_prefix = "or1k-linux"
  1400. def test_run(self):
  1401. TestExternalToolchain.common_check(self)
  1402. class TestExternalToolchainBootlinPowerpc440fpGlibcBleedingEdge(TestExternalToolchain):
  1403. config = """
  1404. BR2_powerpc=y
  1405. BR2_powerpc_440fp=y
  1406. BR2_TOOLCHAIN_EXTERNAL=y
  1407. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1408. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE=y
  1409. # BR2_TARGET_ROOTFS_TAR is not set
  1410. """
  1411. toolchain_prefix = "powerpc-linux"
  1412. def test_run(self):
  1413. TestExternalToolchain.common_check(self)
  1414. class TestExternalToolchainBootlinPowerpc440fpGlibcStable(TestExternalToolchain):
  1415. config = """
  1416. BR2_powerpc=y
  1417. BR2_powerpc_440fp=y
  1418. BR2_TOOLCHAIN_EXTERNAL=y
  1419. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1420. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE=y
  1421. # BR2_TARGET_ROOTFS_TAR is not set
  1422. """
  1423. toolchain_prefix = "powerpc-linux"
  1424. def test_run(self):
  1425. TestExternalToolchain.common_check(self)
  1426. class TestExternalToolchainBootlinPowerpc440fpMuslBleedingEdge(TestExternalToolchain):
  1427. config = """
  1428. BR2_powerpc=y
  1429. BR2_powerpc_440fp=y
  1430. BR2_TOOLCHAIN_EXTERNAL=y
  1431. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1432. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE=y
  1433. # BR2_TARGET_ROOTFS_TAR is not set
  1434. """
  1435. toolchain_prefix = "powerpc-linux"
  1436. def test_run(self):
  1437. TestExternalToolchain.common_check(self)
  1438. class TestExternalToolchainBootlinPowerpc440fpMuslStable(TestExternalToolchain):
  1439. config = """
  1440. BR2_powerpc=y
  1441. BR2_powerpc_440fp=y
  1442. BR2_TOOLCHAIN_EXTERNAL=y
  1443. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1444. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE=y
  1445. # BR2_TARGET_ROOTFS_TAR is not set
  1446. """
  1447. toolchain_prefix = "powerpc-linux"
  1448. def test_run(self):
  1449. TestExternalToolchain.common_check(self)
  1450. class TestExternalToolchainBootlinPowerpc440fpUclibcBleedingEdge(TestExternalToolchain):
  1451. config = """
  1452. BR2_powerpc=y
  1453. BR2_powerpc_440fp=y
  1454. BR2_TOOLCHAIN_EXTERNAL=y
  1455. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1456. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE=y
  1457. # BR2_TARGET_ROOTFS_TAR is not set
  1458. """
  1459. toolchain_prefix = "powerpc-linux"
  1460. def test_run(self):
  1461. TestExternalToolchain.common_check(self)
  1462. class TestExternalToolchainBootlinPowerpc440fpUclibcStable(TestExternalToolchain):
  1463. config = """
  1464. BR2_powerpc=y
  1465. BR2_powerpc_440fp=y
  1466. BR2_TOOLCHAIN_EXTERNAL=y
  1467. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1468. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE=y
  1469. # BR2_TARGET_ROOTFS_TAR is not set
  1470. """
  1471. toolchain_prefix = "powerpc-linux"
  1472. def test_run(self):
  1473. TestExternalToolchain.common_check(self)
  1474. class TestExternalToolchainBootlinPowerpce300c3GlibcBleedingEdge(TestExternalToolchain):
  1475. config = """
  1476. BR2_powerpc=y
  1477. BR2_powerpc_e300c3=y
  1478. BR2_TOOLCHAIN_EXTERNAL=y
  1479. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1480. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE=y
  1481. # BR2_TARGET_ROOTFS_TAR is not set
  1482. """
  1483. toolchain_prefix = "powerpc-linux"
  1484. def test_run(self):
  1485. TestExternalToolchain.common_check(self)
  1486. class TestExternalToolchainBootlinPowerpce300c3GlibcStable(TestExternalToolchain):
  1487. config = """
  1488. BR2_powerpc=y
  1489. BR2_powerpc_e300c3=y
  1490. BR2_TOOLCHAIN_EXTERNAL=y
  1491. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1492. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE=y
  1493. # BR2_TARGET_ROOTFS_TAR is not set
  1494. """
  1495. toolchain_prefix = "powerpc-linux"
  1496. def test_run(self):
  1497. TestExternalToolchain.common_check(self)
  1498. class TestExternalToolchainBootlinPowerpce300c3MuslBleedingEdge(TestExternalToolchain):
  1499. config = """
  1500. BR2_powerpc=y
  1501. BR2_powerpc_e300c3=y
  1502. BR2_TOOLCHAIN_EXTERNAL=y
  1503. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1504. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE=y
  1505. # BR2_TARGET_ROOTFS_TAR is not set
  1506. """
  1507. toolchain_prefix = "powerpc-linux"
  1508. def test_run(self):
  1509. TestExternalToolchain.common_check(self)
  1510. class TestExternalToolchainBootlinPowerpce300c3MuslStable(TestExternalToolchain):
  1511. config = """
  1512. BR2_powerpc=y
  1513. BR2_powerpc_e300c3=y
  1514. BR2_TOOLCHAIN_EXTERNAL=y
  1515. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1516. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE=y
  1517. # BR2_TARGET_ROOTFS_TAR is not set
  1518. """
  1519. toolchain_prefix = "powerpc-linux"
  1520. def test_run(self):
  1521. TestExternalToolchain.common_check(self)
  1522. class TestExternalToolchainBootlinPowerpce300c3UclibcBleedingEdge(TestExternalToolchain):
  1523. config = """
  1524. BR2_powerpc=y
  1525. BR2_powerpc_e300c3=y
  1526. BR2_TOOLCHAIN_EXTERNAL=y
  1527. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1528. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE=y
  1529. # BR2_TARGET_ROOTFS_TAR is not set
  1530. """
  1531. toolchain_prefix = "powerpc-linux"
  1532. def test_run(self):
  1533. TestExternalToolchain.common_check(self)
  1534. class TestExternalToolchainBootlinPowerpce300c3UclibcStable(TestExternalToolchain):
  1535. config = """
  1536. BR2_powerpc=y
  1537. BR2_powerpc_e300c3=y
  1538. BR2_TOOLCHAIN_EXTERNAL=y
  1539. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1540. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE=y
  1541. # BR2_TARGET_ROOTFS_TAR is not set
  1542. """
  1543. toolchain_prefix = "powerpc-linux"
  1544. def test_run(self):
  1545. TestExternalToolchain.common_check(self)
  1546. class TestExternalToolchainBootlinPowerpce500mcGlibcBleedingEdge(TestExternalToolchain):
  1547. config = """
  1548. BR2_powerpc=y
  1549. BR2_powerpc_e500mc=y
  1550. BR2_TOOLCHAIN_EXTERNAL=y
  1551. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1552. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE=y
  1553. # BR2_TARGET_ROOTFS_TAR is not set
  1554. """
  1555. toolchain_prefix = "powerpc-linux"
  1556. def test_run(self):
  1557. TestExternalToolchain.common_check(self)
  1558. class TestExternalToolchainBootlinPowerpce500mcGlibcStable(TestExternalToolchain):
  1559. config = """
  1560. BR2_powerpc=y
  1561. BR2_powerpc_e500mc=y
  1562. BR2_TOOLCHAIN_EXTERNAL=y
  1563. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1564. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE=y
  1565. # BR2_TARGET_ROOTFS_TAR is not set
  1566. """
  1567. toolchain_prefix = "powerpc-linux"
  1568. def test_run(self):
  1569. TestExternalToolchain.common_check(self)
  1570. class TestExternalToolchainBootlinPowerpce500mcMuslBleedingEdge(TestExternalToolchain):
  1571. config = """
  1572. BR2_powerpc=y
  1573. BR2_powerpc_e500mc=y
  1574. BR2_TOOLCHAIN_EXTERNAL=y
  1575. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1576. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE=y
  1577. # BR2_TARGET_ROOTFS_TAR is not set
  1578. """
  1579. toolchain_prefix = "powerpc-linux"
  1580. def test_run(self):
  1581. TestExternalToolchain.common_check(self)
  1582. class TestExternalToolchainBootlinPowerpce500mcMuslStable(TestExternalToolchain):
  1583. config = """
  1584. BR2_powerpc=y
  1585. BR2_powerpc_e500mc=y
  1586. BR2_TOOLCHAIN_EXTERNAL=y
  1587. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1588. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE=y
  1589. # BR2_TARGET_ROOTFS_TAR is not set
  1590. """
  1591. toolchain_prefix = "powerpc-linux"
  1592. def test_run(self):
  1593. TestExternalToolchain.common_check(self)
  1594. class TestExternalToolchainBootlinPowerpce500mcUclibcBleedingEdge(TestExternalToolchain):
  1595. config = """
  1596. BR2_powerpc=y
  1597. BR2_powerpc_e500mc=y
  1598. BR2_TOOLCHAIN_EXTERNAL=y
  1599. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1600. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE=y
  1601. # BR2_TARGET_ROOTFS_TAR is not set
  1602. """
  1603. toolchain_prefix = "powerpc-linux"
  1604. def test_run(self):
  1605. TestExternalToolchain.common_check(self)
  1606. class TestExternalToolchainBootlinPowerpce500mcUclibcStable(TestExternalToolchain):
  1607. config = """
  1608. BR2_powerpc=y
  1609. BR2_powerpc_e500mc=y
  1610. BR2_TOOLCHAIN_EXTERNAL=y
  1611. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1612. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE=y
  1613. # BR2_TARGET_ROOTFS_TAR is not set
  1614. """
  1615. toolchain_prefix = "powerpc-linux"
  1616. def test_run(self):
  1617. TestExternalToolchain.common_check(self)
  1618. class TestExternalToolchainBootlinPowerpc64e5500GlibcBleedingEdge(TestExternalToolchain):
  1619. config = """
  1620. BR2_powerpc64=y
  1621. BR2_powerpc_e5500=y
  1622. BR2_TOOLCHAIN_EXTERNAL=y
  1623. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1624. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE=y
  1625. # BR2_TARGET_ROOTFS_TAR is not set
  1626. """
  1627. toolchain_prefix = "powerpc64-linux"
  1628. def test_run(self):
  1629. TestExternalToolchain.common_check(self)
  1630. class TestExternalToolchainBootlinPowerpc64e5500GlibcStable(TestExternalToolchain):
  1631. config = """
  1632. BR2_powerpc64=y
  1633. BR2_powerpc_e5500=y
  1634. BR2_TOOLCHAIN_EXTERNAL=y
  1635. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1636. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE=y
  1637. # BR2_TARGET_ROOTFS_TAR is not set
  1638. """
  1639. toolchain_prefix = "powerpc64-linux"
  1640. def test_run(self):
  1641. TestExternalToolchain.common_check(self)
  1642. class TestExternalToolchainBootlinPowerpc64e6500GlibcBleedingEdge(TestExternalToolchain):
  1643. config = """
  1644. BR2_powerpc64=y
  1645. BR2_powerpc_e6500=y
  1646. BR2_TOOLCHAIN_EXTERNAL=y
  1647. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1648. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE=y
  1649. # BR2_TARGET_ROOTFS_TAR is not set
  1650. """
  1651. toolchain_prefix = "powerpc64-linux"
  1652. def test_run(self):
  1653. TestExternalToolchain.common_check(self)
  1654. class TestExternalToolchainBootlinPowerpc64e6500GlibcStable(TestExternalToolchain):
  1655. config = """
  1656. BR2_powerpc64=y
  1657. BR2_powerpc_e6500=y
  1658. BR2_TOOLCHAIN_EXTERNAL=y
  1659. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1660. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE=y
  1661. # BR2_TARGET_ROOTFS_TAR is not set
  1662. """
  1663. toolchain_prefix = "powerpc64-linux"
  1664. def test_run(self):
  1665. TestExternalToolchain.common_check(self)
  1666. class TestExternalToolchainBootlinPowerpc64e6500MuslBleedingEdge(TestExternalToolchain):
  1667. config = """
  1668. BR2_powerpc64=y
  1669. BR2_powerpc_e6500=y
  1670. BR2_TOOLCHAIN_EXTERNAL=y
  1671. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1672. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE=y
  1673. # BR2_TARGET_ROOTFS_TAR is not set
  1674. """
  1675. toolchain_prefix = "powerpc64-linux"
  1676. def test_run(self):
  1677. TestExternalToolchain.common_check(self)
  1678. class TestExternalToolchainBootlinPowerpc64e6500MuslStable(TestExternalToolchain):
  1679. config = """
  1680. BR2_powerpc64=y
  1681. BR2_powerpc_e6500=y
  1682. BR2_TOOLCHAIN_EXTERNAL=y
  1683. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1684. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE=y
  1685. # BR2_TARGET_ROOTFS_TAR is not set
  1686. """
  1687. toolchain_prefix = "powerpc64-linux"
  1688. def test_run(self):
  1689. TestExternalToolchain.common_check(self)
  1690. class TestExternalToolchainBootlinPowerpc64power8GlibcBleedingEdge(TestExternalToolchain):
  1691. config = """
  1692. BR2_powerpc64=y
  1693. BR2_powerpc_power8=y
  1694. BR2_TOOLCHAIN_EXTERNAL=y
  1695. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1696. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE=y
  1697. # BR2_TARGET_ROOTFS_TAR is not set
  1698. """
  1699. toolchain_prefix = "powerpc64-linux"
  1700. def test_run(self):
  1701. TestExternalToolchain.common_check(self)
  1702. class TestExternalToolchainBootlinPowerpc64power8GlibcStable(TestExternalToolchain):
  1703. config = """
  1704. BR2_powerpc64=y
  1705. BR2_powerpc_power8=y
  1706. BR2_TOOLCHAIN_EXTERNAL=y
  1707. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1708. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE=y
  1709. # BR2_TARGET_ROOTFS_TAR is not set
  1710. """
  1711. toolchain_prefix = "powerpc64-linux"
  1712. def test_run(self):
  1713. TestExternalToolchain.common_check(self)
  1714. class TestExternalToolchainBootlinPowerpc64power8MuslBleedingEdge(TestExternalToolchain):
  1715. config = """
  1716. BR2_powerpc64=y
  1717. BR2_powerpc_power8=y
  1718. BR2_TOOLCHAIN_EXTERNAL=y
  1719. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1720. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE=y
  1721. # BR2_TARGET_ROOTFS_TAR is not set
  1722. """
  1723. toolchain_prefix = "powerpc64-linux"
  1724. def test_run(self):
  1725. TestExternalToolchain.common_check(self)
  1726. class TestExternalToolchainBootlinPowerpc64power8MuslStable(TestExternalToolchain):
  1727. config = """
  1728. BR2_powerpc64=y
  1729. BR2_powerpc_power8=y
  1730. BR2_TOOLCHAIN_EXTERNAL=y
  1731. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1732. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE=y
  1733. # BR2_TARGET_ROOTFS_TAR is not set
  1734. """
  1735. toolchain_prefix = "powerpc64-linux"
  1736. def test_run(self):
  1737. TestExternalToolchain.common_check(self)
  1738. class TestExternalToolchainBootlinPowerpc64lepower8GlibcBleedingEdge(TestExternalToolchain):
  1739. config = """
  1740. BR2_powerpc64le=y
  1741. BR2_powerpc_power8=y
  1742. BR2_TOOLCHAIN_EXTERNAL=y
  1743. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1744. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE=y
  1745. # BR2_TARGET_ROOTFS_TAR is not set
  1746. """
  1747. toolchain_prefix = "powerpc64le-linux"
  1748. def test_run(self):
  1749. TestExternalToolchain.common_check(self)
  1750. class TestExternalToolchainBootlinPowerpc64lepower8GlibcStable(TestExternalToolchain):
  1751. config = """
  1752. BR2_powerpc64le=y
  1753. BR2_powerpc_power8=y
  1754. BR2_TOOLCHAIN_EXTERNAL=y
  1755. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1756. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE=y
  1757. # BR2_TARGET_ROOTFS_TAR is not set
  1758. """
  1759. toolchain_prefix = "powerpc64le-linux"
  1760. def test_run(self):
  1761. TestExternalToolchain.common_check(self)
  1762. class TestExternalToolchainBootlinPowerpc64lepower8MuslBleedingEdge(TestExternalToolchain):
  1763. config = """
  1764. BR2_powerpc64le=y
  1765. BR2_powerpc_power8=y
  1766. BR2_TOOLCHAIN_EXTERNAL=y
  1767. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1768. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE=y
  1769. # BR2_TARGET_ROOTFS_TAR is not set
  1770. """
  1771. toolchain_prefix = "powerpc64le-linux"
  1772. def test_run(self):
  1773. TestExternalToolchain.common_check(self)
  1774. class TestExternalToolchainBootlinPowerpc64lepower8MuslStable(TestExternalToolchain):
  1775. config = """
  1776. BR2_powerpc64le=y
  1777. BR2_powerpc_power8=y
  1778. BR2_TOOLCHAIN_EXTERNAL=y
  1779. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1780. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE=y
  1781. # BR2_TARGET_ROOTFS_TAR is not set
  1782. """
  1783. toolchain_prefix = "powerpc64le-linux"
  1784. def test_run(self):
  1785. TestExternalToolchain.common_check(self)
  1786. class TestExternalToolchainBootlinRiscv32ilp32dGlibcBleedingEdge(TestExternalToolchain):
  1787. config = """
  1788. BR2_riscv=y
  1789. BR2_riscv_g=y
  1790. BR2_RISCV_32=y
  1791. BR2_RISCV_ABI_ILP32D=y
  1792. BR2_TOOLCHAIN_EXTERNAL=y
  1793. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1794. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE=y
  1795. # BR2_TARGET_ROOTFS_TAR is not set
  1796. """
  1797. toolchain_prefix = "riscv32-linux"
  1798. def test_run(self):
  1799. TestExternalToolchain.common_check(self)
  1800. class TestExternalToolchainBootlinRiscv32ilp32dGlibcStable(TestExternalToolchain):
  1801. config = """
  1802. BR2_riscv=y
  1803. BR2_riscv_g=y
  1804. BR2_RISCV_32=y
  1805. BR2_RISCV_ABI_ILP32D=y
  1806. BR2_TOOLCHAIN_EXTERNAL=y
  1807. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1808. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_STABLE=y
  1809. # BR2_TARGET_ROOTFS_TAR is not set
  1810. """
  1811. toolchain_prefix = "riscv32-linux"
  1812. def test_run(self):
  1813. TestExternalToolchain.common_check(self)
  1814. class TestExternalToolchainBootlinRiscv32ilp32dMuslBleedingEdge(TestExternalToolchain):
  1815. config = """
  1816. BR2_riscv=y
  1817. BR2_riscv_g=y
  1818. BR2_RISCV_32=y
  1819. BR2_RISCV_ABI_ILP32D=y
  1820. BR2_TOOLCHAIN_EXTERNAL=y
  1821. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1822. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_MUSL_BLEEDING_EDGE=y
  1823. # BR2_TARGET_ROOTFS_TAR is not set
  1824. """
  1825. toolchain_prefix = "riscv32-linux"
  1826. def test_run(self):
  1827. TestExternalToolchain.common_check(self)
  1828. class TestExternalToolchainBootlinRiscv32ilp32dMuslStable(TestExternalToolchain):
  1829. config = """
  1830. BR2_riscv=y
  1831. BR2_riscv_g=y
  1832. BR2_RISCV_32=y
  1833. BR2_RISCV_ABI_ILP32D=y
  1834. BR2_TOOLCHAIN_EXTERNAL=y
  1835. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1836. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_MUSL_STABLE=y
  1837. # BR2_TARGET_ROOTFS_TAR is not set
  1838. """
  1839. toolchain_prefix = "riscv32-linux"
  1840. def test_run(self):
  1841. TestExternalToolchain.common_check(self)
  1842. class TestExternalToolchainBootlinRiscv32ilp32dUclibcBleedingEdge(TestExternalToolchain):
  1843. config = """
  1844. BR2_riscv=y
  1845. BR2_riscv_g=y
  1846. BR2_RISCV_32=y
  1847. BR2_RISCV_ABI_ILP32D=y
  1848. BR2_TOOLCHAIN_EXTERNAL=y
  1849. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1850. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_UCLIBC_BLEEDING_EDGE=y
  1851. # BR2_TARGET_ROOTFS_TAR is not set
  1852. """
  1853. toolchain_prefix = "riscv32-linux"
  1854. def test_run(self):
  1855. TestExternalToolchain.common_check(self)
  1856. class TestExternalToolchainBootlinRiscv32ilp32dUclibcStable(TestExternalToolchain):
  1857. config = """
  1858. BR2_riscv=y
  1859. BR2_riscv_g=y
  1860. BR2_RISCV_32=y
  1861. BR2_RISCV_ABI_ILP32D=y
  1862. BR2_TOOLCHAIN_EXTERNAL=y
  1863. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1864. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_UCLIBC_STABLE=y
  1865. # BR2_TARGET_ROOTFS_TAR is not set
  1866. """
  1867. toolchain_prefix = "riscv32-linux"
  1868. def test_run(self):
  1869. TestExternalToolchain.common_check(self)
  1870. class TestExternalToolchainBootlinRiscv64lp64dGlibcBleedingEdge(TestExternalToolchain):
  1871. config = """
  1872. BR2_riscv=y
  1873. BR2_riscv_g=y
  1874. BR2_RISCV_64=y
  1875. BR2_RISCV_ABI_LP64D=y
  1876. BR2_USE_MMU=y
  1877. BR2_TOOLCHAIN_EXTERNAL=y
  1878. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1879. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_BLEEDING_EDGE=y
  1880. # BR2_TARGET_ROOTFS_TAR is not set
  1881. """
  1882. toolchain_prefix = "riscv64-linux"
  1883. def test_run(self):
  1884. TestExternalToolchain.common_check(self)
  1885. class TestExternalToolchainBootlinRiscv64lp64dGlibcStable(TestExternalToolchain):
  1886. config = """
  1887. BR2_riscv=y
  1888. BR2_riscv_g=y
  1889. BR2_RISCV_64=y
  1890. BR2_RISCV_ABI_LP64D=y
  1891. BR2_USE_MMU=y
  1892. BR2_TOOLCHAIN_EXTERNAL=y
  1893. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1894. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_STABLE=y
  1895. # BR2_TARGET_ROOTFS_TAR is not set
  1896. """
  1897. toolchain_prefix = "riscv64-linux"
  1898. def test_run(self):
  1899. TestExternalToolchain.common_check(self)
  1900. class TestExternalToolchainBootlinRiscv64lp64dMuslBleedingEdge(TestExternalToolchain):
  1901. config = """
  1902. BR2_riscv=y
  1903. BR2_riscv_g=y
  1904. BR2_RISCV_64=y
  1905. BR2_RISCV_ABI_LP64D=y
  1906. BR2_USE_MMU=y
  1907. BR2_TOOLCHAIN_EXTERNAL=y
  1908. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1909. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_BLEEDING_EDGE=y
  1910. # BR2_TARGET_ROOTFS_TAR is not set
  1911. """
  1912. toolchain_prefix = "riscv64-linux"
  1913. def test_run(self):
  1914. TestExternalToolchain.common_check(self)
  1915. class TestExternalToolchainBootlinRiscv64lp64dMuslStable(TestExternalToolchain):
  1916. config = """
  1917. BR2_riscv=y
  1918. BR2_riscv_g=y
  1919. BR2_RISCV_64=y
  1920. BR2_RISCV_ABI_LP64D=y
  1921. BR2_USE_MMU=y
  1922. BR2_TOOLCHAIN_EXTERNAL=y
  1923. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1924. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_STABLE=y
  1925. # BR2_TARGET_ROOTFS_TAR is not set
  1926. """
  1927. toolchain_prefix = "riscv64-linux"
  1928. def test_run(self):
  1929. TestExternalToolchain.common_check(self)
  1930. class TestExternalToolchainBootlinRiscv64lp64dUclibcBleedingEdge(TestExternalToolchain):
  1931. config = """
  1932. BR2_riscv=y
  1933. BR2_riscv_g=y
  1934. BR2_RISCV_64=y
  1935. BR2_RISCV_ABI_LP64D=y
  1936. BR2_USE_MMU=y
  1937. BR2_TOOLCHAIN_EXTERNAL=y
  1938. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1939. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_BLEEDING_EDGE=y
  1940. # BR2_TARGET_ROOTFS_TAR is not set
  1941. """
  1942. toolchain_prefix = "riscv64-linux"
  1943. def test_run(self):
  1944. TestExternalToolchain.common_check(self)
  1945. class TestExternalToolchainBootlinRiscv64lp64dUclibcStable(TestExternalToolchain):
  1946. config = """
  1947. BR2_riscv=y
  1948. BR2_riscv_g=y
  1949. BR2_RISCV_64=y
  1950. BR2_RISCV_ABI_LP64D=y
  1951. BR2_USE_MMU=y
  1952. BR2_TOOLCHAIN_EXTERNAL=y
  1953. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1954. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_STABLE=y
  1955. # BR2_TARGET_ROOTFS_TAR is not set
  1956. """
  1957. toolchain_prefix = "riscv64-linux"
  1958. def test_run(self):
  1959. TestExternalToolchain.common_check(self)
  1960. class TestExternalToolchainBootlinS390xz13GlibcBleedingEdge(TestExternalToolchain):
  1961. config = """
  1962. BR2_s390x=y
  1963. BR2_s390x_z13=y
  1964. BR2_TOOLCHAIN_EXTERNAL=y
  1965. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1966. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_S390X_Z13_GLIBC_BLEEDING_EDGE=y
  1967. # BR2_TARGET_ROOTFS_TAR is not set
  1968. """
  1969. toolchain_prefix = "s390x-linux"
  1970. def test_run(self):
  1971. TestExternalToolchain.common_check(self)
  1972. class TestExternalToolchainBootlinS390xz13GlibcStable(TestExternalToolchain):
  1973. config = """
  1974. BR2_s390x=y
  1975. BR2_s390x_z13=y
  1976. BR2_TOOLCHAIN_EXTERNAL=y
  1977. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1978. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_S390X_Z13_GLIBC_STABLE=y
  1979. # BR2_TARGET_ROOTFS_TAR is not set
  1980. """
  1981. toolchain_prefix = "s390x-linux"
  1982. def test_run(self):
  1983. TestExternalToolchain.common_check(self)
  1984. class TestExternalToolchainBootlinS390xz13MuslBleedingEdge(TestExternalToolchain):
  1985. config = """
  1986. BR2_s390x=y
  1987. BR2_s390x_z13=y
  1988. BR2_TOOLCHAIN_EXTERNAL=y
  1989. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  1990. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_S390X_Z13_MUSL_BLEEDING_EDGE=y
  1991. # BR2_TARGET_ROOTFS_TAR is not set
  1992. """
  1993. toolchain_prefix = "s390x-linux"
  1994. def test_run(self):
  1995. TestExternalToolchain.common_check(self)
  1996. class TestExternalToolchainBootlinS390xz13MuslStable(TestExternalToolchain):
  1997. config = """
  1998. BR2_s390x=y
  1999. BR2_s390x_z13=y
  2000. BR2_TOOLCHAIN_EXTERNAL=y
  2001. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2002. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_S390X_Z13_MUSL_STABLE=y
  2003. # BR2_TARGET_ROOTFS_TAR is not set
  2004. """
  2005. toolchain_prefix = "s390x-linux"
  2006. def test_run(self):
  2007. TestExternalToolchain.common_check(self)
  2008. class TestExternalToolchainBootlinShsh4GlibcBleedingEdge(TestExternalToolchain):
  2009. config = """
  2010. BR2_sh=y
  2011. BR2_sh4=y
  2012. BR2_TOOLCHAIN_EXTERNAL=y
  2013. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2014. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE=y
  2015. # BR2_TARGET_ROOTFS_TAR is not set
  2016. """
  2017. toolchain_prefix = "sh4-linux"
  2018. def test_run(self):
  2019. TestExternalToolchain.common_check(self)
  2020. class TestExternalToolchainBootlinShsh4GlibcStable(TestExternalToolchain):
  2021. config = """
  2022. BR2_sh=y
  2023. BR2_sh4=y
  2024. BR2_TOOLCHAIN_EXTERNAL=y
  2025. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2026. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE=y
  2027. # BR2_TARGET_ROOTFS_TAR is not set
  2028. """
  2029. toolchain_prefix = "sh4-linux"
  2030. def test_run(self):
  2031. TestExternalToolchain.common_check(self)
  2032. class TestExternalToolchainBootlinShsh4MuslBleedingEdge(TestExternalToolchain):
  2033. config = """
  2034. BR2_sh=y
  2035. BR2_sh4=y
  2036. BR2_TOOLCHAIN_EXTERNAL=y
  2037. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2038. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE=y
  2039. # BR2_TARGET_ROOTFS_TAR is not set
  2040. """
  2041. toolchain_prefix = "sh4-linux"
  2042. def test_run(self):
  2043. TestExternalToolchain.common_check(self)
  2044. class TestExternalToolchainBootlinShsh4MuslStable(TestExternalToolchain):
  2045. config = """
  2046. BR2_sh=y
  2047. BR2_sh4=y
  2048. BR2_TOOLCHAIN_EXTERNAL=y
  2049. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2050. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE=y
  2051. # BR2_TARGET_ROOTFS_TAR is not set
  2052. """
  2053. toolchain_prefix = "sh4-linux"
  2054. def test_run(self):
  2055. TestExternalToolchain.common_check(self)
  2056. class TestExternalToolchainBootlinShsh4UclibcBleedingEdge(TestExternalToolchain):
  2057. config = """
  2058. BR2_sh=y
  2059. BR2_sh4=y
  2060. BR2_TOOLCHAIN_EXTERNAL=y
  2061. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2062. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE=y
  2063. # BR2_TARGET_ROOTFS_TAR is not set
  2064. """
  2065. toolchain_prefix = "sh4-linux"
  2066. def test_run(self):
  2067. TestExternalToolchain.common_check(self)
  2068. class TestExternalToolchainBootlinShsh4UclibcStable(TestExternalToolchain):
  2069. config = """
  2070. BR2_sh=y
  2071. BR2_sh4=y
  2072. BR2_TOOLCHAIN_EXTERNAL=y
  2073. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2074. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE=y
  2075. # BR2_TARGET_ROOTFS_TAR is not set
  2076. """
  2077. toolchain_prefix = "sh4-linux"
  2078. def test_run(self):
  2079. TestExternalToolchain.common_check(self)
  2080. class TestExternalToolchainBootlinShsh4aebGlibcBleedingEdge(TestExternalToolchain):
  2081. config = """
  2082. BR2_sh=y
  2083. BR2_sh4aeb=y
  2084. BR2_TOOLCHAIN_EXTERNAL=y
  2085. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2086. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE=y
  2087. # BR2_TARGET_ROOTFS_TAR is not set
  2088. """
  2089. toolchain_prefix = "sh4aeb-linux"
  2090. def test_run(self):
  2091. TestExternalToolchain.common_check(self)
  2092. class TestExternalToolchainBootlinShsh4aebGlibcStable(TestExternalToolchain):
  2093. config = """
  2094. BR2_sh=y
  2095. BR2_sh4aeb=y
  2096. BR2_TOOLCHAIN_EXTERNAL=y
  2097. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2098. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE=y
  2099. # BR2_TARGET_ROOTFS_TAR is not set
  2100. """
  2101. toolchain_prefix = "sh4aeb-linux"
  2102. def test_run(self):
  2103. TestExternalToolchain.common_check(self)
  2104. class TestExternalToolchainBootlinShsh4aebMuslBleedingEdge(TestExternalToolchain):
  2105. config = """
  2106. BR2_sh=y
  2107. BR2_sh4aeb=y
  2108. BR2_TOOLCHAIN_EXTERNAL=y
  2109. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2110. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE=y
  2111. # BR2_TARGET_ROOTFS_TAR is not set
  2112. """
  2113. toolchain_prefix = "sh4aeb-linux"
  2114. def test_run(self):
  2115. TestExternalToolchain.common_check(self)
  2116. class TestExternalToolchainBootlinShsh4aebMuslStable(TestExternalToolchain):
  2117. config = """
  2118. BR2_sh=y
  2119. BR2_sh4aeb=y
  2120. BR2_TOOLCHAIN_EXTERNAL=y
  2121. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2122. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE=y
  2123. # BR2_TARGET_ROOTFS_TAR is not set
  2124. """
  2125. toolchain_prefix = "sh4aeb-linux"
  2126. def test_run(self):
  2127. TestExternalToolchain.common_check(self)
  2128. class TestExternalToolchainBootlinSparc64GlibcBleedingEdge(TestExternalToolchain):
  2129. config = """
  2130. BR2_sparc64=y
  2131. BR2_sparc_v9=y
  2132. BR2_TOOLCHAIN_EXTERNAL=y
  2133. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2134. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE=y
  2135. # BR2_TARGET_ROOTFS_TAR is not set
  2136. """
  2137. toolchain_prefix = "sparc64-linux"
  2138. def test_run(self):
  2139. TestExternalToolchain.common_check(self)
  2140. class TestExternalToolchainBootlinSparc64GlibcStable(TestExternalToolchain):
  2141. config = """
  2142. BR2_sparc64=y
  2143. BR2_sparc_v9=y
  2144. BR2_TOOLCHAIN_EXTERNAL=y
  2145. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2146. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE=y
  2147. # BR2_TARGET_ROOTFS_TAR is not set
  2148. """
  2149. toolchain_prefix = "sparc64-linux"
  2150. def test_run(self):
  2151. TestExternalToolchain.common_check(self)
  2152. class TestExternalToolchainBootlinSparcv8UclibcBleedingEdge(TestExternalToolchain):
  2153. config = """
  2154. BR2_sparc=y
  2155. BR2_sparc_v8=y
  2156. BR2_TOOLCHAIN_EXTERNAL=y
  2157. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2158. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE=y
  2159. # BR2_TARGET_ROOTFS_TAR is not set
  2160. """
  2161. toolchain_prefix = "sparc-linux"
  2162. def test_run(self):
  2163. TestExternalToolchain.common_check(self)
  2164. class TestExternalToolchainBootlinSparcv8UclibcStable(TestExternalToolchain):
  2165. config = """
  2166. BR2_sparc=y
  2167. BR2_sparc_v8=y
  2168. BR2_TOOLCHAIN_EXTERNAL=y
  2169. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2170. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE=y
  2171. # BR2_TARGET_ROOTFS_TAR is not set
  2172. """
  2173. toolchain_prefix = "sparc-linux"
  2174. def test_run(self):
  2175. TestExternalToolchain.common_check(self)
  2176. class TestExternalToolchainBootlinX8664GlibcBleedingEdge(TestExternalToolchain):
  2177. config = """
  2178. BR2_x86_64=y
  2179. BR2_x86_x86_64=y
  2180. BR2_TOOLCHAIN_EXTERNAL=y
  2181. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2182. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_BLEEDING_EDGE=y
  2183. # BR2_TARGET_ROOTFS_TAR is not set
  2184. """
  2185. toolchain_prefix = "x86_64-linux"
  2186. def test_run(self):
  2187. TestExternalToolchain.common_check(self)
  2188. class TestExternalToolchainBootlinX8664GlibcStable(TestExternalToolchain):
  2189. config = """
  2190. BR2_x86_64=y
  2191. BR2_x86_x86_64=y
  2192. BR2_TOOLCHAIN_EXTERNAL=y
  2193. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2194. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_STABLE=y
  2195. # BR2_TARGET_ROOTFS_TAR is not set
  2196. """
  2197. toolchain_prefix = "x86_64-linux"
  2198. def test_run(self):
  2199. TestExternalToolchain.common_check(self)
  2200. class TestExternalToolchainBootlinX8664MuslBleedingEdge(TestExternalToolchain):
  2201. config = """
  2202. BR2_x86_64=y
  2203. BR2_x86_x86_64=y
  2204. BR2_TOOLCHAIN_EXTERNAL=y
  2205. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2206. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_BLEEDING_EDGE=y
  2207. # BR2_TARGET_ROOTFS_TAR is not set
  2208. """
  2209. toolchain_prefix = "x86_64-linux"
  2210. def test_run(self):
  2211. TestExternalToolchain.common_check(self)
  2212. class TestExternalToolchainBootlinX8664MuslStable(TestExternalToolchain):
  2213. config = """
  2214. BR2_x86_64=y
  2215. BR2_x86_x86_64=y
  2216. BR2_TOOLCHAIN_EXTERNAL=y
  2217. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2218. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y
  2219. # BR2_TARGET_ROOTFS_TAR is not set
  2220. """
  2221. toolchain_prefix = "x86_64-linux"
  2222. def test_run(self):
  2223. TestExternalToolchain.common_check(self)
  2224. class TestExternalToolchainBootlinX8664UclibcBleedingEdge(TestExternalToolchain):
  2225. config = """
  2226. BR2_x86_64=y
  2227. BR2_x86_x86_64=y
  2228. BR2_TOOLCHAIN_EXTERNAL=y
  2229. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2230. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_BLEEDING_EDGE=y
  2231. # BR2_TARGET_ROOTFS_TAR is not set
  2232. """
  2233. toolchain_prefix = "x86_64-linux"
  2234. def test_run(self):
  2235. TestExternalToolchain.common_check(self)
  2236. class TestExternalToolchainBootlinX8664UclibcStable(TestExternalToolchain):
  2237. config = """
  2238. BR2_x86_64=y
  2239. BR2_x86_x86_64=y
  2240. BR2_TOOLCHAIN_EXTERNAL=y
  2241. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2242. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_STABLE=y
  2243. # BR2_TARGET_ROOTFS_TAR is not set
  2244. """
  2245. toolchain_prefix = "x86_64-linux"
  2246. def test_run(self):
  2247. TestExternalToolchain.common_check(self)
  2248. class TestExternalToolchainBootlinX8664v2GlibcBleedingEdge(TestExternalToolchain):
  2249. config = """
  2250. BR2_x86_64=y
  2251. BR2_x86_x86_64_v2=y
  2252. BR2_TOOLCHAIN_EXTERNAL=y
  2253. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2254. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_GLIBC_BLEEDING_EDGE=y
  2255. # BR2_TARGET_ROOTFS_TAR is not set
  2256. """
  2257. toolchain_prefix = "x86_64-linux"
  2258. def test_run(self):
  2259. TestExternalToolchain.common_check(self)
  2260. class TestExternalToolchainBootlinX8664v2GlibcStable(TestExternalToolchain):
  2261. config = """
  2262. BR2_x86_64=y
  2263. BR2_x86_x86_64_v2=y
  2264. BR2_TOOLCHAIN_EXTERNAL=y
  2265. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2266. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_GLIBC_STABLE=y
  2267. # BR2_TARGET_ROOTFS_TAR is not set
  2268. """
  2269. toolchain_prefix = "x86_64-linux"
  2270. def test_run(self):
  2271. TestExternalToolchain.common_check(self)
  2272. class TestExternalToolchainBootlinX8664v2MuslBleedingEdge(TestExternalToolchain):
  2273. config = """
  2274. BR2_x86_64=y
  2275. BR2_x86_x86_64_v2=y
  2276. BR2_TOOLCHAIN_EXTERNAL=y
  2277. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2278. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_MUSL_BLEEDING_EDGE=y
  2279. # BR2_TARGET_ROOTFS_TAR is not set
  2280. """
  2281. toolchain_prefix = "x86_64-linux"
  2282. def test_run(self):
  2283. TestExternalToolchain.common_check(self)
  2284. class TestExternalToolchainBootlinX8664v2MuslStable(TestExternalToolchain):
  2285. config = """
  2286. BR2_x86_64=y
  2287. BR2_x86_x86_64_v2=y
  2288. BR2_TOOLCHAIN_EXTERNAL=y
  2289. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2290. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_MUSL_STABLE=y
  2291. # BR2_TARGET_ROOTFS_TAR is not set
  2292. """
  2293. toolchain_prefix = "x86_64-linux"
  2294. def test_run(self):
  2295. TestExternalToolchain.common_check(self)
  2296. class TestExternalToolchainBootlinX8664v2UclibcBleedingEdge(TestExternalToolchain):
  2297. config = """
  2298. BR2_x86_64=y
  2299. BR2_x86_x86_64_v2=y
  2300. BR2_TOOLCHAIN_EXTERNAL=y
  2301. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2302. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_UCLIBC_BLEEDING_EDGE=y
  2303. # BR2_TARGET_ROOTFS_TAR is not set
  2304. """
  2305. toolchain_prefix = "x86_64-linux"
  2306. def test_run(self):
  2307. TestExternalToolchain.common_check(self)
  2308. class TestExternalToolchainBootlinX8664v2UclibcStable(TestExternalToolchain):
  2309. config = """
  2310. BR2_x86_64=y
  2311. BR2_x86_x86_64_v2=y
  2312. BR2_TOOLCHAIN_EXTERNAL=y
  2313. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2314. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_UCLIBC_STABLE=y
  2315. # BR2_TARGET_ROOTFS_TAR is not set
  2316. """
  2317. toolchain_prefix = "x86_64-linux"
  2318. def test_run(self):
  2319. TestExternalToolchain.common_check(self)
  2320. class TestExternalToolchainBootlinX8664v3GlibcBleedingEdge(TestExternalToolchain):
  2321. config = """
  2322. BR2_x86_64=y
  2323. BR2_x86_x86_64_v3=y
  2324. BR2_TOOLCHAIN_EXTERNAL=y
  2325. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2326. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_GLIBC_BLEEDING_EDGE=y
  2327. # BR2_TARGET_ROOTFS_TAR is not set
  2328. """
  2329. toolchain_prefix = "x86_64-linux"
  2330. def test_run(self):
  2331. TestExternalToolchain.common_check(self)
  2332. class TestExternalToolchainBootlinX8664v3GlibcStable(TestExternalToolchain):
  2333. config = """
  2334. BR2_x86_64=y
  2335. BR2_x86_x86_64_v3=y
  2336. BR2_TOOLCHAIN_EXTERNAL=y
  2337. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2338. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_GLIBC_STABLE=y
  2339. # BR2_TARGET_ROOTFS_TAR is not set
  2340. """
  2341. toolchain_prefix = "x86_64-linux"
  2342. def test_run(self):
  2343. TestExternalToolchain.common_check(self)
  2344. class TestExternalToolchainBootlinX8664v3MuslBleedingEdge(TestExternalToolchain):
  2345. config = """
  2346. BR2_x86_64=y
  2347. BR2_x86_x86_64_v3=y
  2348. BR2_TOOLCHAIN_EXTERNAL=y
  2349. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2350. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_MUSL_BLEEDING_EDGE=y
  2351. # BR2_TARGET_ROOTFS_TAR is not set
  2352. """
  2353. toolchain_prefix = "x86_64-linux"
  2354. def test_run(self):
  2355. TestExternalToolchain.common_check(self)
  2356. class TestExternalToolchainBootlinX8664v3MuslStable(TestExternalToolchain):
  2357. config = """
  2358. BR2_x86_64=y
  2359. BR2_x86_x86_64_v3=y
  2360. BR2_TOOLCHAIN_EXTERNAL=y
  2361. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2362. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_MUSL_STABLE=y
  2363. # BR2_TARGET_ROOTFS_TAR is not set
  2364. """
  2365. toolchain_prefix = "x86_64-linux"
  2366. def test_run(self):
  2367. TestExternalToolchain.common_check(self)
  2368. class TestExternalToolchainBootlinX8664v3UclibcBleedingEdge(TestExternalToolchain):
  2369. config = """
  2370. BR2_x86_64=y
  2371. BR2_x86_x86_64_v3=y
  2372. BR2_TOOLCHAIN_EXTERNAL=y
  2373. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2374. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_UCLIBC_BLEEDING_EDGE=y
  2375. # BR2_TARGET_ROOTFS_TAR is not set
  2376. """
  2377. toolchain_prefix = "x86_64-linux"
  2378. def test_run(self):
  2379. TestExternalToolchain.common_check(self)
  2380. class TestExternalToolchainBootlinX8664v3UclibcStable(TestExternalToolchain):
  2381. config = """
  2382. BR2_x86_64=y
  2383. BR2_x86_x86_64_v3=y
  2384. BR2_TOOLCHAIN_EXTERNAL=y
  2385. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2386. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_UCLIBC_STABLE=y
  2387. # BR2_TARGET_ROOTFS_TAR is not set
  2388. """
  2389. toolchain_prefix = "x86_64-linux"
  2390. def test_run(self):
  2391. TestExternalToolchain.common_check(self)
  2392. class TestExternalToolchainBootlinX8664v4GlibcBleedingEdge(TestExternalToolchain):
  2393. config = """
  2394. BR2_x86_64=y
  2395. BR2_x86_x86_64_v4=y
  2396. BR2_TOOLCHAIN_EXTERNAL=y
  2397. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2398. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_GLIBC_BLEEDING_EDGE=y
  2399. # BR2_TARGET_ROOTFS_TAR is not set
  2400. """
  2401. toolchain_prefix = "x86_64-linux"
  2402. def test_run(self):
  2403. TestExternalToolchain.common_check(self)
  2404. class TestExternalToolchainBootlinX8664v4GlibcStable(TestExternalToolchain):
  2405. config = """
  2406. BR2_x86_64=y
  2407. BR2_x86_x86_64_v4=y
  2408. BR2_TOOLCHAIN_EXTERNAL=y
  2409. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2410. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_GLIBC_STABLE=y
  2411. # BR2_TARGET_ROOTFS_TAR is not set
  2412. """
  2413. toolchain_prefix = "x86_64-linux"
  2414. def test_run(self):
  2415. TestExternalToolchain.common_check(self)
  2416. class TestExternalToolchainBootlinX8664v4MuslBleedingEdge(TestExternalToolchain):
  2417. config = """
  2418. BR2_x86_64=y
  2419. BR2_x86_x86_64_v4=y
  2420. BR2_TOOLCHAIN_EXTERNAL=y
  2421. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2422. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_MUSL_BLEEDING_EDGE=y
  2423. # BR2_TARGET_ROOTFS_TAR is not set
  2424. """
  2425. toolchain_prefix = "x86_64-linux"
  2426. def test_run(self):
  2427. TestExternalToolchain.common_check(self)
  2428. class TestExternalToolchainBootlinX8664v4MuslStable(TestExternalToolchain):
  2429. config = """
  2430. BR2_x86_64=y
  2431. BR2_x86_x86_64_v4=y
  2432. BR2_TOOLCHAIN_EXTERNAL=y
  2433. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2434. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_MUSL_STABLE=y
  2435. # BR2_TARGET_ROOTFS_TAR is not set
  2436. """
  2437. toolchain_prefix = "x86_64-linux"
  2438. def test_run(self):
  2439. TestExternalToolchain.common_check(self)
  2440. class TestExternalToolchainBootlinX8664v4UclibcBleedingEdge(TestExternalToolchain):
  2441. config = """
  2442. BR2_x86_64=y
  2443. BR2_x86_x86_64_v4=y
  2444. BR2_TOOLCHAIN_EXTERNAL=y
  2445. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2446. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_UCLIBC_BLEEDING_EDGE=y
  2447. # BR2_TARGET_ROOTFS_TAR is not set
  2448. """
  2449. toolchain_prefix = "x86_64-linux"
  2450. def test_run(self):
  2451. TestExternalToolchain.common_check(self)
  2452. class TestExternalToolchainBootlinX8664v4UclibcStable(TestExternalToolchain):
  2453. config = """
  2454. BR2_x86_64=y
  2455. BR2_x86_x86_64_v4=y
  2456. BR2_TOOLCHAIN_EXTERNAL=y
  2457. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2458. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_UCLIBC_STABLE=y
  2459. # BR2_TARGET_ROOTFS_TAR is not set
  2460. """
  2461. toolchain_prefix = "x86_64-linux"
  2462. def test_run(self):
  2463. TestExternalToolchain.common_check(self)
  2464. class TestExternalToolchainBootlinX8664corei7GlibcBleedingEdge(TestExternalToolchain):
  2465. config = """
  2466. BR2_x86_64=y
  2467. BR2_x86_corei7=y
  2468. BR2_TOOLCHAIN_EXTERNAL=y
  2469. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2470. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y
  2471. # BR2_TARGET_ROOTFS_TAR is not set
  2472. """
  2473. toolchain_prefix = "x86_64-linux"
  2474. def test_run(self):
  2475. TestExternalToolchain.common_check(self)
  2476. class TestExternalToolchainBootlinX8664corei7GlibcStable(TestExternalToolchain):
  2477. config = """
  2478. BR2_x86_64=y
  2479. BR2_x86_corei7=y
  2480. BR2_TOOLCHAIN_EXTERNAL=y
  2481. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2482. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y
  2483. # BR2_TARGET_ROOTFS_TAR is not set
  2484. """
  2485. toolchain_prefix = "x86_64-linux"
  2486. def test_run(self):
  2487. TestExternalToolchain.common_check(self)
  2488. class TestExternalToolchainBootlinX8664corei7MuslBleedingEdge(TestExternalToolchain):
  2489. config = """
  2490. BR2_x86_64=y
  2491. BR2_x86_corei7=y
  2492. BR2_TOOLCHAIN_EXTERNAL=y
  2493. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2494. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE=y
  2495. # BR2_TARGET_ROOTFS_TAR is not set
  2496. """
  2497. toolchain_prefix = "x86_64-linux"
  2498. def test_run(self):
  2499. TestExternalToolchain.common_check(self)
  2500. class TestExternalToolchainBootlinX8664corei7MuslStable(TestExternalToolchain):
  2501. config = """
  2502. BR2_x86_64=y
  2503. BR2_x86_corei7=y
  2504. BR2_TOOLCHAIN_EXTERNAL=y
  2505. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2506. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE=y
  2507. # BR2_TARGET_ROOTFS_TAR is not set
  2508. """
  2509. toolchain_prefix = "x86_64-linux"
  2510. def test_run(self):
  2511. TestExternalToolchain.common_check(self)
  2512. class TestExternalToolchainBootlinX8664corei7UclibcBleedingEdge(TestExternalToolchain):
  2513. config = """
  2514. BR2_x86_64=y
  2515. BR2_x86_corei7=y
  2516. BR2_TOOLCHAIN_EXTERNAL=y
  2517. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2518. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE=y
  2519. # BR2_TARGET_ROOTFS_TAR is not set
  2520. """
  2521. toolchain_prefix = "x86_64-linux"
  2522. def test_run(self):
  2523. TestExternalToolchain.common_check(self)
  2524. class TestExternalToolchainBootlinX8664corei7UclibcStable(TestExternalToolchain):
  2525. config = """
  2526. BR2_x86_64=y
  2527. BR2_x86_corei7=y
  2528. BR2_TOOLCHAIN_EXTERNAL=y
  2529. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2530. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y
  2531. # BR2_TARGET_ROOTFS_TAR is not set
  2532. """
  2533. toolchain_prefix = "x86_64-linux"
  2534. def test_run(self):
  2535. TestExternalToolchain.common_check(self)
  2536. class TestExternalToolchainBootlinX86core2GlibcBleedingEdge(TestExternalToolchain):
  2537. config = """
  2538. BR2_i386=y
  2539. BR2_x86_core2=y
  2540. BR2_TOOLCHAIN_EXTERNAL=y
  2541. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2542. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE=y
  2543. # BR2_TARGET_ROOTFS_TAR is not set
  2544. """
  2545. toolchain_prefix = "i686-linux"
  2546. def test_run(self):
  2547. TestExternalToolchain.common_check(self)
  2548. class TestExternalToolchainBootlinX86core2GlibcStable(TestExternalToolchain):
  2549. config = """
  2550. BR2_i386=y
  2551. BR2_x86_core2=y
  2552. BR2_TOOLCHAIN_EXTERNAL=y
  2553. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2554. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y
  2555. # BR2_TARGET_ROOTFS_TAR is not set
  2556. """
  2557. toolchain_prefix = "i686-linux"
  2558. def test_run(self):
  2559. TestExternalToolchain.common_check(self)
  2560. class TestExternalToolchainBootlinX86core2MuslBleedingEdge(TestExternalToolchain):
  2561. config = """
  2562. BR2_i386=y
  2563. BR2_x86_core2=y
  2564. BR2_TOOLCHAIN_EXTERNAL=y
  2565. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2566. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE=y
  2567. # BR2_TARGET_ROOTFS_TAR is not set
  2568. """
  2569. toolchain_prefix = "i686-linux"
  2570. def test_run(self):
  2571. TestExternalToolchain.common_check(self)
  2572. class TestExternalToolchainBootlinX86core2MuslStable(TestExternalToolchain):
  2573. config = """
  2574. BR2_i386=y
  2575. BR2_x86_core2=y
  2576. BR2_TOOLCHAIN_EXTERNAL=y
  2577. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2578. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE=y
  2579. # BR2_TARGET_ROOTFS_TAR is not set
  2580. """
  2581. toolchain_prefix = "i686-linux"
  2582. def test_run(self):
  2583. TestExternalToolchain.common_check(self)
  2584. class TestExternalToolchainBootlinX86core2UclibcBleedingEdge(TestExternalToolchain):
  2585. config = """
  2586. BR2_i386=y
  2587. BR2_x86_core2=y
  2588. BR2_TOOLCHAIN_EXTERNAL=y
  2589. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2590. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE=y
  2591. # BR2_TARGET_ROOTFS_TAR is not set
  2592. """
  2593. toolchain_prefix = "i686-linux"
  2594. def test_run(self):
  2595. TestExternalToolchain.common_check(self)
  2596. class TestExternalToolchainBootlinX86core2UclibcStable(TestExternalToolchain):
  2597. config = """
  2598. BR2_i386=y
  2599. BR2_x86_core2=y
  2600. BR2_TOOLCHAIN_EXTERNAL=y
  2601. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2602. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE=y
  2603. # BR2_TARGET_ROOTFS_TAR is not set
  2604. """
  2605. toolchain_prefix = "i686-linux"
  2606. def test_run(self):
  2607. TestExternalToolchain.common_check(self)
  2608. class TestExternalToolchainBootlinX86i686GlibcBleedingEdge(TestExternalToolchain):
  2609. config = """
  2610. BR2_i386=y
  2611. BR2_x86_i686=y
  2612. BR2_TOOLCHAIN_EXTERNAL=y
  2613. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2614. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE=y
  2615. # BR2_TARGET_ROOTFS_TAR is not set
  2616. """
  2617. toolchain_prefix = "i686-linux"
  2618. def test_run(self):
  2619. TestExternalToolchain.common_check(self)
  2620. class TestExternalToolchainBootlinX86i686GlibcStable(TestExternalToolchain):
  2621. config = """
  2622. BR2_i386=y
  2623. BR2_x86_i686=y
  2624. BR2_TOOLCHAIN_EXTERNAL=y
  2625. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2626. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE=y
  2627. # BR2_TARGET_ROOTFS_TAR is not set
  2628. """
  2629. toolchain_prefix = "i686-linux"
  2630. def test_run(self):
  2631. TestExternalToolchain.common_check(self)
  2632. class TestExternalToolchainBootlinX86i686MuslBleedingEdge(TestExternalToolchain):
  2633. config = """
  2634. BR2_i386=y
  2635. BR2_x86_i686=y
  2636. BR2_TOOLCHAIN_EXTERNAL=y
  2637. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2638. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE=y
  2639. # BR2_TARGET_ROOTFS_TAR is not set
  2640. """
  2641. toolchain_prefix = "i686-linux"
  2642. def test_run(self):
  2643. TestExternalToolchain.common_check(self)
  2644. class TestExternalToolchainBootlinX86i686MuslStable(TestExternalToolchain):
  2645. config = """
  2646. BR2_i386=y
  2647. BR2_x86_i686=y
  2648. BR2_TOOLCHAIN_EXTERNAL=y
  2649. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2650. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE=y
  2651. # BR2_TARGET_ROOTFS_TAR is not set
  2652. """
  2653. toolchain_prefix = "i686-linux"
  2654. def test_run(self):
  2655. TestExternalToolchain.common_check(self)
  2656. class TestExternalToolchainBootlinX86i686UclibcBleedingEdge(TestExternalToolchain):
  2657. config = """
  2658. BR2_i386=y
  2659. BR2_x86_i686=y
  2660. BR2_TOOLCHAIN_EXTERNAL=y
  2661. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2662. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE=y
  2663. # BR2_TARGET_ROOTFS_TAR is not set
  2664. """
  2665. toolchain_prefix = "i686-linux"
  2666. def test_run(self):
  2667. TestExternalToolchain.common_check(self)
  2668. class TestExternalToolchainBootlinX86i686UclibcStable(TestExternalToolchain):
  2669. config = """
  2670. BR2_i386=y
  2671. BR2_x86_i686=y
  2672. BR2_TOOLCHAIN_EXTERNAL=y
  2673. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2674. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE=y
  2675. # BR2_TARGET_ROOTFS_TAR is not set
  2676. """
  2677. toolchain_prefix = "i686-linux"
  2678. def test_run(self):
  2679. TestExternalToolchain.common_check(self)
  2680. class TestExternalToolchainBootlinXtensalx60UclibcBleedingEdge(TestExternalToolchain):
  2681. config = """
  2682. BR2_xtensa=y
  2683. BR2_XTENSA_CUSTOM=y
  2684. BR2_XTENSA_LITTLE_ENDIAN=y
  2685. BR2_TOOLCHAIN_EXTERNAL=y
  2686. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2687. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE=y
  2688. # BR2_TARGET_ROOTFS_TAR is not set
  2689. """
  2690. toolchain_prefix = "xtensa-linux"
  2691. def test_run(self):
  2692. TestExternalToolchain.common_check(self)
  2693. class TestExternalToolchainBootlinXtensalx60UclibcStable(TestExternalToolchain):
  2694. config = """
  2695. BR2_xtensa=y
  2696. BR2_XTENSA_CUSTOM=y
  2697. BR2_XTENSA_LITTLE_ENDIAN=y
  2698. BR2_TOOLCHAIN_EXTERNAL=y
  2699. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
  2700. BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE=y
  2701. # BR2_TARGET_ROOTFS_TAR is not set
  2702. """
  2703. toolchain_prefix = "xtensa-linux"
  2704. def test_run(self):
  2705. TestExternalToolchain.common_check(self)