diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-10-30 22:50:06 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-11-23 20:10:15 +0100 |
commit | 2ead2c03735be0f80f63201a115b0b7651858744 (patch) | |
tree | a6a6fc84974369accc539fc50df1bc7d10684d3d /recipes-bsp/imx-atf | |
parent | 622b43ee0545dcec7c5dbfc5ece6b96b44903890 (diff) |
imx-atf: provide proper BUILD_STRING value
ATF commit hash is calculated during build time invoking in Makefile
git describe, which doesn't work properly in OE sandbox env.
Provide explicitly the build info string as a build option for make.
Related-by: ELB-3188
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit a39fd312c9c688336c09fd84818a7f7fe131209a)
Diffstat (limited to 'recipes-bsp/imx-atf')
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf_%.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_%.bbappend b/recipes-bsp/imx-atf/imx-atf_%.bbappend index d9af1a5..85b5bf9 100644 --- a/recipes-bsp/imx-atf/imx-atf_%.bbappend +++ b/recipes-bsp/imx-atf/imx-atf_%.bbappend @@ -6,4 +6,5 @@ SRC_URI = "git://git.toradex.com/imx-atf.git;protocol=https;branch=${SRCBRANCH}" EXTRA_OEMAKE_append_verdin-imx8mm = " \ IMX_BOOT_UART_BASE=0x30860000 \ + BUILD_STRING="${SRCBRANCH}-g${@'${SRCPV}'.replace('AUTOINC+', '')}" \ " |