Patrick Williams | 2d10d8b | 2016-11-22 11:03:57 -0600 | [diff] [blame] | 1 | inherit obmc-phosphor-utils |
Matthew Barth | 04b910c | 2016-11-16 09:57:39 -0600 | [diff] [blame] | 2 | inherit pythonnative |
| 3 | |
| 4 | export BUILD_SYS |
| 5 | export HOST_SYS |
| 6 | export STAGING_INCDIR |
| 7 | export STAGING_LIBDIR |
| 8 | |
Patrick Williams | 2d10d8b | 2016-11-22 11:03:57 -0600 | [diff] [blame] | 9 | PYTHON_AUTOTOOLS_PACKAGE ?= "${PN}" |
| 10 | |
| 11 | python() { |
| 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 | } |