top of page

A Way to Print an Environment Variable from a Yocto Task

  • Writer: Zach Pfeffer
    Zach Pfeffer
  • Apr 16, 2018
  • 1 min read

This post shows _a_ way to print an environment variable from a Yocto task. I list it as _a_ way since I'm just learning Yocto and haven't come across a better way to do this.

Given this Yocto snippet in a recipe (a *.bb file):

You can use the following to see what DL_DIR, P and WORKDIR are:

References

  • Yocto logo from link.

© 2025 by Centennial Software Solutions LLC.

bottom of page