Patrick Williams | 451f49f | 2020-02-24 16:20:46 -0600 | [diff] [blame^] | 1 | inherit obmc-phosphor-utils |
2 | inherit python3native | ||||
3 | |||||
4 | DEPENDS += "python3" | ||||
5 | |||||
6 | export BUILD_SYS | ||||
7 | export HOST_SYS | ||||
8 | export STAGING_INCDIR | ||||
9 | export STAGING_LIBDIR | ||||
10 | |||||
11 | PYTHON_AUTOTOOLS_PACKAGE ?= "${PN}" | ||||
12 | |||||
13 | python() { | ||||
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 | } |