diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-10-30 22:50:06 +0200 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-10-30 22:55:01 +0200 |
commit | a39fd312c9c688336c09fd84818a7f7fe131209a (patch) | |
tree | 146f03a93b1815bafb82cbe543e3e9c6ea00abfa /recipes-bsp | |
parent | dfc32e8e8c79a043a8c75629f146ff1a337c78fc (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>
Diffstat (limited to 'recipes-bsp')
-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+', '')}" \ " |