A Way to Print an Environment Variable from a Yocto Task

April 17, 2018


 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:


  • Yocto logo from link.

Please reload

Our Recent Posts

DOE PAMS Specialties

September 5, 2020

Good Link for HOWTO Bring an Off-Screen Window Back Onto Screen for Windows 10, 8, 7, and Vista

September 5, 2020

Connect to and Control a Synaccess NPC-22 netCommander from Ubuntu 16.04.3 Running in a VirtualBox VM via a Prolific Technology Inc. USB to Serial Port Converter to Turn a Target On and Off

September 4, 2020

Please reload


Please reload


©2020 by Zach Pfeffer