diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2018-08-19 22:16:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-21 14:49:42 +0100 |
commit | 0fb0eea041f14226ffcffeb41dc1e26f3856d304 (patch) | |
tree | 4ebd7959c1bd524bcac5e837cdfafb193db4c6bf /meta | |
parent | b7d0d0b44f01306b36c209f2ef0fe03ce6f3c56f (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/kernel-artifact-names.bbclass | 23 |
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 @@ | |||
1 | KERNEL_IMAGE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 1 | KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
2 | KERNEL_IMAGE_LINK_NAME ?= "${MACHINE}" | 2 | KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}" |
3 | 3 | ||
4 | KERNEL_DTB_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 4 | KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
5 | KERNEL_DTB_LINK_NAME ?= "${MACHINE}" | 5 | KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
6 | 6 | ||
7 | KERNEL_FIT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 7 | KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
8 | KERNEL_FIT_LINK_NAME ?= "${MACHINE}" | 8 | KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
9 | 9 | ||
10 | MODULE_TARBALL_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 10 | KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}" |
11 | MODULE_TARBALL_LINK_NAME ?= "${MACHINE}" | 11 | KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" |
12 | |||
13 | MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}" | ||
14 | MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}" | ||
12 | MODULE_TARBALL_DEPLOY ?= "1" | 15 | MODULE_TARBALL_DEPLOY ?= "1" |
13 | 16 | ||
14 | INITRAMFS_NAME ?= "initramfs-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 17 | INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}" |
15 | INITRAMFS_LINK_NAME ?= "initramfs-${MACHINE}" | 18 | INITRAMFS_LINK_NAME ?= "initramfs-${KERNEL_ARTIFACT_LINK_NAME}" |