Advertisement
Guest User

Untitled

a guest
Nov 8th, 2022
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
  2. index f022aed732..5056cef897 100644
  3. --- a/meta/recipes-bsp/u-boot/u-boot.inc
  4. +++ b/meta/recipes-bsp/u-boot/u-boot.inc
  5. @@ -35,7 +35,7 @@ do_compile () {
  6. unset CFLAGS
  7. unset CPPFLAGS
  8.  
  9. - if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]
  10. + if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion -a -n "${UBOOT_LOCALVERSION}" ]
  11. then
  12. echo ${UBOOT_LOCALVERSION} > ${B}/.scmversion
  13. echo ${UBOOT_LOCALVERSION} > ${S}/.scmversion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement