blob: d76598a36cec45f78ad9f8d4da640ec5f9be3506 [file] [log] [blame]
Patrick Williams451f49f2020-02-24 16:20:46 -06001inherit obmc-phosphor-utils
2inherit python3native
3
4DEPENDS += "python3"
5
6export BUILD_SYS
7export HOST_SYS
8export STAGING_INCDIR
9export STAGING_LIBDIR
10
11PYTHON_AUTOTOOLS_PACKAGE ?= "${PN}"
12
13python() {
14 for pkg in listvar_to_list(d, 'PYTHON_AUTOTOOLS_PACKAGE'):
15 set_append(d, 'FILES_%s' % pkg,
16 d.getVar('PYTHON_SITEPACKAGES_DIR', True))
17}