| 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 |  | 
| Patrick Williams | 9d46bd5 | 2016-11-22 13:27:02 -0600 | [diff] [blame] | 4 | DEPENDS += "python" | 
|  | 5 |  | 
| Matthew Barth | 04b910c | 2016-11-16 09:57:39 -0600 | [diff] [blame] | 6 | export BUILD_SYS | 
|  | 7 | export HOST_SYS | 
|  | 8 | export STAGING_INCDIR | 
|  | 9 | export STAGING_LIBDIR | 
|  | 10 |  | 
| Patrick Williams | 2d10d8b | 2016-11-22 11:03:57 -0600 | [diff] [blame] | 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 | } |