#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class is used for architecture independent recipes/data files (usually scripts)
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This bbclass is used for creating archive for:
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Autotools class for recipes where separate build dir doesn't work
# Ideally we should fix software so it does work. Standard autotools supports
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def get_autotools_dep(d):
if d.getVar('INHIBIT_AUTOTOOLS_DEPS'):
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Baremetal image class
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
BB_DEFAULT_TASK ?= "build"
CLASSOVERRIDE ?= "class-target"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
DEPENDS:append:class-target = " bash-completion"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Common variable and task for the binary package recipe.
# Basic principle:
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Class to disable binconfig files instead of installing them
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
FILES:${PN}-dev += "${bindir}/*-config"
# Copyright (C) 2011-2016 Intel Corporation
# Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org>
#
+# SPDX-License-Identifier: MIT
+#
IMAGE_CLASSES += "image-artifact-names"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Summarize sstate usage at the end of the build
python buildstats_summary () {
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
BUILDSTATS_BASE = "${TMPDIR}/buildstats/"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
##
## Purpose:
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
##
## Purpose:
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Usage:
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit terminal
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
CHRPATH_BIN ?= "chrpath"
PREPROCESS_RELOCATE_DIRS ?= ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Path to the CMake file to process.
OECMAKE_SOURCEPATH ??= "${S}"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# returns all the elements from the src uri that are .cfg files
def find_cfgs(d):
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Compress man pages in ${mandir} and info pages in ${infodir}
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Deploy sources for recipes for compliance with copyleft-style licenses
# Defaults to using symlinks, as it's a quick operation, and one can easily
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Filter the license, the copyleft_should_include returns True for the
# COPYLEFT_LICENSE_INCLUDE recipe, and False for the
# Common code for generating core reference images
#
# Copyright (C) 2007-2011 Linux Foundation
+#
+# SPDX-License-Identifier: MIT
# IMAGE_FEATURES control content of the core reference images
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# cpan-base providers various perl related information needed for building
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This is for perl modules that use the old Makefile.PL build system
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This is for perl modules that use the new Build.PL build system
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# NOTE - When using this class the user is responsible for ensuring that
# TRANSLATED_TARGET_ARCH is added into PN. This ensures that if the TARGET_ARCH
# is changed, another nativesdk xxx-canadian-cross can be installed
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit relocatable
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit cross
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class is used to check recipes against public CVEs.
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Debian package renaming only occurs when a package is built
# We therefore have to make sure we build all runtime packages
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
DEPLOYDIR = "${WORKDIR}/deploy-${PN}"
SSTATETASKS += "do_deploy"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This bbclass implements device tree compliation for user provided device tree
# sources. The compilation of the device tree sources is the same as the kernel
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit terminal
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Development tool - source extraction helper class
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for use in BBCLASSEXTEND to make it easier to have a single recipe that
# can build both stable tarballs and snapshots from upstream source
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Temporarily provide fallback to the old name of the class
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Turns certain DISTRO_FEATURES into overrides with the same
# name plus a df- prefix. Ensures that these special
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for use to convert all CRLF line terminators to LF
# provided that some projects are being developed/maintained
# Author: Richard Purdie
# Some code and influence taken from srctree.bbclass:
# Copyright (C) 2009 Chris Larson <clarson@kergoth.com>
-# Released under the MIT license (see COPYING.MIT for the terms)
+#
+# SPDX-License-Identifier: MIT
#
# externalsrc.bbclass enables use of an existing source tree, usually external to
# the build system to build a piece of software rather than the usual fetch/unpack/patch
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This bbclass is used for image level user/group configuration.
# Inherit this class if you want to make EXTRA_USERS_PARAMS effective.
#
# Copyright 2019 (C) Texas Instruments Inc.
# Copyright 2013 (C) O.S. Systems Software LTDA.
+#
+# SPDX-License-Identifier: MIT
+
python () {
if d.getVar('PARSE_ALL_RECIPES', False):
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class will generate the proper postinst/postrm scriptlets for font
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Extract UUID from ${ROOTFS}, which must have been built
# by the time that this function gets called. Only works
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
DEPENDS += "gconf"
PACKAGE_WRITE_DEPS += "gconf-native"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def gettext_dependencies(d):
if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'):
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# gi-docgen is a new gnome documentation generator, which
# seems to be a successor to gtk-doc:
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PACKAGE_WRITE_DEPS += "qemu-native"
inherit qemu
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Handle Glide Vendor Package Management use
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def gnome_verdir(v):
return ".".join(v.split(".")[:-1])
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Handle Go Modules support
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit go ptest
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit goarch
inherit linuxloader
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}"
BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This variable is set to True if gobject-introspection-data is in
# DISTRO_FEATURES and qemu-usermode is in MACHINE_FEATURES, and False otherwise.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Inherit this class in recipes to enable building their introspection files
# grub-efi.bbclass
# Copyright (c) 2011, Intel Corporation.
-# All rights reserved.
#
-# Released under the MIT license (see packages/COPYING)
+# SPDX-License-Identifier: MIT
# Provide grub-efi specific functions for building bootable images.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit grub-efi-cfg
require conf/image-uefi.conf
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# A bbclass to handle installed GSettings (glib) schemas, updated the compiled
# form on package install and remove.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Helper class to pull in the right gtk-doc dependencies and configure
# gtk-doc to enable or disable documentation building (which requries the
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
FILES:${PN} += "${datadir}/icons/hicolor"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class will update the inputmethod module cache for virtual keyboards
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# IceCream distributed compiling support
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
##################################################################
# Specific image creation and rootfs population info.
# Copyright (C) 2014 Intel Corporation
# Author: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@intel.com>
#
-# Licensed under the MIT license, see COPYING.MIT for details
+# SPDX-License-Identifier: MIT
#
# Usage: add INHERIT += "image-buildinfo" to your conf file
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
IMAGE_PREPROCESS_COMMAND:append = " combine_dbg_image; "
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
ROOTFS_BOOTSTRAP_INSTALL = ""
IMAGE_TYPES_MASKED += "container"
-# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Copyright (C) 2004, Advanced Micro Devices, Inc.
+#
+# SPDX-License-Identifier: MIT
# Creates a bootable image using syslinux, your kernel and an optional
# initrd
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Gather existing and candidate postinst intercepts from BBPATH
POSTINST_INTERCEPTS_DIR ?= "${COREBASE}/scripts/postinst-intercepts"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
IMAGE_CLASSES ??= ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# The default aligment of the size of the rootfs is set to 1KiB. In case
# you're using the SD card emulation of a QEMU system simulator you may
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# The WICVARS variable is used to define list of bitbake variables used in wic code
# variables from this list is written to <image>.env file
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# BB Class inspired by ebuild.sh
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# set the ARCH environment variable for kernel compilation (including
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
##################################################################
# Specific kernel creation info
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Support for device tree generation
python () {
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit kernel-uboot kernel-artifact-names uboot-sign
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# While installing a rpm to update kernel on a deployed target, it will update
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
pkg_postinst:modules () {
if [ -z "$D" ]; then
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# fitImage kernel compression algorithm
FIT_KERNEL_COMP_ALG ?= "gzip"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit kernel-uboot
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# remove tasks that modify the source tree in case externalsrc is inherited
SRCTREECOVEREDTASKS += "do_validate_branches do_kernel_configcheck do_kernel_checkout do_fetch do_unpack do_patch"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit linux-kernel-base kernel-module-split
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
S = "${STAGING_KERNEL_DIR}"
deltask do_fetch
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# ${PN}-bin is defined in bitbake.conf
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class knows how to package up [e]glibc. Its shared since prebuild binary toolchains
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Populates LICENSE_DIRECTORY as set in distro config with the license files as set by
# LIC_FILES_CHKSUM.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
ROOTFS_LICENSE_DIR = "${IMAGE_ROOTFS}/usr/share/common-licenses"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
python __anonymous () {
if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy':
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# parse kernel ABI version out of <linux/version.h>
def get_kernelversion_headers(p):
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def get_musl_loader_arch(d):
import re
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Some of the vars for vm and live image are conflicted, this function
# is used for fixing the problem.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# The following logging mechanisms are to be used in bash functions of recipes.
# They are intended to map one to one in intention and output format with the
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Inherit this class to enable or disable building and installation of manpages
# depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
python mcextend_virtclass_handler () {
cls = e.data.getVar("BBEXTENDCURR")
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit siteinfo
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python3native meson-routines qemu
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
METADATA_BRANCH := "${@oe.buildcfg.detect_branch(d)}"
METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PRSERV_DUMPDIR ??= "${LOG_DIR}/db"
LOCALCOUNT_DUMPFILE ??= "${PRSERV_DUMPDIR}/prserv-localcount-exports.inc"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
#
# This class creates mime <-> application associations based on entry
# 'MimeType' in *.desktop files
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class is used by recipes installing mime types
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
MIRRORS += "\
${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian/20180310T215105Z/pool \
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit kernel-arch
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit module-base kernel-module-split pkgconfig
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
python multilib_virtclass_handler () {
cls = e.data.getVar("BBEXTENDCURR")
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def preferred_ml_updates(d):
# If any of PREFERRED_PROVIDER, PREFERRED_RPROVIDER, REQUIRED_VERSION
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit siteinfo
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Recipe needs to set MULTILIB_SCRIPTS in the form <pkgname>:<scriptname>, e.g.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# We want native packages to be relocatable
inherit relocatable
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# SDK packages are built either explicitly by the user,
# or indirectly via dependency. No need to be in 'world'.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
deltask do_package
deltask do_package_write_rpm
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
addtask lint before do_build
do_lint[nostamp] = "1"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for setting up /etc in overlayfs
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for generation of overlayfs mount units
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PREMIRRORS:prepend = " \
cvs://.*/.* ${SOURCE_MIRROR_URL} \
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Packaging process
#
# Copyright 2006-2008 OpenedHand Ltd.
#
+# SPDX-License-Identifier: MIT
+#
inherit package
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit package
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
WORKDIR_PKGDATA = "${WORKDIR}/pkgdata-sysroot"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit package
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit package
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
python read_subpackage_metadata () {
import oe.packagedata
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for packagegroup (package group) recipes
# Copyright (C) 2006 OpenedHand LTD
+#
+# SPDX-License-Identifier: MIT
# Point to an empty file so any user's custom settings don't break things
QUILTRCFILE ?= "${STAGING_ETCDIR_NATIVE}/quiltrc"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PERL_OWN_DIR = ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
EXTRANATIVEPATH += "perl-native"
DEPENDS += "perl-native"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class will generate the proper postinst/postrm scriptlets for pixbuf
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
DEPENDS:prepend = "pkgconfig-native "
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# The majority of populate_sdk is located in populate_sdk_base
# This chunk simply facilitates compatibility with SDK only recipes.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PACKAGES = ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Extensible SDK
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PRSERV_DUMPOPT_VERSION = "${PRAUTOINX}"
PRSERV_DUMPOPT_PKGARCH = ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
python primport_handler () {
import bb.event
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit ptest
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit ptest
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
SUMMARY:${PN}-ptest ?= "${SUMMARY} - Package test files"
DESCRIPTION:${PN}-ptest ?= "${DESCRIPTION} \
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def pypi_package(d):
bpn = d.getVar('BPN')
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
PYTHON_BASEVERSION = "3.10"
PYTHON_ABI = ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python3-dir
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python3native
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python_pep517 python3native python3-dir setuptools3-base
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python_pep517 python3native python3-dir setuptools3-base
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Common infrastructure for Python packages that use PEP-517 compliant packaging.
# https://www.python.org/dev/peps/pep-0517/
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python_pep517 python3native setuptools3-base
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class helps make sure that Python extensions built with PyO3
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python_pyo3 setuptools3
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit setuptools3-base python_pep517
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class contains functions for recipes that need QEMU or test for its
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Help runqemu boot target board, "QB" means Qemu Boot, the following
# vars can be set in conf files, such as <bsp.conf> to make it can be
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
def __note(msg, d):
bb.note("%s: recipe_sanity: %s" % (d.getVar("P"), msg))
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
do_install[postfuncs] += "install_relative_symlinks"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit chrpath
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class removes libtool .la files after do_install
# Copyright (C) 2013 Intel Corporation
# Author: Andreea Brandusa Proca <andreea.b.proca@intel.com>
#
-# Licensed under the MIT license, see COPYING.MIT for details
+# SPDX-License-Identifier: MIT
+#
ERR_REPORT_DIR ?= "${LOG_DIR}/error-report"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Removes source after build
# Author: Patrick Ohly <patrick.ohly@intel.com>
# Copyright: Copyright (C) 2015 Intel Corporation
#
-# This file is licensed under the MIT license, see COPYING.MIT in
-# this source distribution for the terms.
+# SPDX-License-Identifier: MIT
# This class is used like rm_work:
# INHERIT += "rm_work_and_downloads"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Zap the root password if debug-tweaks and empty-root-password features are not enabled
ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains_any("IMAGE_FEATURES", [ 'debug-tweaks', 'empty-root-password' ], "", "zap_empty_root_password; ",d)}'
#
# Copyright 2006-2007 Openedhand Ltd.
#
+# SPDX-License-Identifier: MIT
+#
ROOTFS_PKGMANAGE = "dpkg apt"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Creates a root filesystem out of IPKs
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Creates a root filesystem out of rpm packages
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class installs additional files found on the build host
# directly into the rootfs.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit rust
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python3native
inherit rust-target-config
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Right now this is focused on arm-specific tune features.
# We get away with this for now as one can only use x86-64 as the build host
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit rust-common
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# Sanity check the users setup for common misconfigurations
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit python3native
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}"
DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit setuptools3-base python_pep517
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class is for packages which use the deprecated setuptools behaviour,
# specifically custom install tasks which don't work correctly with bdist_wheel.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for generating signed IPK packages.
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for signing package feeds
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Class for generating signed RPM packages.
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
python siteconfig_do_siteconfig () {
shared_state = sstate_state_fromvars(d)
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class exists to provide information about the targets that
# may be needed by other classes and/or recipes. If you add a new
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
SSTATE_VERSION = "10"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# These directories will be staged in the sysroot
SYSROOT_DIRS = " \
# syslinux.bbclass
-# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.
+# SPDX-License-Identifier: MIT
# Provide syslinux specific functions for building bootable images.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
SYSTEMD_BOOT_CFG ?= "${S}/loader.conf"
SYSTEMD_BOOT_ENTRIES ?= ""
# Copyright (C) 2016 Intel Corporation
#
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
# systemd-boot.bbclass - The "systemd-boot" is essentially the gummiboot merged into systemd.
# The original standalone gummiboot project is dead without any more
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# The list of packages that should have systemd packaging scripts added. For
# each entry, optionally have a SYSTEMD_SERVICE:[package] that lists the service
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
OE_TERMINAL ?= 'auto'
OE_TERMINAL[type] = 'choice'
# Copyright (C) 2016 Intel Corporation
#
-# Released under the MIT license (see COPYING.MIT)
-#
+# SPDX-License-Identifier: MIT
#
# testexport.bbclass allows to execute runtime test outside OE environment.
# Most of the tests are commands run on target image over ssh.
# Copyright (C) 2013 Intel Corporation
#
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
inherit metadata_scm
inherit image-artifact-names
# Copyright (C) 2013 - 2016 Intel Corporation
#
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
# testsdk.bbclass enables testing for SDK and Extensible SDK
#
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class is inherited by recipes whose upstream packages invoke the
# texinfo utilities at build-time. Native and cross recipes are made to use the
#
# Copyright (C) 2013 Intel Corporation
#
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
#
# This bbclass is designed to extract data used by OE-Core during the build process,
# for recording in the Toaster system.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#This function create a version information file
toolchain_create_sdk_version () {
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit toolchain-scripts-base siteinfo kernel-arch
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Check types of bitbake configuration variables
#
# UBOOT_MACHINE = "config"
#
# Copyright 2013, 2014 (C) O.S. Systems Software LTDA.
+#
+# SPDX-License-Identifier: MIT
+
def removesuffix(s, suffix):
if suffix and s.endswith(suffix):
# APPEND root=/dev/mmcblk2p2 rootwait rw console=${console}
#
# Copyright (C) 2016, O.S. Systems Software LTDA. All Rights Reserved
-# Released under the MIT license (see packages/COPYING)
+# SPDX-License-Identifier: MIT
#
# The kernel has an internal default console, which you can override with
# a console=...some_tty...
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This file is part of U-Boot verified boot support and is intended to be
# inherited from u-boot recipe and from kernel-fitimage.bbclass.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
UNINATIVE_LOADER ?= "${UNINATIVE_STAGING_DIR}-uninative/${BUILD_ARCH}-linux/lib/${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', '', d)}${@bb.utils.contains('BUILD_ARCH', 'i686', 'ld-linux.so.2', '', d)}${@bb.utils.contains('BUILD_ARCH', 'aarch64', 'ld-linux-aarch64.so.1', '', d)}${@bb.utils.contains('BUILD_ARCH', 'ppc64le', 'ld64.so.2', '', d)}"
UNINATIVE_STAGING_DIR ?= "${STAGING_DIR}"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class is used to help the alternatives system which is useful when
# multiple sources provide same command. You can use update-alternatives
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
UPDATERCPN ?= "${PN}"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This class ensures that the upstream version check only
# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.)
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# In order to support a deterministic set of 'dynamic' users/groups,
# we need a function to reformat the params based on a static file
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
inherit useradd_base
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# This bbclass provides basic functionality for user/group settings.
# This bbclass is intended to be inherited by useradd.bbclass and
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
addtask listtasks
do_listtasks[nostamp] = "1"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
oe_soinstall() {
# Purpose: Install shared library file and
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# Everyone needs vala-native and targets need vala, too,
# because that is where target builds look for .vapi files.
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
# avoids build breaks when using no-static-libs.inc
DISABLE_STATIC = ""
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
DEPENDS = "libxml2-native"
#
# Copyright OpenEmbedded Contributors
#
+# SPDX-License-Identifier: MIT
+#
#
# This class is used by yocto-check-layer script for additional per-recipe tests