classes: Add SPDX license identifiers

As stated in our top level license files, the license is MIT unless
otherwise stated. Add SPDX identifers accordingly. Replace older
license statementa with the standardised syntax. Also drop "All
Rights Reserved" expression as it isn't used now, doesn't mean anything
and is confusing.

(From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-08-10 18:55:54 +01:00
parent 7350e82ce1
commit ff525695f2
207 changed files with 407 additions and 18 deletions

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# This class is used for architecture independent recipes/data files (usually scripts) # This class is used for architecture independent recipes/data files (usually scripts)

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# This bbclass is used for creating archive for: # This bbclass is used for creating archive for:

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Autotools class for recipes where separate build dir doesn't work # Autotools class for recipes where separate build dir doesn't work
# Ideally we should fix software so it does work. Standard autotools supports # Ideally we should fix software so it does work. Standard autotools supports

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
def get_autotools_dep(d): def get_autotools_dep(d):
if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): if d.getVar('INHIBIT_AUTOTOOLS_DEPS'):

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Baremetal image class # Baremetal image class
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
BB_DEFAULT_TASK ?= "build" BB_DEFAULT_TASK ?= "build"
CLASSOVERRIDE ?= "class-target" CLASSOVERRIDE ?= "class-target"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
DEPENDS:append:class-target = " bash-completion" DEPENDS:append:class-target = " bash-completion"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Common variable and task for the binary package recipe. # Common variable and task for the binary package recipe.
# Basic principle: # Basic principle:

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# Class to disable binconfig files instead of installing them # Class to disable binconfig files instead of installing them

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
FILES:${PN}-dev += "${bindir}/*-config" FILES:${PN}-dev += "${bindir}/*-config"

View File

