diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-03-13 13:15:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-22 13:53:29 +0000 |
commit | c0df9c9e92b56c33952fa3e6c050f1e4c53b66d9 (patch) | |
tree | bdbf10576b8ba1c03736dee0ea5c0ccd439d0e08 /meta/classes-recipe/kernel-artifact-names.bbclass | |
parent | 923a9e11b192b974a929d1dbc7258ad13923fd15 (diff) | |
download | poky-c0df9c9e92b56c33952fa3e6c050f1e4c53b66d9.tar.gz |
image-artifact-names: add IMAGE_MACHINE_SUFFIX variable
* to make it easier for projects to avoid default -${MACHINE} suffix if
the ${MACHINE} named DEPLOY_DIR_IMAGE works better for them
* also use IMAGE_LINK_NAME in IMAGE_NAME to make it more clear
that IMAGE_NAME is the same as IMAGE_LINK_NAME but with version
suffix
* adding it as separate variable helps us to catch the cases
where we didn't respect ${IMAGE_LINK_NAME} variable and just used
the common default ${IMAGE_BASENAME}-${MACHINE}.
[YOCTO #12937]
(From OE-Core rev: 6e82c394e98d57a2fe73e547922477cd6b0620f9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-artifact-names.bbclass')
-rw-r--r-- | meta/classes-recipe/kernel-artifact-names.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-artifact-names.bbclass b/meta/classes-recipe/kernel-artifact-names.bbclass index 311075c68d..1a7611a15e 100644 --- a/meta/classes-recipe/kernel-artifact-names.bbclass +++ b/meta/classes-recipe/kernel-artifact-names.bbclass | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | inherit image-artifact-names | 13 | inherit image-artifact-names |
14 | 14 | ||
15 | KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 15 | KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}" |
16 | KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}" | 16 | KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}" |
17 | KERNEL_ARTIFACT_BIN_EXT ?= ".bin" | 17 | KERNEL_ARTIFACT_BIN_EXT ?= ".bin" |
18 | 18 | ||