Knowledge

BitBake

Source 📝

354: 1511: 1499: 33: 1523: 333:
for the package in standard variables. During the build process, recipes are used to track dependencies, performing native or cross-compilation of the package and package it so that it is suitable for installation on the local or a target device. It is also possible to create complete images
1929: 458: 506: 66: 440: 2008: 1527: 1503: 1561: 499: 1584: 294:
project until it was separated out into a standalone, maintained, distribution-independent tool. BitBake is co-maintained by the
1967: 359: 1515: 492: 43: 1081: 392: 84: 217: 1884: 1712: 234: 52: 1554: 1417: 1146: 1629: 1396: 657: 198: 1972: 1468: 173: 338:
and kernel. As a first step in a cross-build setup, the framework will attempt to create a cross-compiler
1450: 1432: 1197: 147: 1919: 1889: 998: 859: 777: 318: 329:, local file system) of the package, dependencies and compile or install options. They also store the 2003: 1874: 1866: 1619: 1547: 950: 545: 283: 412: 1899: 1879: 62: 1998: 1727: 1279: 1106: 975: 897: 48: 17: 1717: 1010: 832: 817: 647: 305:
BitBake recipes specify how a particular package is built. Recipes consist of the source URL (
1649: 1589: 1409: 1101: 1977: 1911: 1690: 1599: 1404: 1043: 8: 1775: 1707: 1614: 1386: 965: 955: 680: 665: 642: 632: 387: 268: 1634: 1284: 812: 782: 568: 279: 1924: 1846: 1732: 1624: 1609: 1269: 1053: 945: 586: 322: 275: 426: 1813: 1722: 1661: 1639: 1458: 1154: 1038: 869: 596: 591: 479: 229: 222: 205: 797: 1697: 1685: 1644: 1570: 1317: 1289: 1251: 1071: 910: 905: 723: 515: 260: 58: 1939: 1821: 1793: 1742: 1604: 1476: 1337: 1233: 693: 688: 627: 581: 519: 326: 272: 792: 1992: 1944: 1856: 1159: 854: 372: 295: 484: 1841: 1654: 1205: 377: 299: 291: 287: 118: 1954: 1894: 1702: 1134: 1030: 940: 920: 767: 335: 179: 1934: 1760: 1594: 1243: 1225: 1210: 1091: 787: 533: 264: 113: 103: 1831: 1422: 1274: 1061: 731: 610: 367: 339: 32: 1788: 1680: 1671: 1539: 1440: 1322: 762: 736: 670: 576: 382: 330: 1949: 1836: 1765: 1752: 1015: 1002: 983: 960: 930: 915: 772: 703: 698: 637: 1851: 1783: 1327: 1299: 1215: 1182: 1164: 1096: 1076: 1066: 1020: 988: 935: 864: 827: 802: 746: 741: 1345: 1309: 1261: 1187: 1174: 1086: 925: 887: 846: 708: 606: 310: 210: 1803: 1798: 1737: 1381: 1363: 1355: 1111: 879: 822: 807: 713: 619: 558: 553: 306: 441:"It was inspired by the Portage package management system" 245: 1373: 314: 278:, although it is not limited to that. It is inspired by 349: 413:"Re: [yocto] Happy Birthday, Yocto Project" 290:distribution. BitBake existed for some time in the 1990: 47:, potentially preventing the article from being 1555: 514: 500: 1562: 1548: 1498: 507: 493: 67:reliable, independent, third-party sources 85:Learn how and when to remove this message 61:by replacing them with more appropriate 44:too closely associated with the subject 14: 1991: 459:"From Bitbake Hello World To an Image" 1543: 1132: 531: 488: 1569: 1522: 360:Free and open-source software portal 26: 24: 2009:Free software programmed in Python 25: 2020: 473: 393:List of build automation software 1521: 1510: 1509: 1497: 352: 342:suited for the target platform. 42:may rely excessively on sources 31: 1885:Light-weight Linux distribution 1713:Hacking of consumer electronics 1133: 451: 433: 419: 405: 13: 1: 398: 1973:List of open-source hardware 532: 153:2.0.1 / May 23, 2022 7: 345: 10: 2025: 1890:Real-time operating system 267:with the special focus of 1963: 1910: 1875:Linux on embedded systems 1865: 1812: 1774: 1751: 1670: 1577: 1493: 1467: 1449: 1431: 1395: 1372: 1354: 1336: 1308: 1260: 1242: 1224: 1196: 1173: 1145: 1141: 1128: 1052: 1029: 997: 974: 896: 878: 845: 755: 722: 679: 656: 618: 605: 567: 544: 540: 527: 284:package management system 240: 228: 216: 204: 194: 172: 168: 146: 142: 124: 112: 102: 1880:Linux for mobile devices 1728:PlayStation 3 Jailbreak 1107:Windows Package Manager 1718:Homebrew (video games) 648:Ubuntu Software Center 130:; 19 years ago 1912:Programming languages 1650:Single-board computer 1590:Board support package 334:consisting of a root 155:; 2 years ago 128:December 7, 2004 1978:Open-source robotics 1968:Lightweight browsers 1691:Proprietary firmware 1600:Consumer electronics 1708:Defective by Design 1615:Embedded hypervisor 966:Windows Phone Store 480:BitBake README file 445:BitBake User Manual 388:MontaVista Software 99: 1776:Software libraries 104:Original author(s) 97: 1986: 1985: 1925:Assembly language 1867:Operating systems 1847:Stand-alone shell 1814:Programming tools 1733:Rooting (Android) 1625:Embedded software 1610:Embedded database 1537: 1536: 1489: 1488: 1485: 1484: 1124: 1123: 1120: 1119: 946:Huawei AppGallery 841: 840: 658:Purely functional 587:PlayStation Store 276:cross compilation 271:and packages for 254: 253: 95: 94: 87: 16:(Redirected from 2016: 2004:Build automation 1723:iOS jailbreaking 1640:Memory footprint 1571:Embedded systems 1564: 1557: 1550: 1541: 1540: 1525: 1524: 1513: 1512: 1501: 1500: 1423:Enthought Canopy 1155:ports collection 1143: 1142: 1130: 1129: 1039:Chrome Web Store 616: 615: 597:Xbox Games Store 592:Wii Shop Channel 542: 541: 529: 528: 516:Package managers 509: 502: 495: 486: 485: 467: 466: 455: 449: 448: 437: 431: 430: 423: 417: 416: 409: 362: 357: 356: 355: 250: 247: 223:Build automation 206:Operating system 190: 187: 185: 183: 181: 163: 161: 156: 138: 136: 131: 100: 96: 90: 83: 79: 76: 70: 35: 27: 21: 2024: 2023: 2019: 2018: 2017: 2015: 2014: 2013: 1989: 1988: 1987: 1982: 1959: 1906: 1861: 1808: 1770: 1747: 1698:Closed platform 1686:Custom firmware 1666: 1645:Microcontroller 1573: 1568: 1538: 1533: 1481: 1463: 1445: 1427: 1391: 1368: 1350: 1332: 1304: 1256: 1238: 1220: 1192: 1169: 1137: 1116: 1072:Microsoft Store 1048: 1044:Mozilla Add-ons 1025: 993: 970: 951:Microsoft Store 906:Amazon Appstore 892: 874: 837: 751: 718: 675: 652: 609: 601: 563: 536: 523: 513: 476: 471: 470: 463:Hambedded Linux 457: 456: 452: 439: 438: 434: 425: 424: 420: 411: 410: 406: 401: 358: 353: 351: 348: 282:, which is the 244: 178: 164: 159: 157: 154: 134: 132: 129: 125:Initial release 91: 80: 74: 71: 56: 36: 23: 22: 15: 12: 11: 5: 2022: 2012: 2011: 2006: 2001: 1999:Embedded Linux 1984: 1983: 1981: 1980: 1975: 1970: 1964: 1961: 1960: 1958: 1957: 1952: 1947: 1942: 1937: 1932: 1927: 1922: 1916: 1914: 1908: 1907: 1905: 1904: 1903: 1902: 1892: 1887: 1882: 1877: 1871: 1869: 1863: 1862: 1860: 1859: 1854: 1849: 1844: 1839: 1834: 1829: 1824: 1822:Almquist shell 1818: 1816: 1810: 1809: 1807: 1806: 1801: 1796: 1794:Embedded GLIBC 1791: 1786: 1780: 1778: 1772: 1771: 1769: 1768: 1763: 1757: 1755: 1749: 1748: 1746: 1745: 1743:Vendor lock-in 1740: 1735: 1730: 1725: 1720: 1715: 1710: 1705: 1700: 1695: 1694: 1693: 1688: 1677: 1675: 1668: 1667: 1665: 1664: 1659: 1658: 1657: 1647: 1642: 1637: 1632: 1627: 1622: 1617: 1612: 1607: 1605:Cross compiler 1602: 1597: 1592: 1587: 1581: 1579: 1575: 1574: 1567: 1566: 1559: 1552: 1544: 1535: 1534: 1532: 1531: 1519: 1507: 1494: 1491: 1490: 1487: 1486: 1483: 1482: 1480: 1479: 1473: 1471: 1465: 1464: 1462: 1461: 1455: 1453: 1447: 1446: 1444: 1443: 1437: 1435: 1429: 1428: 1426: 1425: 1420: 1415: 1412: 1407: 1401: 1399: 1393: 1392: 1390: 1389: 1384: 1378: 1376: 1370: 1369: 1367: 1366: 1360: 1358: 1352: 1351: 1349: 1348: 1342: 1340: 1334: 1333: 1331: 1330: 1325: 1320: 1314: 1312: 1306: 1305: 1303: 1302: 1297: 1292: 1287: 1282: 1277: 1272: 1266: 1264: 1258: 1257: 1255: 1254: 1248: 1246: 1240: 1239: 1237: 1236: 1230: 1228: 1222: 1221: 1219: 1218: 1213: 1208: 1202: 1200: 1194: 1193: 1191: 1190: 1185: 1179: 1177: 1171: 1170: 1168: 1167: 1162: 1157: 1151: 1149: 1139: 1138: 1126: 1125: 1122: 1121: 1118: 1117: 1115: 1114: 1109: 1104: 1099: 1094: 1089: 1084: 1079: 1074: 1069: 1064: 1058: 1056: 1050: 1049: 1047: 1046: 1041: 1035: 1033: 1027: 1026: 1024: 1023: 1018: 1013: 1007: 1005: 995: 994: 992: 991: 986: 980: 978: 976:Multi-platform 972: 971: 969: 968: 963: 958: 953: 948: 943: 938: 933: 928: 923: 918: 913: 908: 902: 900: 894: 893: 891: 890: 884: 882: 876: 875: 873: 872: 867: 862: 857: 851: 849: 843: 842: 839: 838: 836: 835: 830: 825: 820: 815: 810: 805: 800: 795: 790: 785: 780: 775: 770: 765: 759: 757: 753: 752: 750: 749: 744: 739: 734: 728: 726: 720: 719: 717: 716: 711: 706: 701: 696: 691: 685: 683: 677: 676: 674: 673: 668: 662: 660: 654: 653: 651: 650: 645: 640: 635: 630: 624: 622: 613: 603: 602: 600: 599: 594: 589: 584: 582:Nintendo eShop 579: 573: 571: 569:Gaming console 565: 564: 562: 561: 556: 550: 548: 538: 537: 525: 524: 512: 511: 504: 497: 489: 483: 482: 475: 474:External links 472: 469: 468: 450: 432: 418: 403: 402: 400: 397: 396: 395: 390: 385: 380: 375: 370: 364: 363: 347: 344: 273:embedded Linux 252: 251: 242: 238: 237: 232: 226: 225: 220: 214: 213: 208: 202: 201: 196: 192: 191: 176: 170: 169: 166: 165: 152: 150: 148:Stable release 144: 143: 140: 139: 126: 122: 121: 116: 110: 109: 108:Holger Schurig 106: 93: 92: 39: 37: 30: 9: 6: 4: 3: 2: 2021: 2010: 2007: 2005: 2002: 2000: 1997: 1996: 1994: 1979: 1976: 1974: 1971: 1969: 1966: 1965: 1962: 1956: 1953: 1951: 1948: 1946: 1945:Embedded Java 1943: 1941: 1938: 1936: 1933: 1931: 1928: 1926: 1923: 1921: 1918: 1917: 1915: 1913: 1909: 1901: 1898: 1897: 1896: 1893: 1891: 1888: 1886: 1883: 1881: 1878: 1876: 1873: 1872: 1870: 1868: 1864: 1858: 1857:Yocto Project 1855: 1853: 1850: 1848: 1845: 1843: 1840: 1838: 1835: 1833: 1830: 1828: 1825: 1823: 1820: 1819: 1817: 1815: 1811: 1805: 1802: 1800: 1797: 1795: 1792: 1790: 1787: 1785: 1782: 1781: 1779: 1777: 1773: 1767: 1764: 1762: 1759: 1758: 1756: 1754: 1750: 1744: 1741: 1739: 1736: 1734: 1731: 1729: 1726: 1724: 1721: 1719: 1716: 1714: 1711: 1709: 1706: 1704: 1701: 1699: 1696: 1692: 1689: 1687: 1684: 1683: 1682: 1679: 1678: 1676: 1673: 1669: 1663: 1660: 1656: 1653: 1652: 1651: 1648: 1646: 1643: 1641: 1638: 1636: 1633: 1631: 1628: 1626: 1623: 1621: 1618: 1616: 1613: 1611: 1608: 1606: 1603: 1601: 1598: 1596: 1593: 1591: 1588: 1586: 1583: 1582: 1580: 1578:General terms 1576: 1572: 1565: 1560: 1558: 1553: 1551: 1546: 1545: 1542: 1530: 1529: 1520: 1518: 1517: 1508: 1506: 1505: 1496: 1495: 1492: 1478: 1475: 1474: 1472: 1470: 1466: 1460: 1457: 1456: 1454: 1452: 1448: 1442: 1439: 1438: 1436: 1434: 1430: 1424: 1421: 1419: 1416: 1413: 1411: 1408: 1406: 1403: 1402: 1400: 1398: 1394: 1388: 1385: 1383: 1380: 1379: 1377: 1375: 1371: 1365: 1362: 1361: 1359: 1357: 1353: 1347: 1344: 1343: 1341: 1339: 1335: 1329: 1326: 1324: 1321: 1319: 1316: 1315: 1313: 1311: 1307: 1301: 1298: 1296: 1293: 1291: 1288: 1286: 1283: 1281: 1278: 1276: 1273: 1271: 1268: 1267: 1265: 1263: 1259: 1253: 1250: 1249: 1247: 1245: 1241: 1235: 1232: 1231: 1229: 1227: 1223: 1217: 1214: 1212: 1209: 1207: 1204: 1203: 1201: 1199: 1195: 1189: 1186: 1184: 1181: 1180: 1178: 1176: 1172: 1166: 1163: 1161: 1160:FreeBSD Ports 1158: 1156: 1153: 1152: 1150: 1148: 1144: 1140: 1136: 1131: 1127: 1113: 1110: 1108: 1105: 1103: 1100: 1098: 1095: 1093: 1090: 1088: 1085: 1083: 1080: 1078: 1075: 1073: 1070: 1068: 1065: 1063: 1060: 1059: 1057: 1055: 1051: 1045: 1042: 1040: 1037: 1036: 1034: 1032: 1028: 1022: 1019: 1017: 1014: 1012: 1009: 1008: 1006: 1004: 1000: 996: 990: 987: 985: 982: 981: 979: 977: 973: 967: 964: 962: 959: 957: 954: 952: 949: 947: 944: 942: 939: 937: 934: 932: 929: 927: 924: 922: 919: 917: 914: 912: 909: 907: 904: 903: 901: 899: 895: 889: 886: 885: 883: 881: 877: 871: 868: 866: 863: 861: 858: 856: 855:Mac App Store 853: 852: 850: 848: 844: 834: 831: 829: 826: 824: 821: 819: 816: 814: 811: 809: 806: 804: 801: 799: 796: 794: 791: 789: 786: 784: 783:Horizon Store 781: 779: 776: 774: 771: 769: 766: 764: 761: 760: 758: 754: 748: 745: 743: 740: 738: 735: 733: 730: 729: 727: 725: 721: 715: 712: 710: 707: 705: 702: 700: 697: 695: 692: 690: 687: 686: 684: 682: 678: 672: 669: 667: 664: 663: 661: 659: 655: 649: 646: 644: 641: 639: 636: 634: 631: 629: 626: 625: 623: 621: 617: 614: 612: 608: 604: 598: 595: 593: 590: 588: 585: 583: 580: 578: 575: 574: 572: 570: 566: 560: 557: 555: 552: 551: 549: 547: 543: 539: 535: 530: 526: 521: 517: 510: 505: 503: 498: 496: 491: 490: 487: 481: 478: 477: 465:. 2017-04-26. 464: 460: 454: 447:. 2018-05-17. 446: 442: 436: 428: 422: 415:. 2013-11-15. 414: 408: 404: 394: 391: 389: 386: 384: 381: 379: 376: 374: 373:Yocto Project 371: 369: 366: 365: 361: 350: 343: 341: 337: 332: 328: 324: 320: 316: 312: 308: 303: 301: 297: 296:Yocto Project 293: 289: 285: 281: 277: 274: 270: 269:distributions 266: 262: 258: 249: 243: 239: 236: 233: 231: 227: 224: 221: 219: 215: 212: 209: 207: 203: 200: 197: 193: 189: 182:.openembedded 177: 175: 171: 167: 151: 149: 145: 141: 127: 123: 120: 117: 115: 111: 107: 105: 101: 89: 86: 78: 68: 64: 60: 54: 50: 46: 45: 40:This article 38: 34: 29: 28: 19: 1940:Embedded C++ 1842:OpenEmbedded 1826: 1753:Boot loaders 1674:and controls 1655:Raspberry Pi 1526: 1514: 1502: 1294: 1031:Web browsers 462: 453: 444: 435: 421: 407: 378:OpenEmbedded 304: 300:OpenEmbedded 292:OpenEmbedded 288:Gentoo Linux 286:used by the 256: 255: 246:openembedded 119:OpenEmbedded 114:Developer(s) 81: 72: 57:Please help 41: 1955:MicroPython 1895:Windows IoT 1703:Crippleware 1620:Embedded OS 941:Google Play 921:Cafe Bazaar 768:Autopackage 546:Embedded OS 336:file system 1993:Categories 1935:Embedded C 1595:Bootloader 1244:Kubernetes 1226:JavaScript 1135:Uncompiled 1092:Chocolatey 788:PackageKit 399:References 265:build tool 195:Written in 174:Repository 160:2022-05-23 135:2004-12-07 75:March 2018 59:improve it 49:verifiable 1832:Buildroot 1275:apt-build 1062:Allmyapps 911:App Store 898:Mobile OS 732:slapt-get 611:Unix-like 368:Buildroot 340:toolchain 302:project. 63:citations 1789:dietlibc 1681:Firmware 1672:Firmware 1516:Category 1441:RubyGems 1418:Anaconda 1387:Composer 1323:MacPorts 860:Homebrew 778:Homebrew 763:AppImage 737:slackpkg 643:Synaptic 633:aptitude 577:DSi Shop 534:Compiled 383:Openmoko 346:See also 331:metadata 298:and the 186:/bitbake 1950:MISRA C 1837:BusyBox 1827:BitBake 1766:Barebox 1528:Commons 1295:BitBake 1290:Sorcery 1285:Portage 1280:Compile 1054:Windows 1016:OpenCSW 1003:illumos 999:Solaris 984:OpenPKG 961:SlideME 931:F-Droid 916:Aptoide 813:Portage 773:Flatpak 724:tarball 704:up2date 699:APT-RPM 638:dselect 280:Portage 263:-like 257:BitBake 241:Website 230:License 158: ( 133: ( 98:BitBake 53:neutral 18:Bitbake 1900:Win CE 1852:Toybox 1784:uClibc 1761:U-Boot 1397:Python 1328:pkgsrc 1300:pkgsrc 1216:Gradle 1183:Gradle 1165:pkgsrc 1097:ProGet 1077:Npackd 1067:Cygwin 1021:pkgsrc 989:pkgsrc 936:GetJar 865:pkgsrc 828:pkgsrc 803:PETget 793:pacman 747:swaret 742:netpkg 520:format 199:Python 1469:Scala 1459:Cargo 1346:NuGet 1310:macOS 1262:Linux 1206:Maven 1188:vcpkg 1102:Scoop 1087:NuGet 926:Cydia 888:SMP/E 870:Munki 847:macOS 756:Other 709:urpmi 607:Linux 427:"Tag" 311:https 259:is a 235:GPLv2 211:Linux 1930:CAPL 1804:musl 1799:lwIP 1738:UEFI 1630:FPGA 1585:ASIC 1504:List 1451:Rust 1433:Ruby 1414:PyPM 1405:PyPI 1382:PEAR 1364:CPAN 1356:Perl 1338:.NET 1318:Fink 1252:Helm 1198:Java 1112:wpkg 1082:NSIS 880:z/OS 833:Helm 823:Upkg 818:Snap 808:PISI 714:ZYpp 671:Guix 620:dpkg 559:opkg 554:ipkg 307:http 261:make 248:.org 218:Type 184:.org 51:and 1920:Ada 1662:SoC 1635:IoT 1477:sbt 1410:pip 1374:PHP 1270:ABS 1234:npm 1211:Ivy 1175:C++ 1147:BSD 1011:IPS 956:RPM 798:PBI 694:DNF 689:YUM 681:RPM 666:Nix 628:APT 327:git 323:svn 319:cvs 315:ftp 180:git 65:to 1995:: 1001:• 461:. 443:. 325:, 321:, 317:, 313:, 309:, 1563:e 1556:t 1549:v 522:) 518:( 508:e 501:t 494:v 429:. 188:/ 162:) 137:) 88:) 82:( 77:) 73:( 69:. 55:. 20:)

Index

Bitbake

too closely associated with the subject
verifiable
neutral
improve it
citations
reliable, independent, third-party sources
Learn how and when to remove this message
Original author(s)
Developer(s)
OpenEmbedded
Stable release
Repository
git.openembedded.org/bitbake/
Python
Operating system
Linux
Type
Build automation
License
GPLv2
openembedded.org
make
build tool
distributions
embedded Linux
cross compilation
Portage
package management system

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.