Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | # |
| 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 | |
| 13 | inherit image-artifact-names |
| 14 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 15 | KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 16 | KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}" |
| 17 | KERNEL_ARTIFACT_BIN_EXT ?= ".bin" |
| 18 | |
| 19 | KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
| 20 | KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
| 21 | KERNEL_IMAGE_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}" |
| 22 | KERNEL_IMAGETYPE_SYMLINK ?= "1" |
| 23 | |
| 24 | KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
| 25 | KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
| 26 | KERNEL_DTB_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}" |
| 27 | |
| 28 | KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
| 29 | KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
| 30 | KERNEL_FIT_BIN_EXT ?= "${KERNEL_ARTIFACT_BIN_EXT}" |
| 31 | |
| 32 | MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
| 33 | MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
| 34 | MODULE_TARBALL_DEPLOY ?= "1" |
| 35 | |
| 36 | INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}" |
| 37 | INITRAMFS_LINK_NAME ?= "initramfs-${KERNEL_ARTIFACT_LINK_NAME}" |