test_external_bootlin.py 88 KB

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