Skip to content

Instantly share code, notes, and snippets.

@avoltz
avoltz / test_generateTargetsTree.py
Created May 18, 2017 14:36
This test script reproduces a NameError in bitbake generateTargetsTree command
#!/usr/bin/env python3
import sys
import os
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
from bb.tinfoil import Tinfoil