Guest User

Untitled

a guest
Jun 8th, 2026
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. In a layer.conf (or some other configuration file) of one of your layers:
  2. -------------------------------------------------------------------------------------------
  3. # BB_GIT_DEFAULT_DESTSUFFIX is introduced in OE-Core Whinlatter.
  4. # Give it a suitable default value that works with Walnascar.
  5. BB_GIT_DEFAULT_DESTSUFFIX ??= "git"
  6.  
  7. # Define a variable to use as the top directory for S. In Walnascar it is
  8. # expected to be ${WORKDIR}, but in Whinlatter it is expected to be
  9. # ${UNPACKDIR}.
  10. S_TOPDIR ??= "${WORKDIR}"
  11.  
  12. # OE-Core Whinlatter moves the fetched Git repositories to "${UNPACKDIR}/${BP}".
  13. # It also produces errors for recipes that set S to the old "${WORKDIR}/git".
  14. # Use WORKDIR_GIT to be able to support both Walnascar and Whinlatter.
  15. WORKDIR_GIT = "${S_TOPDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
  16. -------------------------------------------------------------------------------------------
  17.  
  18. In some configuration file that is only included when building with Whinlatter or later:
  19. -------------------------------------------------------------------------------------------
  20. S_TOPDIR = "${UNPACKDIR}"
  21. -------------------------------------------------------------------------------------------
  22.  
Advertisement
Add Comment
Please, Sign In to add comment