]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: move variables for kernel artifacts names to separate bbclass
authorMartin Jansa <martin.jansa@gmail.com>
Mon, 9 Jul 2018 15:05:00 +0000 (15:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jul 2018 10:10:14 +0000 (11:10 +0100)
commit7d0ef0eaa1bfe97015a774c26f5791622e7e8b12
treeed49828c57277075bce854d221a257b7c4ec5250
parent935b9d5a2bd12effad65f69a631ecff96b8bb553
kernel.bbclass: move variables for kernel artifacts names to separate bbclass

* this makes it easier to access these variables from some other bbclass
  e.g. sdcard_image-rpi.bbclass in meta-raspberry where we need to know
  how some files in deploy are named, but we cannot inherit kernel.bbclass
  as it's used in image recipe not kernel recipe
* alternatively we can move these to bitbake.conf like similar image variables are:
  meta/conf/bitbake.conf:IMAGE_BASENAME = "${PN}"
  meta/conf/bitbake.conf:IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
  meta/conf/bitbake.conf:IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-artifact-names.bbclass [new file with mode: 0644]
meta/classes/kernel.bbclass