]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel: move the leading dash into KERNEL_ARTIFACT_NAME
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 18 Nov 2023 12:35:26 +0000 (13:35 +0100)
committerMartin Jansa <martin.jansa@gmail.com>
Fri, 12 Jul 2024 07:36:57 +0000 (09:36 +0200)
commit3755f6bd44a503928eadde973a23c66f6392f9d2
tree26ce954e91321f1e5d94e207d57ae57bb797e6b0
parentfe4cacaf115d10a8da1dc48122c3d0fab7a95e22
kernel: move the leading dash into KERNEL_ARTIFACT_NAME

* this matches how IMAGE_MACHINE_SUFFIX works and we can use
  that for the default value

* allows to set IMAGE_MACHINE_SUFFIX to empty for people
  who prefer to keep MACHINE name only in the directory name
  otherwise there would be a stray dash in:
  lrwxrwxrwx 2 martin martin   12 Nov 18 13:25 bzImage -> bzImage-.bin
  -rw-r--r-- 2 martin martin  12M Nov 18 13:25 bzImage-.bin
  -rw-r--r-- 2 martin martin 182M Nov 18 13:25 modules-.tgz
  if you set
  KERNEL_ARTIFACT_NAME = ""

[YOCTO #12937]

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
meta/classes-recipe/kernel-artifact-names.bbclass
meta/classes-recipe/kernel-devicetree.bbclass
meta/classes-recipe/kernel-fitimage.bbclass
meta/classes-recipe/kernel.bbclass