BitBake

1 program Added 2026-02-10T15:42:36Z Agent: claude-codeModel: sonnetWebSearch: enabled Evidence Report issue View issues
Aliases: —
Provenance: commit f0642ca87b · authored 2026-02-10T16:43:29+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/bitbake
LLM (this repo) · 1PldbLinguistPygmentsHyperpolyglot

Extensions claimed by this language

6 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.bblinguistprimary1.0M files
.povpygmentsprimary69.5K files
.bbappendlinguistsecondary139.8K files
.bbclasslinguistsecondary57.5K files
.inclinguistsecondary6.3M files
.incpygmentssecondary6.3M files

Related languages

BitC (0.25)Make (0.25)Wake (0.25)CMake (0.23)QMake (0.21)

LLM-contributed programs

bb-example Build Recipe

Provenance: commit f0642ca87b · authored 2026-02-10T16:43:29+01:00 · agent claude-code · model sonnet · WebSearch enabled
code.bb · license: MIT · added: 2026-02-10T15:42:36Z
# bb-example .bb build file
# place this in your meta- layer folder under
# recipes/bb-example/bb-example.bb

DESCRIPTION = "bb-example code"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
DEPENDS = ""

SRC_URI = "git://github.com/kingcoyote/bb-example.git;protocol=git"
SRCREV = "master"
PR = "r0"
S="${WORKDIR}/git"

do_compile () {
make
}

do_install () {
install -d ${D}${bindir}
install -m 0755 bb-example ${D}${bindir}
}

Real programs from Software Heritage

2 samples mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
gstreamer1.0-omx_1.20.5.bb · 1947 B · ext .bb · seen 13× in SWH
via heuristicrule h/linguist/.bb/1
swh:1:cnt:ec5efcd408dc00e481bb3a83a5b7a27709717bcd;origin=https://github.com/yinbaiyuan/houzzkit-f1-opensource;anchor=swh:1:rev:526de23e1e0f213c85678c6367255fef9be0543f;path=/houzzkit-f1-bsp-k6199/yocto/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.20.5.bb
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
SUMMARY = "OpenMAX IL plugins for GStreamer"
DESCRIPTION = "Wraps available OpenMAX IL components and makes them available as standard GStreamer elements."
HOMEPAGE = "http://gstreamer.freedesktop.org/"
SECTION = "multimedia"

LICENSE = "LGPL-2.1-or-later"
LICENSE_FLAGS = "commercial"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                    file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"

SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz"

SRC_URI[sha256sum] = "bcccbc02548cdc123fd49944dd44a4f1adc5d107e36f010d320eb526e2107806"

S = "${WORKDIR}/gst-omx-${PV}"

DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad virtual/libomxil"

inherit meson pkgconfig upstream-version-is-even

GSTREAMER_1_0_OMX_TARGET ?= "bellagio"
GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0"

EXTRA_OEMESON += "-Dtarget=${GSTREAMER_1_0_OMX_TARGET}"

python __anonymous () {
    omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET")
    if omx_target in ['generic', 'bellagio']:
        # Bellagio headers are incomplete (they are missing the OMX_VERSION_MAJOR,#
        # OMX_VERSION_MINOR, OMX_VERSION_REVISION, and OMX_VERSION_STEP macros);
        # appending a directory path to gst-omx' internal OpenMAX IL headers fixes this
        d.appendVar("CFLAGS", " -I${S}/omx/openmax")
    elif omx_target == "rpi":
        # Dedicated Raspberry Pi OpenMAX IL support makes this package machine specific
        d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH"))
}

set_omx_core_name() {
	sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf"
}
do_install[postfuncs] += " set_omx_core_name "

FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"

VIRTUAL-RUNTIME_libomxil ?= "libomxil"
RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_libomxil}"
can-utils_2023.03.bb · 1386 B · ext .bb · seen 5× in SWH
via heuristicrule h/linguist/.bb/1
swh:1:cnt:ca6cb7db58cbf414015e236b656f99fe3006ebd4;origin=https://github.com/ibm-openbmc/openbmc;anchor=swh:1:rev:fc113eade321128fc43b0b299e81ad07fc1edf3d;path=/meta-openembedded/meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
SUMMARY = "Linux CAN network development utilities"
LICENSE = "GPL-2.0-only & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31"

DEPENDS = "libsocketcan"

SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=https;branch=master"

SRCREV = "cfe41963f3425e9adb01a70cfaddedf5e5982720"

S = "${WORKDIR}/git"

inherit autotools pkgconfig update-alternatives

PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log"

FILES:${PN}-access = " \
    ${bindir}/cangw \
    ${bindir}/canlogserver \
    ${bindir}/bcmserver \
    ${bindir}/socketcand \
    ${bindir}/cannelloni \
"

FILES:${PN}-isotp = "${bindir}/isotp*"

FILES:${PN}-j1939 = " \
    ${bindir}/j* \
    ${bindir}/testj1939 \
"

FILES:${PN}-cantest = " \
    ${bindir}/canbusload \
    ${bindir}/can-calc-bit-timing \
    ${bindir}/canfdtest \
"

FILES:${PN}-slcan = "${bindir}/slcan*"

FILES:${PN}-log = "${bindir}/*log*"

ALTERNATIVE:${PN} = "candump cansend cansequence"
ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"

# busybox ip fails to configure can interfaces, so we need iproute2 to do so.
# See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.
RRECOMMENDS:${PN} += "iproute2"

Disambiguation rules

Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
RuleExtKindPredicates (truncated)
h/linguist/.bb/1.bbpredicates[{"kind": "any", "regexes": ["^(# |include|require|inherit)\\b"]}]
h/linguist/.inc/6.incpredicates[{"kind": "any", "regexes": ["^inherit(\\s+[\\w.-]+)+\\s*$"]}]

Contribute — propose a file extension

Tell us where to find evidence about BitBake (mapped to pl/bitbake). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/BitBake/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← bitarray BitBitIfJump →