blob: 5a8e1e2f322f8f7635b0408cef0ad4e79489e3ff [file] [log] [blame]
Patrick Williams2d10d8b2016-11-22 11:03:57 -06001inherit obmc-phosphor-utils
Matthew Barth04b910c2016-11-16 09:57:39 -06002inherit pythonnative
3
4export BUILD_SYS
5export HOST_SYS
6export STAGING_INCDIR
7export STAGING_LIBDIR
8
Patrick Williams2d10d8b2016-11-22 11:03:57 -06009PYTHON_AUTOTOOLS_PACKAGE ?= "${PN}"
10
11python() {
12 for pkg in listvar_to_list(d, 'PYTHON_AUTOTOOLS_PACKAGE'):
13 set_append(d, 'FILES_%s' % pkg,
14 d.getVar('PYTHON_SITEPACKAGES_DIR', True))
15}