summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-artifact-names.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-08-19 22:16:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-21 14:49:42 +0100
commit0fb0eea041f14226ffcffeb41dc1e26f3856d304 (patch)
tree4ebd7959c1bd524bcac5e837cdfafb193db4c6bf /meta/classes/kernel-artifact-names.bbclass
parentb7d0d0b44f01306b36c209f2ef0fe03ce6f3c56f (diff)
downloadpoky-0fb0eea041f14226ffcffeb41dc1e26f3856d304.tar.gz
kernel-artifact-names.bbclass: Add 2 more variables to make it easier to change all names with one variable
* some people don't like the ${MACHINE} in the symlink, because now the DEPLOYDIR already contains ${MACHINE} subdirectory, add KERNEL_ARTIFACT_LINK_NAME variable to change it in one place without the need to list all variables for various artifacts (From OE-Core rev: 416b58d84f1124212f114198d2fcb1f3a9bbd223) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-artifact-names.bbclass')
-rw-r--r--meta/classes/kernel-artifact-names.bbclass23
1 files changed, 13 insertions, 10 deletions
diff --git a/meta/classes/kernel-artifact-names.bbclass b/meta/classes/kernel-artifact-names.bbclass
index d21450c914..bbeecba7bd 100644
--- a/meta/classes/kernel-artifact-names.bbclass
+++ b/meta/classes/kernel-artifact-names.bbclass
@@ -1,15 +1,18 @@
1KERNEL_IMAGE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 1KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
2KERNEL_IMAGE_LINK_NAME ?= "${MACHINE}" 2KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
3 3
4KERNEL_DTB_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 4KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}"
5KERNEL_DTB_LINK_NAME ?= "${MACHINE}" 5KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
6 6
7KERNEL_FIT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 7KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}"
8KERNEL_FIT_LINK_NAME ?= "${MACHINE}" 8KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
9 9
10MODULE_TARBALL_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 10KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}"
11MODULE_TARBALL_LINK_NAME ?= "${MACHINE}" 11KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
12
13MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}"
14MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
12MODULE_TARBALL_DEPLOY ?= "1" 15MODULE_TARBALL_DEPLOY ?= "1"
13 16
14INITRAMFS_NAME ?= "initramfs-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" 17INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}"
15INITRAMFS_LINK_NAME ?= "initramfs-${MACHINE}" 18INITRAMFS_LINK_NAME ?= "initramfs-${KERNEL_ARTIFACT_LINK_NAME}"