u-boot-imx: set DISTRO_VERSION as UBOOT_LOCALVERSION
This commit changes the former custom LOCALVERSION to be set to DISTRO_VERSION and introduces a new bitbake class seco-u-boot-localversion which was copied from fsl-u-boot-localversion. The orignal class takes the LOCALVERSION and writes it at build time into a .scmversion file which is then picked up by U-Boot and used as its PLAIN_VERSION symbol which is then used for displaying banners, in the version command, etc. The new class adds a parameter which allows the U-boot git hash to be put before the LOCALVERSION. Thus we achieve a version string like: <u-boot release>[<u-boot git hash>]<local version>.
parent
254881ba
No related branches found
No related tags found
Showing
- classes/seco-u-boot-localversion.bbclass 34 additions, 0 deletionsclasses/seco-u-boot-localversion.bbclass
- conf/layer.conf 3 additions, 1 deletionconf/layer.conf
- dynamic-layers/freescale-layer/recipes-bsp/u-boot/u-boot-imx-common_2021.04.inc 4 additions, 2 deletions...le-layer/recipes-bsp/u-boot/u-boot-imx-common_2021.04.inc
classes/seco-u-boot-localversion.bbclass
0 → 100644
-
mentioned in commit seco-ne/yocto/manifest@216bdb6f
-
mentioned in merge request seco-ne/yocto/manifest!1231 (merged)
-
mentioned in commit seco-ne/yocto/manifest@8c153b50
Please register or sign in to comment