@@ -6,6 +6,8 @@
# Copyright (C) 2011-2016 Intel Corporation # Copyright (C) 2011-2016 Intel Corporation
# Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org> # Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org>
# #
# SPDX-License-Identifier: MIT
#
IMAGE_CLASSES += "image-artifact-names" IMAGE_CLASSES += "image-artifact-names"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Summarize sstate usage at the end of the build # Summarize sstate usage at the end of the build
python buildstats_summary () { python buildstats_summary () {

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
BUILDSTATS_BASE = "${TMPDIR}/buildstats/" BUILDSTATS_BASE = "${TMPDIR}/buildstats/"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
## ##
## Purpose: ## Purpose:

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
## ##
## Purpose: ## Purpose:

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# Usage: # Usage:

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit terminal inherit terminal

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
CHRPATH_BIN ?= "chrpath" CHRPATH_BIN ?= "chrpath"
PREPROCESS_RELOCATE_DIRS ?= "" PREPROCESS_RELOCATE_DIRS ?= ""

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Path to the CMake file to process. # Path to the CMake file to process.
OECMAKE_SOURCEPATH ??= "${S}" OECMAKE_SOURCEPATH ??= "${S}"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# returns all the elements from the src uri that are .cfg files # returns all the elements from the src uri that are .cfg files
def find_cfgs(d): def find_cfgs(d):

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Compress man pages in ${mandir} and info pages in ${infodir} # Compress man pages in ${mandir} and info pages in ${infodir}
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Deploy sources for recipes for compliance with copyleft-style licenses # Deploy sources for recipes for compliance with copyleft-style licenses
# Defaults to using symlinks, as it's a quick operation, and one can easily # Defaults to using symlinks, as it's a quick operation, and one can easily

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Filter the license, the copyleft_should_include returns True for the # Filter the license, the copyleft_should_include returns True for the
# COPYLEFT_LICENSE_INCLUDE recipe, and False for the # COPYLEFT_LICENSE_INCLUDE recipe, and False for the

View File

@@ -1,6 +1,8 @@
# Common code for generating core reference images # Common code for generating core reference images
# #
# Copyright (C) 2007-2011 Linux Foundation # Copyright (C) 2007-2011 Linux Foundation
#
# SPDX-License-Identifier: MIT
# IMAGE_FEATURES control content of the core reference images # IMAGE_FEATURES control content of the core reference images
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# cpan-base providers various perl related information needed for building # cpan-base providers various perl related information needed for building

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# This is for perl modules that use the old Makefile.PL build system # This is for perl modules that use the old Makefile.PL build system

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# This is for perl modules that use the new Build.PL build system # This is for perl modules that use the new Build.PL build system

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# NOTE - When using this class the user is responsible for ensuring that # 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 # TRANSLATED_TARGET_ARCH is added into PN. This ensures that if the TARGET_ARCH
# is changed, another nativesdk xxx-canadian-cross can be installed # is changed, another nativesdk xxx-canadian-cross can be installed

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit relocatable inherit relocatable

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit cross inherit cross

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# This class is used to check recipes against public CVEs. # This class is used to check recipes against public CVEs.
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Debian package renaming only occurs when a package is built # Debian package renaming only occurs when a package is built
# We therefore have to make sure we build all runtime packages # We therefore have to make sure we build all runtime packages

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
DEPLOYDIR = "${WORKDIR}/deploy-${PN}" DEPLOYDIR = "${WORKDIR}/deploy-${PN}"
SSTATETASKS += "do_deploy" SSTATETASKS += "do_deploy"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# This bbclass implements device tree compliation for user provided device tree # 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 # sources. The compilation of the device tree sources is the same as the kernel

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit terminal inherit terminal

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Development tool - source extraction helper class # Development tool - source extraction helper class
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Class for use in BBCLASSEXTEND to make it easier to have a single recipe that # 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 # can build both stable tarballs and snapshots from upstream source

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Temporarily provide fallback to the old name of the class # Temporarily provide fallback to the old name of the class

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Turns certain DISTRO_FEATURES into overrides with the same # Turns certain DISTRO_FEATURES into overrides with the same
# name plus a df- prefix. Ensures that these special # name plus a df- prefix. Ensures that these special

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Class for use to convert all CRLF line terminators to LF # Class for use to convert all CRLF line terminators to LF
# provided that some projects are being developed/maintained # provided that some projects are being developed/maintained

View File

@@ -2,7 +2,8 @@
# Author: Richard Purdie # Author: Richard Purdie
# Some code and influence taken from srctree.bbclass: # Some code and influence taken from srctree.bbclass:
# Copyright (C) 2009 Chris Larson <clarson@kergoth.com> # 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 # 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 # the build system to build a piece of software rather than the usual fetch/unpack/patch

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# This bbclass is used for image level user/group configuration. # This bbclass is used for image level user/group configuration.
# Inherit this class if you want to make EXTRA_USERS_PARAMS effective. # Inherit this class if you want to make EXTRA_USERS_PARAMS effective.

View File

@@ -11,6 +11,9 @@
# #
# Copyright 2019 (C) Texas Instruments Inc. # Copyright 2019 (C) Texas Instruments Inc.
# Copyright 2013 (C) O.S. Systems Software LTDA. # Copyright 2013 (C) O.S. Systems Software LTDA.
#
# SPDX-License-Identifier: MIT
python () { python () {
if d.getVar('PARSE_ALL_RECIPES', False): if d.getVar('PARSE_ALL_RECIPES', False):

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# This class will generate the proper postinst/postrm scriptlets for font # This class will generate the proper postinst/postrm scriptlets for font

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Extract UUID from ${ROOTFS}, which must have been built # Extract UUID from ${ROOTFS}, which must have been built
# by the time that this function gets called. Only works # by the time that this function gets called. Only works

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
DEPENDS += "gconf" DEPENDS += "gconf"
PACKAGE_WRITE_DEPS += "gconf-native" PACKAGE_WRITE_DEPS += "gconf-native"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
def gettext_dependencies(d): def gettext_dependencies(d):
if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'):

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# gi-docgen is a new gnome documentation generator, which # gi-docgen is a new gnome documentation generator, which
# seems to be a successor to gtk-doc: # seems to be a successor to gtk-doc:

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
PACKAGE_WRITE_DEPS += "qemu-native" PACKAGE_WRITE_DEPS += "qemu-native"
inherit qemu inherit qemu

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Handle Glide Vendor Package Management use # Handle Glide Vendor Package Management use
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
def gnome_verdir(v): def gnome_verdir(v):
return ".".join(v.split(".")[:-1]) return ".".join(v.split(".")[:-1])

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Handle Go Modules support # Handle Go Modules support
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit go ptest inherit go ptest

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit goarch inherit goarch
inherit linuxloader inherit linuxloader

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}" BUILD_GOOS = "${@go_map_os(d.getVar('BUILD_OS'), d)}"
BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}" BUILD_GOARCH = "${@go_map_arch(d.getVar('BUILD_ARCH'), d)}"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# This variable is set to True if gobject-introspection-data is in # This variable is set to True if gobject-introspection-data is in
# DISTRO_FEATURES and qemu-usermode is in MACHINE_FEATURES, and False otherwise. # DISTRO_FEATURES and qemu-usermode is in MACHINE_FEATURES, and False otherwise.

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Inherit this class in recipes to enable building their introspection files # Inherit this class in recipes to enable building their introspection files

View File

@@ -1,8 +1,7 @@
# grub-efi.bbclass # grub-efi.bbclass
# Copyright (c) 2011, Intel Corporation. # 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. # Provide grub-efi specific functions for building bootable images.

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit grub-efi-cfg inherit grub-efi-cfg
require conf/image-uefi.conf require conf/image-uefi.conf

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# A bbclass to handle installed GSettings (glib) schemas, updated the compiled # A bbclass to handle installed GSettings (glib) schemas, updated the compiled
# form on package install and remove. # form on package install and remove.

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Helper class to pull in the right gtk-doc dependencies and configure # Helper class to pull in the right gtk-doc dependencies and configure
# gtk-doc to enable or disable documentation building (which requries the # gtk-doc to enable or disable documentation building (which requries the

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
FILES:${PN} += "${datadir}/icons/hicolor" FILES:${PN} += "${datadir}/icons/hicolor"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# This class will update the inputmethod module cache for virtual keyboards # This class will update the inputmethod module cache for virtual keyboards
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# IceCream distributed compiling support # IceCream distributed compiling support
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
################################################################## ##################################################################
# Specific image creation and rootfs population info. # Specific image creation and rootfs population info.

View File

@@ -4,7 +4,7 @@
# Copyright (C) 2014 Intel Corporation # Copyright (C) 2014 Intel Corporation
# Author: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@intel.com> # 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 # Usage: add INHERIT += "image-buildinfo" to your conf file
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
IMAGE_PREPROCESS_COMMAND:append = " combine_dbg_image; " IMAGE_PREPROCESS_COMMAND:append = " combine_dbg_image; "

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
ROOTFS_BOOTSTRAP_INSTALL = "" ROOTFS_BOOTSTRAP_INSTALL = ""
IMAGE_TYPES_MASKED += "container" IMAGE_TYPES_MASKED += "container"

View File

@@ -1,5 +1,6 @@
# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved # Copyright (C) 2004, Advanced Micro Devices, Inc.
# Released under the MIT license (see packages/COPYING) #
# SPDX-License-Identifier: MIT
# Creates a bootable image using syslinux, your kernel and an optional # Creates a bootable image using syslinux, your kernel and an optional
# initrd # initrd

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Gather existing and candidate postinst intercepts from BBPATH # Gather existing and candidate postinst intercepts from BBPATH
POSTINST_INTERCEPTS_DIR ?= "${COREBASE}/scripts/postinst-intercepts" POSTINST_INTERCEPTS_DIR ?= "${COREBASE}/scripts/postinst-intercepts"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
IMAGE_CLASSES ??= "" IMAGE_CLASSES ??= ""

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# The default aligment of the size of the rootfs is set to 1KiB. In case # 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 # you're using the SD card emulation of a QEMU system simulator you may

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# The WICVARS variable is used to define list of bitbake variables used in wic code # 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 # variables from this list is written to <image>.env file

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# BB Class inspired by ebuild.sh # BB Class inspired by ebuild.sh
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# set the ARCH environment variable for kernel compilation (including # set the ARCH environment variable for kernel compilation (including

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
################################################################## ##################################################################
# Specific kernel creation info # Specific kernel creation info

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Support for device tree generation # Support for device tree generation
python () { python () {

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit kernel-uboot kernel-artifact-names uboot-sign inherit kernel-uboot kernel-artifact-names uboot-sign

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# While installing a rpm to update kernel on a deployed target, it will update # While installing a rpm to update kernel on a deployed target, it will update

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
pkg_postinst:modules () { pkg_postinst:modules () {
if [ -z "$D" ]; then if [ -z "$D" ]; then

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# fitImage kernel compression algorithm # fitImage kernel compression algorithm
FIT_KERNEL_COMP_ALG ?= "gzip" FIT_KERNEL_COMP_ALG ?= "gzip"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit kernel-uboot inherit kernel-uboot

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# remove tasks that modify the source tree in case externalsrc is inherited # 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" SRCTREECOVEREDTASKS += "do_validate_branches do_kernel_configcheck do_kernel_checkout do_fetch do_unpack do_patch"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit linux-kernel-base kernel-module-split inherit linux-kernel-base kernel-module-split

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
S = "${STAGING_KERNEL_DIR}" S = "${STAGING_KERNEL_DIR}"
deltask do_fetch deltask do_fetch

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# ${PN}-bin is defined in bitbake.conf # ${PN}-bin is defined in bitbake.conf
# #

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# #
# This class knows how to package up [e]glibc. Its shared since prebuild binary toolchains # This class knows how to package up [e]glibc. Its shared since prebuild binary toolchains

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Populates LICENSE_DIRECTORY as set in distro config with the license files as set by # Populates LICENSE_DIRECTORY as set in distro config with the license files as set by
# LIC_FILES_CHKSUM. # LIC_FILES_CHKSUM.

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
ROOTFS_LICENSE_DIR = "${IMAGE_ROOTFS}/usr/share/common-licenses" ROOTFS_LICENSE_DIR = "${IMAGE_ROOTFS}/usr/share/common-licenses"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
python __anonymous () { python __anonymous () {
if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy': if d.getVar('PREFERRED_PROVIDER_virtual/kernel') == 'linux-dummy':

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# parse kernel ABI version out of <linux/version.h> # parse kernel ABI version out of <linux/version.h>
def get_kernelversion_headers(p): def get_kernelversion_headers(p):

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
def get_musl_loader_arch(d): def get_musl_loader_arch(d):
import re import re

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Some of the vars for vm and live image are conflicted, this function # Some of the vars for vm and live image are conflicted, this function
# is used for fixing the problem. # is used for fixing the problem.

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# The following logging mechanisms are to be used in bash functions of recipes. # 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 # They are intended to map one to one in intention and output format with the

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
# Inherit this class to enable or disable building and installation of manpages # Inherit this class to enable or disable building and installation of manpages
# depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building # depending on whether 'api-documentation' is in DISTRO_FEATURES. Such building

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
python mcextend_virtclass_handler () { python mcextend_virtclass_handler () {
cls = e.data.getVar("BBEXTENDCURR") cls = e.data.getVar("BBEXTENDCURR")

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit siteinfo inherit siteinfo

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
inherit python3native meson-routines qemu inherit python3native meson-routines qemu

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
METADATA_BRANCH := "${@oe.buildcfg.detect_branch(d)}" METADATA_BRANCH := "${@oe.buildcfg.detect_branch(d)}"
METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}" METADATA_BRANCH[vardepvalue] = "${METADATA_BRANCH}"

View File

@@ -1,6 +1,8 @@
# #
# Copyright OpenEmbedded Contributors # Copyright OpenEmbedded Contributors
# #
# SPDX-License-Identifier: MIT
#
PRSERV_DUMPDIR ??= "${LOG_DIR}/db" PRSERV_DUMPDIR ??= "${LOG_DIR}/db"
LOCALCOUNT_DUMPFILE ??= "${PRSERV_DUMPDIR}/prserv-localcount-exports.inc" LOCALCOUNT_DUMPFILE ??= "${PRSERV_DUMPDIR}/prserv-localcount-exports.inc"

Some files were not shown because too many files have changed in this diff Show More