blob: 311075c68dc166906c50691eadd9761ab8ba87b0 [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
15KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
16KERNEL_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}"