Skip to content

Instantly share code, notes, and snippets.

@woglinde
Created September 13, 2012 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woglinde/3713952 to your computer and use it in GitHub Desktop.
Save woglinde/3713952 to your computer and use it in GitHub Desktop.
Variable manipulation in openembedded
python () {
hpl = d.getVar('HPL', True)
hpl.replace(...)
d.setVar('HPL', hpl)
}
do_b () {
hpl="${HPL}"
echo "hpl: ${HPL}"
}
addtask b after do_install before do_package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment