blob: 1a7611a15e8ace95ff9d9ca6309c45f1b9d1808e [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7##################################################################
8# Specific kernel creation info
9# for recipes/bbclasses which need to reuse some of the kernel
10# artifacts, but aren't kernel recipes themselves
11##################################################################
12
13inherit image-artifact-names
14
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050015KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}"
Patrick Williams92b42cb2022-09-03 06:53:57 -050016KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
17KERNEL_ARTIFACT_BIN_EXT ?= ".bin"
18
19KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}"
20KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
21KERNEL_IMAGE_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}"
22KERNEL_IMAGETYPE_SYMLINK ?= "1"
23
24KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}"
25KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
26KERNEL_DTB_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}"
27
28KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}"
29KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
30KERNEL_FIT_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}"
31
32MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}"
33MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
34MODULE_TARBALL_DEPLOY ?= "1"
35
36INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}"
37INITRAMFS_LINK_NAME ?= "initramfs-${KERNEL_ARTIFACT_LINK_NAME}"